CVE-2025-34086: Bolt CMS vulnerable to authenticated remote code execution
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.
Other sources
Bolt CMS vulnerable to authenticated remote code execution
— Packagist
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-34086?
CVE-2025-34086 is considered a critical vulnerability due to its potential for remote code execution.
How do I fix CVE-2025-34086?
To remediate CVE-2025-34086, upgrade Bolt CMS to version 3.7.1 or later.
Who is affected by CVE-2025-34086?
CVE-2025-34086 affects all users of Bolt CMS versions 3.7.0 and earlier.
What types of attacks can exploit CVE-2025-34086?
CVE-2025-34086 can be exploited by authenticated users to inject arbitrary PHP code.
Is there a workaround for CVE-2025-34086?
There are no known effective workarounds for CVE-2025-34086, so upgrading is necessary.