CVEscakephpCVE-2026-119418Published Oct 30, 11:30 · Updated Oct 30, 16:04 UTC
8.1
HighCVSS 3.1 · from VulnCheck
CVE-2026-119418

CakePHP through 5.4.3 SQL Injection via WindowExpression range() and frame()

cakephp · SQL injection · CWE-89
Affectedcakephp
FixA patch is linked in the references.
PublishedOct 30, 11:30 · VulnCheck
ScoredOct 30 · 8.1 · VulnCheck
Exploit code publicNone known · checked 00:19 UTC
ExploitedNone known · CISA KEV checked 01:03 UTC

What we know

No known exploitation. CISA KEV, checked 01:03 UTC.
No public exploit code known. Exploit-DB, Metasploit, Nuclei, checked 00:19 UTC.
An attacker only needs network access to the target. No login needed. CVSS: network, no privileges.
It only works under certain conditions, which makes it harder to pull off. CVSS: high attack complexity.
A successful attack can read and change data and take the service down. CVSS: high impact on confidentiality, integrity and availability.
A successful attack gives full control of the affected system. CISA: technical impact total.

Description

CakePHP through 5.4.3 contains an sql injection vulnerability that allows attackers to inject SQL by supplying unvalidated frame offsets and directions to WindowExpression::range() and frame(). Attackers can pass crafted values through applications forwarding user input into the OVER clause to execute SQL with the database connection's privileges.

From VulnCheck

Affected and fixed versions

ProductAffectedFixed incakephpup to 5.4.3–

Exploit code

Exploit-DBnone knownMetasploitnone knownNucleinone known

References

github.com/cakephp/cakephp/commit/18de3e4cdabba049269421bf43c2ccd1a7451565 · github.compatchgithub.com/cakephp/cakephp/commit/a5ca1748dcdb432631fc2760f898576043ce3df9 · github.compatchgithub.com/cakephp/cakephp/commit/3c1183fb62274c8a1c2780b2d3cc40f40cf31f1f · github.compatchgithub.com/cakephp/cakephp/pull/19735 · github.compatchissue trackinggithub.com/cakephp/cakephp/blob/6f3dd91371ac0698b64024ddb21d57def9fbba91/src/Database/Expression/WindowExpression.php#L152 · github.comtechnical descriptiongithub.com/cakephp/cakephp/blob/6f3dd91371ac0698b64024ddb21d57def9fbba91/src/Database/Expression/WindowExpression.php#L330 · github.comtechnical descriptionabraxaslabs.tech/research/cakephp-window-sqli · abraxaslabs.techthird party advisorygithub.com/cakephp/cakephp · github.comproductVulnCheck Advisory: CakePHP through 5.4.3 SQL Injection via WindowExpression range() and frame() · vulncheck.comthird party advisory

Other CVEs in cakephp

All 10 →
8.1CakePHP through 5.4.3 SQL Injection via StringExpression and IdentifierExpression Collation · CVE-2026-119419Oct 303.7CakePHP through 5.4.3 Email Header Injection via Bare CR/LF in SmtpTransport and MailTransport · CVE-2026-119417Oct 304.8CakePHP through 5.4.3 Cookie Leakage via HTTP Client CookieCollection Domain Matching · CVE-2026-119416Oct 30