{"answers":{"affected":"8 open source packages ship an affected version, including mautic/core.","exploited":"There is no known exploitation of CVE-2026-9558 in the wild and no public exploit code.","fix":"Upgrade mautic/core to a fixed version for your release line: 5.2.11, 6.0.9 or 7.1.2.","what":"CVE-2026-9558 is a critical code injection vulnerability in mautic/core, published on 29 May 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-9558 and fix it if it is affected.\n\nWhat it is: CVE-2026-9558 is a critical code injection vulnerability in mautic/core, published on 29 May 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-9558 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- mautic/core (Packagist): affected from 1.3.0; no fix listed\n- mautic/core (Packagist): affected from 1.3.0; no fix listed\n- mautic/core (Packagist): affected from 5.0.0; fixed in 5.2.11\n- mautic/core (Packagist): affected from 5.0.0; fixed in 5.2.11\n- mautic/core (Packagist): affected from 6.0.0; fixed in 6.0.9\n- mautic/core (Packagist): affected from 6.0.0; fixed in 6.0.9\n- mautic/core (Packagist): affected from 7.0.0; fixed in 7.1.2\n- mautic/core (Packagist): affected from 7.0.0; fixed in 7.1.2\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-9558/ (Markdown: https://insights.sbomify.com/CVE-2026-9558/index.md)","id":"CVE-2026-9558","markdown":"https://insights.sbomify.com/CVE-2026-9558/index.md","name":"CVE-2026-9558","record":{"aliases":["GHSA-9fx4-7cmj-47vg"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["code_execution","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Mautic marketing automation","requires_auth":"low_privilege","summary":"Authenticated users can execute arbitrary code or read system files via Server-Side Template Injection in Mautic's theme engine.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Mautic","cpe":[],"cvss":{"score":9.9,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-1336","name":"Improper Neutralization of Special Elements Used in a Template Engine"}],"description":"A Server-Side Template Injection (SSTI) vulnerability exists in Mautic's theme engine. The platform renders uploaded Twig templates without a sandbox or strict function restrictions. Authenticated users with permissions to create or upload themes can abuse this to execute arbitrary code on the hosting server (Remote Code Execution) or access restricted system files and configuration settings.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":"2026-07-10","github_poc":2,"max_poc_stars":1,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-07-10T12:13:25Z","kind":"github_poc","ref":"https://github.com/covepseng/cve-2026-9558-poc","stars":1,"title":"Exploitability PoC for CVE-2026-9558 (SSTI Mautic Theme)"},{"date":"2026-10-03T03:19:16Z","kind":"github_poc","ref":"https://github.com/Cimihan123/CVE-2026-9558-lab-poc-bundle","stars":0,"title":null}],"tier":"poc_unverified"},"has_fix":true,"headline":"Mautic has Server-Side Template Injection (SSTI) in Theme Templates","id":"CVE-2026-9558","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"code_injection","year":"2026"},"n_packages":8,"n_references":1,"next":{"headline":"Mautic vulnerable to Path Traversal via Campaign Import","id":"CVE-2026-9559"},"packages":[{"ecosystem":"Packagist","fixed":[],"introduced":["1.3.0"],"last_affected":[],"package":"mautic/core","purl":null,"source":"GHSA-9fx4-7cmj-47vg"},{"ecosystem":"Packagist","fixed":[],"introduced":["1.3.0"],"last_affected":[],"package":"mautic/core","purl":"pkg:composer/mautic/core","source":"GHSA-9fx4-7cmj-47vg"},{"ecosystem":"Packagist","fixed":["5.2.11"],"introduced":["5.0.0"],"last_affected":[],"package":"mautic/core","purl":null,"source":"GHSA-9fx4-7cmj-47vg"},{"ecosystem":"Packagist","fixed":["5.2.11"],"introduced":["5.0.0"],"last_affected":[],"package":"mautic/core","purl":"pkg:composer/mautic/core","source":"GHSA-9fx4-7cmj-47vg"},{"ecosystem":"Packagist","fixed":["6.0.9"],"introduced":["6.0.0"],"last_affected":[],"package":"mautic/core","purl":null,"source":"GHSA-9fx4-7cmj-47vg"},{"ecosystem":"Packagist","fixed":["6.0.9"],"introduced":["6.0.0"],"last_affected":[],"package":"mautic/core","purl":"pkg:composer/mautic/core","source":"GHSA-9fx4-7cmj-47vg"},{"ecosystem":"Packagist","fixed":["7.1.2"],"introduced":["7.0.0"],"last_affected":[],"package":"mautic/core","purl":null,"source":"GHSA-9fx4-7cmj-47vg"},{"ecosystem":"Packagist","fixed":["7.1.2"],"introduced":["7.0.0"],"last_affected":[],"package":"mautic/core","purl":"pkg:composer/mautic/core","source":"GHSA-9fx4-7cmj-47vg"}],"prev":{"headline":"Mautic Focus component Vulnerable to SSRF","id":"CVE-2026-9557"},"products":[],"published":"2026-05-29","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":"total"},"state":"PUBLISHED","updated":"2026-05-29","vendors":[]},"summary":"Authenticated users can execute arbitrary code or read system files via Server-Side Template Injection in Mautic's theme engine.","url":"https://insights.sbomify.com/CVE-2026-9558/"}