CVE-2021-27367 Path traversal in bolt/core
Attackers can exploit directory traversal in Bolt CMS file controllers to read or modify arbitrary files on the server.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-27367?
CVE-2021-27367 is a high-severity path traversal vulnerability in n/a, published on 17 Feb 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Controller/Backend/FileEditController.php and Controller/Backend/FilemanagerController.php in Bolt before 4.1.13 allow Directory Traversal.
Weakness: CWE-22
Which versions are affected by CVE-2021-27367?
2 open source packages ship an affected version, including bolt/core. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
bolt/core Packagist | All versions | 4.1.13 |
bolt/core Packagist | All versions | 4.1.13 |
Products include Boltcms Bolt.
How do I fix CVE-2021-27367?
Upgrade bolt/core to 4.1.13 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2021-27367 being exploited?
There is no known exploitation of CVE-2021-27367 in the wild and no public exploit code.
Other vulnerabilities in n/a
- CVE-2022-31321 Path traversal in n/a
- CVE-2019-10874 Bolt Cross Site Request Forgery (CSRF)
- CVE-2019-9185 Bolt Unrestricted Upload of File with Dangerous Type
- CVE-2020-4040 CSRF issue on preview pages in Bolt CMS
- CVE-2025-34086 Bolt CMS Authenticated Remote Code Execution via Profile Injection and File Rename
Sources
Also known as GHSA-q88g-qx42-xfrh.