{
  "id": "CVE-2026-77635",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-77635",
  "published_at": "2026-08-24T20:30:34.492Z",
  "title": "CakePHP: FunctionsBuilder::jsonValue() vulerable to SQL injection with PostgresDriver",
  "vendor": "cakephp",
  "product": "cakephp",
  "cvss": {
    "score": 9.2,
    "source": "cna",
    "vector": "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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-09-19T20:48:37Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 26,
    "repo": "abraxas/CVE-2026-77635",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.",
  "cwe": "CWE-89",
  "cvss_by_source": {
    "cna": 9.2
  },
  "repos": [
    {
      "repo": "abraxas/CVE-2026-77635",
      "url": "https://github.com/abraxas/CVE-2026-77635",
      "created_at": "2026-09-19T20:48:37Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2026-07-04T21:33:07Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "cakephp",
        "product": "cakephp",
        "ranges": [
          "\u003e= 5.1.0, \u003c 5.1.10",
          "\u003e= 5.2.0, \u003c 5.2.15",
          "\u003e= 5.3.0, \u003c 5.3.7"
        ],
        "fixed_in": [
          "5.1.10",
          "5.2.15",
          "5.3.7"
        ]
      },
      {
        "vendor": "cakephp",
        "product": "cakephp/database",
        "ranges": [
          "\u003e= 5.1.0, \u003c 5.1.10",
          "\u003e= 5.2.0, \u003c 5.2.15",
          "\u003e= 5.3.0, \u003c 5.3.7"
        ],
        "fixed_in": [
          "5.1.10",
          "5.2.15",
          "5.3.7"
        ]
      }
    ],
    "upgrade": [
      "Upgrade cakephp to 5.1.10 or 5.2.15 or 5.3.7 or later.",
      "Upgrade cakephp/database to 5.1.10 or 5.2.15 or 5.3.7 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/cakephp/cakephp/security/advisories/GHSA-fxf7-vhh8-7vpq"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/cakephp/cakephp/commit/138f2f61486532c29ee4d106da2a9848c1ff1ab3"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/cakephp/cakephp/commit/489a40fb7c6e597af33fe0f7264047afccb90d55"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/cakephp/cakephp/commit/9f1ad970a3b72293d4a37e694276645f804e819f"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/cakephp/cakephp/releases/tag/5.1.10"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/cakephp/cakephp/releases/tag/5.2.15"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/cakephp/cakephp/releases/tag/5.3.7"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [
    {
      "method": "GET",
      "path_template": "/",
      "query_markers": [
        "path=$.x')) FROM notes UNION SELECT to_jsonb(secret) FROM notes --"
      ],
      "ports": [
        8088
      ],
      "protocol": "http",
      "repos": [
        "abraxas/CVE-2026-77635"
      ],
      "repo_count": 1,
      "confidence": 0.6,
      "evidence": [
        "abraxas/CVE-2026-77635/CVE-2026-77635-Abraxas-Labs.py:269",
        "abraxas/CVE-2026-77635/CVE-2026-77635-Abraxas-Labs.py:274-275",
        "abraxas/CVE-2026-77635/CVE-2026-77635-Abraxas-Labs.py:233"
      ]
    }
  ],
  "rules": []
}
