PatchSiren cyber security CVE debrief
CVE-2026-77634 cakephp CVE debrief
A vulnerability in CakePHP, a rapid development framework for PHP, allows for header injection when user-controlled data is used in message headers. This issue is due to custom mail headers added with Message::setHeaders() or Message::addHeaders() not having CRLF bytes removed. The vulnerability is fixed in versions 4.5.12, 4.6.5, 5.1.8, 5.2.14, and 5.3.7.
- Vendor
- cakephp
- Product
- Unknown
- CVSS
- HIGH 8.2
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-08-24
- Original CVE updated
- 2026-09-09
- Advisory published
- 2026-08-24
- Advisory updated
- 2026-09-09
Who should care
Defenders responsible for maintaining and securing PHP applications using CakePHP should assess exposure and prioritize upgrading to the fixed versions. This includes operators, platform administrators, vulnerability management teams, and security teams who need to review and update code to ensure proper handling of user-controlled data in message headers. They should also monitor for potential header injection attacks and review compensating controls for
Why it matters
Defenders should prioritize upgrading to the fixed versions of CakePHP to prevent potential header injection attacks. This vulnerability allows for header injection when user-controlled data is used in message headers, and the fixed versions ensure proper handling of such data.
- Potential for header injection attacks
- Need to upgrade to fixed versions to prevent vulnerability exploitation
- Importance of proper handling of user-controlled data in message headers
Technical summary
The vulnerability in CakePHP allows for header injection when user-controlled data is used in message headers. This is due to custom mail headers added with Message::setHeaders() or Message::addHeaders() not having CRLF bytes removed. The fixed versions ensure proper handling of such data, preventing potential header injection attacks. Affected product context indicates CakePHP versions prior to 4.5.12, 4.6.5, 5.1.8, 5.2.14, and 5.3.7 are vulnerable. Defenders should prioritize upgrading to the fixed versions to prevent potential header injection attacks.
Defensive priority
Defenders should prioritize upgrading to the fixed versions of CakePHP to prevent potential header injection attacks.
Recommended defensive actions
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up.
- Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance.
- Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed.
- Review compensating controls for exposed systems while remediation is scheduled and verified.
- Check relevant monitoring, detection, and logs for exposed assets that need extra review.
- Track exceptions, retest remediated assets, and close the item only after evidence is documented.
- Upgrade to CakePHP version 4.5.12, 4.6.5, 5.1.8, 5.2.14, or 5.3.7
Evidence notes
The CVE record and NVD vulnerability detail page provide information on the vulnerability, its impact, and the fixed versions. Defenders should verify the affected scope, severity, and vendor guidance. The vulnerability allows for header injection when user-controlled data is used in message headers, and the fixed versions ensure proper handling of such data. Evidence limits and source grounding indicate potential exposure in managed environments.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-77634 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-77634
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-77634 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-77634
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://github.com/cakephp/cakephp/commit/08188962bcd99a95da1e49f62e786f2d688f1e41
-
Source reference
Unverified legacy reference
URL: https://github.com/cakephp/cakephp/commit/2afe42b02d8ddc5d442bca5e8bb61910a727646e
-
Source reference
Unverified legacy reference
URL: https://github.com/cakephp/cakephp/commit/3e09dae6cbdc983754fa3a8e6aae74da102a3ea1
-
Source reference
Unverified legacy reference
URL: https://github.com/cakephp/cakephp/commit/b67b622457362b075bb37e625a82af73a0b3c9c3
-
Source reference
Unverified legacy reference
URL: https://github.com/cakephp/cakephp/security/advisories/GHSA-2qh5-382h-3jpc
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.