{"answers":{"affected":"16 open source packages ship an affected version, including symfony/mime and symfony/symfony.","exploited":"There is no known exploitation of CVE-2026-45067 in the wild and no public exploit code.","fix":"Upgrade symfony/mime to a fixed version for your release line: 5.4.52, 6.4.40, 7.4.12 or 8.0.12.","what":"CVE-2026-45067 is a medium-severity command injection vulnerability in symfony, published on 14 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-45067 and fix it if it is affected.\n\nWhat it is: CVE-2026-45067 is a medium-severity command injection vulnerability in symfony, published on 14 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-45067 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- symfony/mime (Packagist): affected all versions; fixed in 5.4.52\n- symfony/mime (Packagist): affected all versions; fixed in 5.4.52\n- symfony/mime (Packagist): affected from 6.0.0; fixed in 6.4.40\n- symfony/mime (Packagist): affected from 6.0.0; fixed in 6.4.40\n- symfony/mime (Packagist): affected from 7.0.0; fixed in 7.4.12\n- symfony/mime (Packagist): affected from 7.0.0; fixed in 7.4.12\n- symfony/mime (Packagist): affected from 8.0.0; fixed in 8.0.12\n- symfony/mime (Packagist): affected from 8.0.0; fixed in 8.0.12\n- symfony/symfony (Packagist): affected all versions; fixed in 5.4.52\n- symfony/symfony (Packagist): affected all versions; fixed in 5.4.52\n- symfony/symfony (Packagist): affected from 6.0.0; fixed in 6.4.40\n- symfony/symfony (Packagist): affected from 6.0.0; fixed in 6.4.40\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-45067/ (Markdown: https://insights.sbomify.com/CVE-2026-45067/index.md)","id":"CVE-2026-45067","markdown":"https://insights.sbomify.com/CVE-2026-45067/index.md","name":"CVE-2026-45067","record":{"aliases":["CLSA-2026-1782781183","DEBIAN-CVE-2026-45067","GHSA-qpmx-3rfj-7rhv","UBUNTU-CVE-2026-45067"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["code_execution","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Symfony Mailer library","requires_auth":"none","summary":"Attackers can inject SMTP commands or email headers via CRLF in Symfony Mailer addresses, potentially executing code or modifying messages.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":6.3,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-93","name":"Improper Neutralization of CRLF Sequences"}],"description":"### Description\n\n`Symfony\\Component\\Mime\\Address` is the value-object every Symfony Mailer address (to/cc/bcc/from/reply-to) flows through; its constructor is documented as validating the address and throwing on invalid input, so developers treat it as a security boundary.\n\nThe constructor accepts email addresses whose local-part (the part before `@`) is an RFC-5322 *quoted string* containing raw `\\r\\n` bytes — e.g. `\"x\\r\\nBcc: attacker@evil\"@example.com`. The stored address is later emitted verbatim into (1) the rendered message headers and (2) `SmtpTransport`'s `MAIL FROM:\u003c...\u003e` / `RCPT TO:\u003c...\u003e` protocol lines, turning the embedded CRLF into a new mail header and/or a new SMTP command.\n\n### Resolution\n\nThe `Address` constructor now rejects addresses containing line breaks.\n\nThe patch for this issue is available [here](https://github.com/symfony/symfony/commit/dc2dbd29211eb4ddc451373fa1374fb926e94604) for branch 5.4.\n\n### Credits\n\nWe would like to thank Claude Mythos Preview (via Project Glasswing) for reporting the issue and providing the fix.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":"2026-06-09","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-06-09T03:35:26Z","kind":"github_poc","ref":"https://github.com/HORKimhab/CVE-2026-45067","stars":0,"title":"CVE-2026-45067 - Draft"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Symfony: Email Header / SMTP Command Injection via CRLF in Symfony\\Component\\Mime\\Address","id":"CVE-2026-45067","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"command_injection","year":"2026"},"n_packages":16,"n_references":6,"next":{"headline":"Symfony: Argument Injection in SendmailTransport via Dash-Prefixed Recipient Address","id":"CVE-2026-45068"},"packages":[{"ecosystem":"Packagist","fixed":["5.4.52"],"introduced":["0"],"last_affected":[],"package":"symfony/mime","purl":null,"source":"GHSA-qpmx-3rfj-7rhv"},{"ecosystem":"Packagist","fixed":["5.4.52"],"introduced":["0"],"last_affected":[],"package":"symfony/mime","purl":"pkg:composer/symfony/mime","source":"GHSA-qpmx-3rfj-7rhv"},{"ecosystem":"Packagist","fixed":["6.4.40"],"introduced":["6.0.0"],"last_affected":[],"package":"symfony/mime","purl":null,"source":"GHSA-qpmx-3rfj-7rhv"},{"ecosystem":"Packagist","fixed":["6.4.40"],"introduced":["6.0.0"],"last_affected":[],"package":"symfony/mime","purl":"pkg:composer/symfony/mime","source":"GHSA-qpmx-3rfj-7rhv"},{"ecosystem":"Packagist","fixed":["7.4.12"],"introduced":["7.0.0"],"last_affected":[],"package":"symfony/mime","purl":null,"source":"GHSA-qpmx-3rfj-7rhv"},{"ecosystem":"Packagist","fixed":["7.4.12"],"introduced":["7.0.0"],"last_affected":[],"package":"symfony/mime","purl":"pkg:composer/symfony/mime","source":"GHSA-qpmx-3rfj-7rhv"},{"ecosystem":"Packagist","fixed":["8.0.12"],"introduced":["8.0.0"],"last_affected":[],"package":"symfony/mime","purl":null,"source":"GHSA-qpmx-3rfj-7rhv"},{"ecosystem":"Packagist","fixed":["8.0.12"],"introduced":["8.0.0"],"last_affected":[],"package":"symfony/mime","purl":"pkg:composer/symfony/mime","source":"GHSA-qpmx-3rfj-7rhv"},{"ecosystem":"Packagist","fixed":["5.4.52"],"introduced":["0"],"last_affected":[],"package":"symfony/symfony","purl":null,"source":"GHSA-qpmx-3rfj-7rhv"},{"ecosystem":"Packagist","fixed":["5.4.52"],"introduced":["0"],"last_affected":[],"package":"symfony/symfony","purl":"pkg:composer/symfony/symfony","source":"GHSA-qpmx-3rfj-7rhv"},{"ecosystem":"Packagist","fixed":["6.4.40"],"introduced":["6.0.0"],"last_affected":[],"package":"symfony/symfony","purl":null,"source":"GHSA-qpmx-3rfj-7rhv"},{"ecosystem":"Packagist","fixed":["6.4.40"],"introduced":["6.0.0"],"last_affected":[],"package":"symfony/symfony","purl":"pkg:composer/symfony/symfony","source":"GHSA-qpmx-3rfj-7rhv"},{"ecosystem":"Packagist","fixed":["7.4.12"],"introduced":["7.0.0"],"last_affected":[],"package":"symfony/symfony","purl":null,"source":"GHSA-qpmx-3rfj-7rhv"},{"ecosystem":"Packagist","fixed":["7.4.12"],"introduced":["7.0.0"],"last_affected":[],"package":"symfony/symfony","purl":"pkg:composer/symfony/symfony","source":"GHSA-qpmx-3rfj-7rhv"},{"ecosystem":"Packagist","fixed":["8.0.12"],"introduced":["8.0.0"],"last_affected":[],"package":"symfony/symfony","purl":null,"source":"GHSA-qpmx-3rfj-7rhv"},{"ecosystem":"Packagist","fixed":["8.0.12"],"introduced":["8.0.0"],"last_affected":[],"package":"symfony/symfony","purl":"pkg:composer/symfony/symfony","source":"GHSA-qpmx-3rfj-7rhv"}],"prev":{"headline":"Symfony has an HtmlSanitizer allowLinkHosts() / allowMediaHosts() Bypass via URL-Parser Differentials and \u003carea\u003e Misclassification","id":"CVE-2026-45066"},"products":["symfony"],"published":"2026-07-14","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-14","vendors":["symfony"]},"summary":"Attackers can inject SMTP commands or email headers via CRLF in Symfony Mailer addresses, potentially executing code or modifying messages.","url":"https://insights.sbomify.com/CVE-2026-45067/"}