{"answers":{"affected":"2 open source packages ship an affected version, including bolt/bolt. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-34086 exists.","fix":"No fix has been published for CVE-2025-34086 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-34086 is a high-severity code injection vulnerability in Bolt CMS, published on 3 Jul 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-34086 and fix it if it is affected.\n\nWhat it is: CVE-2025-34086 is a high-severity code injection vulnerability in Bolt CMS, published on 3 Jul 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-34086 exists.\n\nAffected packages and fixed versions:\n- bolt/bolt (Packagist): affected all versions up to 3.7.0; no fix listed\n- bolt/bolt (Packagist): affected all versions up to 3.7.0; no fix listed\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-2025-34086/ (Markdown: https://insights.sbomify.com/CVE-2025-34086/index.md)","id":"CVE-2025-34086","markdown":"https://insights.sbomify.com/CVE-2025-34086/index.md","name":"CVE-2025-34086","record":{"aliases":["GHSA-p9qc-8jjx-g8cg"],"analysis":{"component_type":"web_application","fix_type":"end_of_life","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Bolt CMS","requires_auth":"low_privilege","summary":"Authenticated attackers can inject PHP code into user profiles and rename session files to achieve remote code execution in Bolt CMS.","user_interaction":"required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[{"product":"bolt","vendor":"boltcms"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"description":"Bolt CMS versions 3.7.0 and earlier contain a chain of vulnerabilities that together allow an authenticated user to achieve remote code execution. A user with valid credentials can inject arbitrary PHP code into the displayname field of the user profile, which is rendered unsanitized in backend templates. The attacker can then list and rename cached session files via the /async/browse/cache/.sessions and /async/folder/rename endpoints. By renaming a .session file to a path under the publicly accessible /files/ directory with a .php extension, the attacker can turn the injected code into an executable web shell. Finally, the attacker triggers the payload via a crafted HTTP GET request to the rogue file.\n\nNOTE: The vendor announced that Bolt 3 reached end-of-life after 31 December 2021.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":"2020-05-07","github_poc":0,"max_poc_stars":null,"metasploit":1,"nuclei":0,"refs":[{"date":"2020-05-07","kind":"metasploit","ref":"exploit/unix/webapp/bolt_authenticated_rce","stars":null,"title":"Bolt CMS 3.7.0 - Authenticated Remote Code Execution"}],"tier":"weaponised"},"has_fix":false,"headline":"Bolt CMS Authenticated Remote Code Execution via Profile Injection and File Rename","id":"CVE-2025-34086","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"code_injection","year":"2025"},"n_packages":2,"n_references":6,"next":{"headline":"Pi-Hole AdminLTE Whitelist (now 'Web Allowlist') Remote Command Execution","id":"CVE-2025-34087"},"packages":[{"ecosystem":"Packagist","fixed":[],"introduced":["0"],"last_affected":["3.7.0"],"package":"bolt/bolt","purl":null,"source":"GHSA-p9qc-8jjx-g8cg"},{"ecosystem":"Packagist","fixed":[],"introduced":["0"],"last_affected":["3.7.0"],"package":"bolt/bolt","purl":"pkg:composer/bolt/bolt","source":"GHSA-p9qc-8jjx-g8cg"}],"prev":{"headline":"IGEL OS Secure Terminal and Secure Shadow Remote Code Execution","id":"CVE-2025-34082"},"products":["CMS"],"published":"2025-07-03","related":[{"cvss_score":9.1,"headline":"Path traversal in n/a","id":"CVE-2022-31321","kev_date_added":null,"published":"2022-08-01"},{"cvss_score":8.8,"headline":"Bolt Cross Site Request Forgery (CSRF)","id":"CVE-2019-10874","kev_date_added":null,"published":"2019-04-05"},{"cvss_score":8.8,"headline":"Bolt Unrestricted Upload of File with Dangerous Type","id":"CVE-2019-9185","kev_date_added":null,"published":"2019-03-07"},{"cvss_score":8.6,"headline":"CSRF issue on preview pages in Bolt CMS","id":"CVE-2020-4040","kev_date_added":null,"published":"2020-06-08"},{"cvss_score":7.5,"headline":"Path traversal in bolt/core","id":"CVE-2021-27367","kev_date_added":null,"published":"2021-02-17"},{"cvss_score":7.4,"headline":"The filename of uploaded files vulnerable to stored XSS in Bolt CMS","id":"CVE-2020-4041","kev_date_added":null,"published":"2020-06-08"}],"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":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-08","vendors":["Bolt"]},"summary":"Authenticated attackers can inject PHP code into user profiles and rename session files to achieve remote code execution in Bolt CMS.","url":"https://insights.sbomify.com/CVE-2025-34086/"}