Vulnerabilities / CVE-2026-79752

critical

CVE-2026-79752

CakePHP is a rapid development framework for PHP. Prior to 4.5.12, 4.6 ...

Published Modified CWE 89
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

GHSA9.2CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Trivy's own label is CRITICAL. Rated critical by GHSA.

Description

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.

Affected packages and fixed versions

SourcePackageFixed in
composer::GitHub Security Advisory Composercakephp/cakephp, cakephp/database4.5.12, 4.6.5, 5.1.9, 5.2.14, 5.3.7
debian 11cakephpno fix listed
Show all 3 entries from 2 sources
SourcePackageFixed in
composer::GitHub Security Advisory Composercakephp/cakephp4.5.12, 4.6.5, 5.1.9, 5.2.14, 5.3.7
composer::GitHub Security Advisory Composercakephp/database4.5.12, 4.6.5, 5.1.9, 5.2.14, 5.3.7
debian 11cakephpno fix listed

References

All 17 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.