CVE-2025-34086

Bolt CMS Authenticated Remote Code Execution via Profile Injection and File Rename

State
Published
Severity
7.5 High
Published
Jul 3, 2025
Updated
Oct 8, 2026
Reserved
Apr 15, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.07.5 HighCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NVulnCheck

Weaknesses

  • CWE-94 Improper Control of Generation of Code ('Code Injection')
  • CWE-434 Unrestricted Upload of File with Dangerous Type

Affected Products

ProductVersions
CMSBolt
  • 3.7.0 and earlierAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.