GitHub Advisoryadvisory · Packagist
GHSA-p9qc-8jjx-g8cg Bolt CMS vulnerable to authenticated remote code execution
HIGH
Official page ↗
- Aliases
- CVE-2025-34086
- Ecosystem
- Packagist
- Packages
- bolt/bolt
- Severity
- High
- CVSS 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
- Weaknesses
- CWE-94
- Reviewed
- 2025-07-07
Affected packages
• Packagist bolt/bolt: <= 3.7.0 (no fix yet)
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.
NOTE: The vendor announced that Bolt 3 reached end-of-life after 31 December 2021.
Related
Alias · CVE (1)
- CVE-2025-34086 Bolt CMS versions 3.7.0 and earlier contain a chain of vulnerabilities that together allow an authenticated user to achieve remote code… vulnerability
Weakness · CWE (1)
- CWE-94 Improper Control of Generation of Code weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-34086 advisory
- https://boltcms.io/newsitem/major-announcements-bolt-3-eol-bolt-4-2-5-0-releases web
- https://github.com/bolt/bolt package
- https://github.com/bolt/bolt/blob/3.7/src/Controller/Backend/Users.php#L279-L311 web
- https://github.com/bolt/bolt/releases/tag/3.7.1 web
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/unix/webapp/bolt_authenticated_rce.rb web
- https://www.exploit-db.com/exploits/48296 web
- https://www.rapid7.com/db/modules/exploit/unix/webapp/bolt_authenticated_rce web