PoC Monitor
← All CVEs
CVE-2026-79752published 17 Sep 2026 14:49 UTCData: JSON · API

CakePHP

CakePHP: Multiple methods in FunctionsBuilder vulnerable to SQL injection

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.

First public PoC 2.2 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
  • < 4.5.12
  • >= 4.6.0, < 4.6.5
  • >= 5.0.0, < 5.1.9
  • >= 5.2.0, < 5.2.14
  • >= 5.3.0, < 5.3.7

Fixed in 4.5.12, 4.6.5, 5.1.9, 5.2.14, 5.3.7

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published17 Sep 2026 · t = 0First public PoC19 Sep 2026 · t+2.2d

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

PoC repositories

Found on GitHub.

1 PoCs

PoCs 1
RepositoryCreatedStarsAssessment
abraxas/CVE-2026-79752 19 Sep 2026 +2.2 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)^/\?(?:.*&)?type=INTEGER\)\) FROM notes UNION SELECT body 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-79752 cakephp cakephp exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"type=INTEGER)) FROM notes UNION SELECT body FROM notes --"; reference:url,poc.griffinguard.io/cve/CVE-2026-79752; classtype:web-application-attack; sid:9082938; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

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