{"id":"CVE-2026-119415","kind":"vulnerability","aliases":["CVE-2026-119415"],"related":[],"title":"CakePHP: unsanitized MIME headers let attackers inject extra multipart content","description":"CakePHP through 5.4.3 contains a header injection vulnerability in FormDataPart that allows attackers to inject MIME part headers via unsanitized Content-Type and Content-ID values. Attackers can supply CR/LF sequences in attachment MIME types or Content-IDs passed to Message::setAttachments() or HTTP client multipart data to add arbitrary headers or content.","summary":"CakePHP through 5.4.3 does not strip CR/LF characters from attachment Content-Type and Content-ID values in FormDataPart. An attacker who controls those values can add arbitrary MIME part headers or content to outgoing email or HTTP multipart requests.","severity":"medium","cvss":6.3,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["cakephp","email","http-client","package","php"],"not_affected_if":["fixed-attachment-types","no-user-input-in-attachments"],"how_to_check":"- Find the CakePHP version with `vendor/bin/cake --version` or check `cakephp/cakephp` in `composer.lock`.\n- Look for calls to `Message::setAttachments()` or multipart HTTP client data that take user-supplied MIME types or Content-IDs.","fix":null,"status":"open","published_at":"2026-10-30T12:16:37+00:00","first_seen_at":"2026-10-30T12:30:23+00:00","triaged_at":"2026-10-30T12:32:46+00:00","updated_at":"2026-10-30T12:32:46+00:00","category":"package","confidence":0.6,"triage":{"at":"2026-10-30T12:32:46Z","model":"claude-haiku-5-5","output":{"fix":"unknown","reach":"network","title":"CakePHP: unsanitized MIME headers let attackers inject extra multipart content","impact":"medium","summary":"CakePHP through 5.4.3 does not strip CR/LF characters from attachment Content-Type and Content-ID values in FormDataPart. An attacker who controls those values can add arbitrary MIME part headers or content to outgoing email or HTTP multipart requests.","audience":"developers","category":"package","nicknames":[],"who_cares":["cakephp","php","email","http-client"],"confidence":0.6,"fix_status":"unknown","needs_auth":"unknown","worst_case":"Attacker adds arbitrary headers or content to outgoing messages","analyst_note":"Check the CakePHP advisory and changelog for a fixed version; the NVD entry alone does not state one.","how_to_check":"- Find the CakePHP version with `vendor/bin/cake --version` or check `cakephp/cakephp` in `composer.lock`.\n- Look for calls to `Message::setAttachments()` or multipart HTTP client data that take user-supplied MIME types or Content-IDs.","plain_action":"","needs_analyst":true,"not_affected_if":["fixed-attachment-types","no-user-input-in-attachments"],"who_is_affected":"Applications built on CakePHP 5.4.3 or earlier that pass user-controlled attachment MIME types or Content-IDs into Message::setAttachments() or HTTP client multipart data. Applications that only use fixed attachment types, or that never accept such input from users, are unlikely to be exposed. The sources do not name a fixed version.","user_interaction":"no","needs_special_setup":"unknown","severity_if_unknown":"unknown"},"cost_usd":0.000717,"input_tokens":4161,"output_tokens":602,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-119415':13A,16A '-2026':12A,15A '5.4.3':26B,67C 'add':51B,116C 'allow':76C 'arbitrari':52B,117C 'attach':33B,99C 'attack':6A,45B,77C,93C 'cakephp':1A,17B,24B,65C 'charact':31B 'client':21B,112C 'contain':68C 'content':10A,35B,39B,57B,86C,90C,104C,120C 'content-id':38B,89C,103C 'content-typ':34B,85C 'control':47B 'cr/lf':30B,96C 'cve':11A,14A 'data':114C 'email':18B,60B 'extra':8A 'formdatapart':43B,74C 'header':4A,55B,70C,82C,118C 'http':20B,62B,111C 'http-client':19B 'id':40B,91C,105C 'inject':7A,71C,79C 'let':5A 'messag':108C 'mime':3A,53B,80C,100C 'multipart':9A,63B,113C 'outgo':59B 'packag':22B 'part':54B,81C 'pass':106C 'php':23B 'request':64B 'sequenc':97C 'setattach':109C 'strip':29B 'suppli':95C 'type':36B,87C,101C 'unsanit':2A,84C 'valu':41B,49B,92C 'via':83C 'vulner':72C","nicknames":[],"mitigations":[],"who_affected":"Applications built on CakePHP 5.4.3 or earlier that pass user-controlled attachment MIME types or Content-IDs into Message::setAttachments() or HTTP client multipart data. Applications that only use fixed attachment types, or that never accept such input from users, are unlikely to be exposed. The sources do not name a fixed version.","tier":"C","verified":{},"analyst_revisit_at":null,"fix_status":"none","audience":"developers","plain_action":null,"first_public_at":"2026-10-30T12:16:37+00:00","kev":null,"cvss_vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"disclosure@vulncheck.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-119415","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-119415","severity":null,"published_at":"2026-10-30T12:16:37+00:00","modified_at":"2026-10-30T12:16:37+00:00","first_seen_at":"2026-10-30T12:30:23+00:00","fetched_at":"2026-10-30T12:30:23+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}