Vulnerability · Published Jul 3, 2025 · Assigned by VulnCheck
CVE-2025-34086Bolt CMS Authenticated Remote Code Execution via Profile Injection and File Rename
High 7.5
In plain English
A high-severity code injection in CMS from Bolt. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 4.3% (higher than 91% of all known vulnerabilities). Ready-made attack tooling exists: Metasploit.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | bolt/bolt | no fix listed | GHSA-p9qc-8jjx-g8cg |
Affected products (as reported)
Weakness: CWE-94, CWE-434 · 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
References
- https://github.com/bolt/bolt/releases/tag/3.7.1 vendor-advisory, patch
- https://www.exploit-db.com/exploits/48296 exploit
- https://www.rapid7.com/db/modules/exploit/unix/webapp/bolt_authenticated_rce/ third-party-advisory
- https://github.com/bolt/bolt product
- https://boltcms.io/newsitem/major-announcements-bolt-3-eol-bolt-4-2-5-0-releases vendor-advisory
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/unix/webapp/bolt_authenticated_rce.rb exploit