CVE-2026-106512
Last modified
CVE-2026-106512 is a high-severity vulnerability rated 8.4/10 on the CVSS scale. The CakeResponse::download() method in lib/Cake/Network/CakeResponse.php constructs a Content-Disposition header by directly interpolating a caller-supplied filename into a quoted-string value without sanitization. Two distinct injection vectors exist in the unpatched code. EPSS estimates a 0.33% chance of exploitation in the next 30 days.
Description
The CakeResponse::download() method in lib/Cake/Network/CakeResponse.php constructs a Content-Disposition header by directly interpolating a caller-supplied filename into a quoted-string value without sanitization. Two distinct injection vectors exist in the unpatched code. First, if the filename contains C0 control characters (CR or LF), PHP refuses to emit the entire Content-Disposition header, silently dropping the attachment disposition. The response body is then served with its own Content-Type (for example text/html for an .html attachment) and renders inline in the browser on the application origin, creating a stored cross-site scripting condition. The commit message notes this is reachable even when the download_attachments_on_load setting is enabled, meaning a victim merely needs to view a page that triggers the download. Second, a double-quote character in the filename terminates the quoted-string value early, permitting injection of additional Content-Disposition parameters. The affected code path covers all callers of CakeResponse::download(), including attribute downloads, proposal downloads, and restSearch exports. An authenticated user who can create or upload an attachment with a crafted filename (for example through MISP attribute naming or proposal attachment naming) can store the malicious filename. When any other authenticated user views the affected page, the unsanitized filename is reflected into the HTTP response header, resulting in header manipulation and potential execution of arbitrary HTML or JavaScript in the context of the application origin. The security impact is equivalent to a stored cross-site scripting vulnerability, allowing session hijacking, data exfiltration, and unauthorized actions on behalf of the victim.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| MISP | sachertortephp | <= 1c2da20cbe3f1e2a91458fe9a017823b7273fdac |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-106512?
How severe is CVE-2026-106512?
How do I fix CVE-2026-106512?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-106507Backstage is an open framework for building developer portal…5.3
- CVE-2026-106508Backstage is an open framework for building developer portal…5.3
- CVE-2026-106509Backstage is an open framework for building developer portal…7.7
- CVE-2026-10651bt_sdp_parse_attribute() in subsys/bluetooth/host/classic/sd…6.5
- CVE-2026-106510Backstage is an open framework for building developer portal…7.7
- CVE-2026-106511MultiversX's multisig-improved (repository: mx-multisig-and-…9.8
- CVE-2026-106513MISP exposes critical infrastructure settings—specifically t…6.9
- CVE-2026-10652Zephyr's DNS resolver (subsys/net/lib/dns) parses resource r…7.4
- CVE-2026-10653The Zephyr net_buf library (lib/net_buf/buf.c) manipulated b…8.1
- CVE-2026-10654A race condition in the Zephyr Bluetooth Classic RFCOMM host…3.1
- CVE-2026-106547A heap-based buffer overflow in H5VM_array_fill() in src/H5V…8.5
- CVE-2026-10655The asynchronous SNTP client in Zephyr (subsys/net/lib/sntp/…5.9
Are you affected by CVE-2026-106512?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
