Advisory

GHSA-p9qc-8jjx-g8cg

Also known as: CVE-2025-34086

Summary

Bolt CMS vulnerable to authenticated remote code execution

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2025-07-03 21:31 UTC
Modified
2025-07-07 20:12 UTC

Affected packages and fixes

bolt/bolt

Packagist · All systems

Affected

  • introduced 0, last affected 3.7.0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences