Live Exposure Defense: From CVE to Confirmed Exposure in 12 Hours – See more

New CVE Detected

CVE-2026-77634 – Email Header (CRLF) Injection – CakePHP 4.5.x / 4.6.x / 5.0.x–5.3.x

Be the first to know when new zero-days emerge:

Summary

CVE-2026-77634 is a CRLF (carriage return / line feed) injection vulnerability in CakePHP’s mail handling. Custom mail headers added through Message::setHeaders() or Message::addHeaders() are not sanitized for CRLF byte sequences, allowing an attacker to inject arbitrary email headers when user-controlled data is passed into those methods. The issue carries a CVSS score of 8.2 (High) and is remotely exploitable over the network.

Technical details

  • Root cause: CakePHP’s Message class (used by SmtpTransport and other mail transports) does not strip or reject CRLF byte sequences when custom headers are set via setHeaders() or addHeaders().
  • Trigger condition: An application must pass user-controlled input directly into these header-setting methods without its own sanitization.
  • Attack vector: Network — no authentication or user interaction beyond application-level input is required to submit the malicious data (e.g., via a web form that populates email headers).
  • Impact: Header injection can be used to manipulate outgoing email headers (e.g., adding recipients, altering Subject/From, or injecting additional headers), affecting the integrity of generated messages.
  • Weakness classification: CWE-93 (Improper Neutralization of CRLF Sequences).

Affected software

  • CakePHP 4.5.0 through 4.5.11
  • CakePHP 4.6.0 through 4.6.4
  • CakePHP 5.0.0 through 5.1.8
  • CakePHP 5.2.0 through 5.2.13
  • CakePHP 5.3.0 through 5.3.6

Severity

  • CVSS Score: 8.2 (High)
  • Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N (published as CVSS v4.0; no CVSS v3.1 vector has been published for this CVE)

Mitigation and recommended actions

  • Immediate: Upgrade to the patched CakePHP release for your branch:
    • 4.5.x → 4.5.12
    • 4.6.x → 4.6.5
    • 5.1.x → 5.1.9
    • 5.2.x → 5.2.14
    • 5.3.x → 5.3.7
  • If patching is not immediately possible: Strip CRLF byte sequences from any header values before passing them to Message::setHeaders() or addHeaders(), and avoid passing raw user-controlled input into mail header–setting methods.

References

Are you exposed?

Get a free report of your organization’s exposure to this CVE and threat

How IONIX’s External Exposure Management Platform Detects and Validates
Zero-Days to Shrink MTTR

1

Map your entire attack surface (continously)

IONIX uses multi-factor discovery methods, including DNS analysis, certificate mapping, metadata inspection, and more, to automatically map every internet-facing asset across your environment. This includes cloud instances, third-party platforms, shadow IT, and even forgotten infrastructure that traditional tools miss.

2

Monitor for new CVEs

Dozens of threat intel feeds using agentic technology are continuously analyzed to detect the appearance of proof-of-concept code, exploit kits, and indicators of active targeting. IONIX goes further by applying AI to proactively evaluate whether emerging vulnerabilities are likely to be exploited, even before PoCs go public.

3

Identify Potential External Exposures

Not all CVEs matter. IONIX filters vulnerabilities by asking attacker-centric questions: Can it be reached from the internet? Does it require authentication? Is it being exploited in the wild? This dramatically reduces noise and focuses teams on threats that can actually be weaponized.

4

Create Safe, Scalable Exploit Validations

IONIX transforms real-world PoCs into safe, non-intrusive test payloads that can be run in production environments without disruption. These simulations are precisely targeted to the systems that are vulnerable, ensuring rapid validation without unnecessary load.

5

Execute Exploit Validations

By combining context about software stack, versioning, exposure status, and reachability, IONIX ensures that only the right payloads are executed against the right assets, maximizing efficiency and minimizing risk.

6

Drive Fast and Actionable Remediation

Results are routed through integrations with ticketing, SOAR, and SIEM tools. Issues are written in plain language, bundled into remediation clusters, and prioritized based on asset criticality, exploitability, and blast radius. This shortens mean time to remediation (MTTR) and empowers teams to act with confidence.

Are you exposed?

Get a free report of your organization’s exposure to this CVE and threat

Subscribe to Threat Center RSS

Copy/paste the link below into your preferred RSS reader or follow these instructions to subscribe to Slack alerts.

Get Real-Time CVE Alerts to Your Email

Be the first to know when new zero-days emerge