{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-79752",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2026-08-25T14:08:18.109Z",
        "datePublished": "2026-09-17T14:49:56.936Z",
        "dateUpdated": "2026-09-17T15:20:00.313Z"
    },
    "containers": {
        "cna": {
            "title": "CakePHP: Multiple methods in FunctionsBuilder vulnerable to SQL injection",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-89",
                            "lang": "en",
                            "description": "CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV4_0": {
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "attackRequirements": "PRESENT",
                        "privilegesRequired": "NONE",
                        "userInteraction": "NONE",
                        "vulnConfidentialityImpact": "HIGH",
                        "vulnIntegrityImpact": "HIGH",
                        "vulnAvailabilityImpact": "HIGH",
                        "subConfidentialityImpact": "NONE",
                        "subIntegrityImpact": "NONE",
                        "subAvailabilityImpact": "NONE",
                        "baseScore": 9.2,
                        "baseSeverity": "CRITICAL",
                        "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
                        "version": "4.0"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/cakephp/cakephp/security/advisories/GHSA-vjqc-q4mp-2rvf",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/cakephp/cakephp/security/advisories/GHSA-vjqc-q4mp-2rvf"
                },
                {
                    "name": "https://github.com/cakephp/cakephp/pull/19520",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/cakephp/cakephp/pull/19520"
                },
                {
                    "name": "https://github.com/cakephp/cakephp/pull/19528",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/cakephp/cakephp/pull/19528"
                },
                {
                    "name": "https://github.com/cakephp/cakephp/commit/3349584ca3a891afaff2dbc324d6b1c09fb880f0",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/cakephp/cakephp/commit/3349584ca3a891afaff2dbc324d6b1c09fb880f0"
                },
                {
                    "name": "https://github.com/cakephp/cakephp/commit/3f4d13ea4280067f3381ecf935a8bef5b7cdcc2e",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/cakephp/cakephp/commit/3f4d13ea4280067f3381ecf935a8bef5b7cdcc2e"
                },
                {
                    "name": "https://github.com/cakephp/cakephp/commit/79e1d6bc6f3a50fa01805579076a02c77370c676",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/cakephp/cakephp/commit/79e1d6bc6f3a50fa01805579076a02c77370c676"
                },
                {
                    "name": "https://github.com/cakephp/cakephp/commit/8699d6f38e25fe46fcc24f2b698809948e71ad7d",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/cakephp/cakephp/commit/8699d6f38e25fe46fcc24f2b698809948e71ad7d"
                },
                {
                    "name": "https://github.com/cakephp/cakephp/commit/ab608711674ac662af7315c5cdf1e0fbe2000e45",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/cakephp/cakephp/commit/ab608711674ac662af7315c5cdf1e0fbe2000e45"
                },
                {
                    "name": "https://github.com/cakephp/cakephp/releases/tag/4.5.12",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/cakephp/cakephp/releases/tag/4.5.12"
                },
                {
                    "name": "https://github.com/cakephp/cakephp/releases/tag/4.6.5",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/cakephp/cakephp/releases/tag/4.6.5"
                },
                {
                    "name": "https://github.com/cakephp/cakephp/releases/tag/5.1.9",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/cakephp/cakephp/releases/tag/5.1.9"
                },
                {
                    "name": "https://github.com/cakephp/cakephp/releases/tag/5.2.14",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/cakephp/cakephp/releases/tag/5.2.14"
                },
                {
                    "name": "https://github.com/cakephp/cakephp/releases/tag/5.3.7",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/cakephp/cakephp/releases/tag/5.3.7"
                }
            ],
            "affected": [
                {
                    "vendor": "cakephp",
                    "product": "cakephp",
                    "versions": [
                        {
                            "version": "< 4.5.12",
                            "status": "affected"
                        },
                        {
                            "version": ">= 4.6.0, < 4.6.5",
                            "status": "affected"
                        },
                        {
                            "version": ">= 5.0.0, < 5.1.9",
                            "status": "affected"
                        },
                        {
                            "version": ">= 5.2.0, < 5.2.14",
                            "status": "affected"
                        },
                        {
                            "version": ">= 5.3.0, < 5.3.7",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2026-09-17T14:49:56.936Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "CakePHP is a rapid development framework for PHP. Prior to 4.5.12, 4.6.5, 5.1.9, 5.2.14, and 5.3.7, FunctionsBuilder::cast, FunctionsBuilder::extract, FunctionsBuilder::datePart, and FunctionsBuilder::dateAdd in src/Database/FunctionsBuilder.php accept user-controlled dataType, part, or unit values and incorporate them into generated SQL as unescaped structural fragments. An application that passes untrusted input to these parameters can permit SQL injection with confidentiality, integrity, and availability impact according to the database connection's privileges. This issue is fixed in versions 4.5.12, 4.6.5, 5.1.9, 5.2.14, and 5.3.7."
                }
            ],
            "source": {
                "advisory": "GHSA-vjqc-q4mp-2rvf",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-09-17T15:19:49.116379Z",
                                "id": "CVE-2026-79752",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "total"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-09-17T15:20:00.313Z"
                }
            }
        ]
    }
}