GHSA-p9qc-8jjx-g8cg

Suggest an improvement
Source
https://github.com/advisories/GHSA-p9qc-8jjx-g8cg
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/07/GHSA-p9qc-8jjx-g8cg/GHSA-p9qc-8jjx-g8cg.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-p9qc-8jjx-g8cg
Aliases
Published
2025-07-03T21:31:25Z
Modified
2025-07-07T20:12:19.778598Z
Severity
  • 7.5 (High) CVSS_V4 - 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 CVSS Calculator
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.

Database specific
{
    "github_reviewed_at": "2025-07-07T19:10:40Z",
    "github_reviewed": true,
    "nvd_published_at": "2025-07-03T20:15:22Z",
    "cwe_ids": [
        "CWE-94"
    ],
    "severity": "HIGH"
}
References

Affected packages

Packagist / bolt/bolt

Package

Name
bolt/bolt
Purl
pkg:composer/bolt/bolt

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
3.7.0

Affected versions

v0.*

v0.8.4
v0.8.5
v0.9.5
v0.9.10

v1.*

v1.0.0
v1.0.5
v1.1.2
v1.1.4
v1.2.1
v1.3.0
v1.4.0
v1.4.3
v1.5.1
v1.5.6
v1.6.0
v1.6.2
v1.6.3
v1.6.3.1
v1.6.9

v2.*

v2.0.0
v2.0.1
v2.0.2
v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