PoC Monitor
← All CVEs
CVE-2026-77635published 24 Aug 2026 20:30 UTCData: JSON · API

CakePHP

CakePHP: FunctionsBuilder::jsonValue() vulerable to SQL injection with PostgresDriver

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.

First public PoC 26 daysafter publication · 19 Sep 2026
Public PoCs11 on GitHub
CVSS9.2critical · scored by CNA · CWE-89
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

cakephp cakephp
  • >= 5.1.0, < 5.1.10
  • >= 5.2.0, < 5.2.15
  • >= 5.3.0, < 5.3.7

Fixed in 5.1.10, 5.2.15, 5.3.7

cakephp cakephp/database
  • >= 5.1.0, < 5.1.10
  • >= 5.2.0, < 5.2.15
  • >= 5.3.0, < 5.3.7

Fixed in 5.1.10, 5.2.15, 5.3.7

Mitigation

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

4 more

Timeline

Days relative to CVE publication
t=0+7+14+21+28CVE published24 Aug 2026 · t = 0First public PoC19 Sep 2026 · t+26d

First public PoC 26 days after publication; not in CISA KEV. First PoC: abraxas/CVE-2026-77635 (created 19 Sep 2026, found by us: backfilled).

PoC repositories

Found on GitHub.

1 PoCs

PoCs 1
RepositoryCreatedStarsAssessment
abraxas/CVE-2026-77635 19 Sep 2026 +26 d 0 PoC

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

PoC characteristics

What to hunt for in your logs · from 1 PoC repo

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

GET /
(?i)^/\?(?:.*&)?path=\$\.x'\)\) FROM notes UNION SELECT to_jsonb\(secret\) FROM notes --

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /
alert http any any -> $HOME_NET [8088] (msg:"GG PoC-Monitor CVE-2026-77635 cakephp cakephp exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"path=$.x')) FROM notes UNION SELECT to_jsonb(secret) FROM notes --"; reference:url,poc.griffinguard.io/cve/CVE-2026-77635; classtype:web-application-attack; sid:9354072; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /
title: cakephp cakephp exploit attempt (CVE-2026-77635)
id: gg-pocmon-cve-2026-77635-9354072
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-77635. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-77635
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-query|contains|all:
      - 'path=$.x'')) FROM notes UNION SELECT to_jsonb(secret) FROM notes --'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.77635