Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. bolt/bolt
  4. ›
  5. CVE-2025-34086

CVE-2025-34086: Bolt CMS vulnerable to authenticated remote code execution

July 3, 2025 (updated November 10, 2025)

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.

References

  • boltcms.io/newsitem/major-announcements-bolt-3-eol-bolt-4-2-5-0-releases
  • github.com/advisories/GHSA-p9qc-8jjx-g8cg
  • github.com/bolt/bolt
  • github.com/bolt/bolt/blob/3.7/src/Controller/Backend/Users.php
  • github.com/bolt/bolt/releases/tag/3.7.1
  • nvd.nist.gov/vuln/detail/CVE-2025-34086
  • raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/unix/webapp/bolt_authenticated_rce.rb
  • www.exploit-db.com/exploits/48296
  • www.rapid7.com/db/modules/exploit/unix/webapp/bolt_authenticated_rce

Code Behaviors & Features

Detect and mitigate CVE-2025-34086 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 3.7.0

Solution

Unfortunately, there is no solution available yet.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

packagist/bolt/bolt/CVE-2025-34086.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 23 Jan 2026 12:17:27 +0000.