{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "5.1.0"
              },
              {
                "fixed": "5.1.10"
              },
              {
                "introduced": "5.2.0"
              },
              {
                "fixed": "5.2.15"
              },
              {
                "introduced": "5.3.0"
              },
              {
                "fixed": "5.3.7"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "eb61f6b7b7e9c39f91ccd5c48c82336128217e73"
            },
            {
              "introduced": "8eb600bb67a545e2d108f9ae64146f094a39bb55"
            },
            {
              "introduced": "c0175d821a5e42b934ad2a11927c5c5d0e659a0d"
            },
            {
              "fixed": "1b06accdee89c0993a8cbccc865bc43f079ed3c9"
            },
            {
              "fixed": "d1e4a9327c6c0f389ac27ac1c4fb79a9446bdf41"
            },
            {
              "fixed": "c0d21e0da4216d51268691af3ad803f0eecb3a11"
            },
            {
              "fixed": "138f2f61486532c29ee4d106da2a9848c1ff1ab3"
            },
            {
              "fixed": "489a40fb7c6e597af33fe0f7264047afccb90d55"
            },
            {
              "fixed": "9f1ad970a3b72293d4a37e694276645f804e819f"
            }
          ],
          "repo": "https://github.com/cakephp/cakephp",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-fxf7-vhh8-7vpq"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-89"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77635.json"
  },
  "details": "CakePHP is a rapid development framework for PHP. Prior to versions 5.1.10, 5.2.15, and 5.3.7 on their respective release lines, FunctionsBuilder::jsonValue() with PostgresDriver is vulnerable to SQL injection when user-controlled data is supplied to the jsonPath parameter. This issue is fixed in versions 5.1.10, 5.2.15, and 5.3.7.",
  "id": "CVE-2026-77635",
  "modified": "2026-09-11T03:31:03.287449934Z",
  "published": "2026-08-24T20:30:34.492Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/cakephp/cakephp/releases/tag/5.1.10"
    },
    {
      "type": "WEB",
      "url": "https://github.com/cakephp/cakephp/releases/tag/5.2.15"
    },
    {
      "type": "WEB",
      "url": "https://github.com/cakephp/cakephp/releases/tag/5.3.7"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77635.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/cakephp/cakephp/security/advisories/GHSA-fxf7-vhh8-7vpq"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-77635"
    },
    {
      "type": "FIX",
      "url": "https://github.com/cakephp/cakephp/commit/138f2f61486532c29ee4d106da2a9848c1ff1ab3"
    },
    {
      "type": "FIX",
      "url": "https://github.com/cakephp/cakephp/commit/489a40fb7c6e597af33fe0f7264047afccb90d55"
    },
    {
      "type": "FIX",
      "url": "https://github.com/cakephp/cakephp/commit/9f1ad970a3b72293d4a37e694276645f804e819f"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "CakePHP: FunctionsBuilder::jsonValue() vulerable to SQL injection with PostgresDriver"
}