# CVE-2023-27577: Path Traversal Vulnerability in `LESS` Parser allows reading of sensitive server files in flarum

- Severity: Medium 6.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.84%, higher than 59% of CVEs (2026-12-01)
- Published: 2023-03-10T20:56:58.989Z
- Modified: 2026-09-10T03:49:56.864Z
- Also known as: GHSA-vhm8-wwrf-3gcw
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

flarum is a forum software package for building communities. In versions prior to 1.7.0 an admin account which has already been compromised by an attacker may use a vulnerability in the `LESS` parser which can be exploited to read sensitive files on the server through the use of path traversal techniques. An attacker can achieve this by providing an absolute path to a sensitive file in the custom `LESS` setting, which the `LESS` parser will then read. For example, an attacker could use the following code to read the contents of the `/etc/passwd` file on a linux machine. The scope of what files are vulnerable will depend on the permissions given to the running flarum process. The vulnerability has been addressed in version `1.7`. Users should upgrade to this version to mitigate the vulnerability. Users unable to upgrade may mitigate the vulnerability by ensuring that their admin accounts are secured with strong passwords and follow other best practices for account security. Additionally, users can limit the exposure of sensitive files on the server by implementing appropriate file permissions and access controls at the operating system level.

(As written by CVE List.)

## Affected

- flarum framework: < 1.7.0
- flarum/core (Packagist): before 1.7.0
- flarum flarum: before 1.7.0

## Every score

- GitHub_M: CVSS:3.1 6.6 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:L`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H`
- NVD: CVSS:3.1 4.9 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/flarum/framework/security/advisories/GHSA-vhm8-wwrf-3gcw> (vendor-advisory, web)
- <https://github.com/flarum/framework/commit/1761660c98ea5a3e9665fb8e6041d1f2ee62a444> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-27577> (advisory)
- <https://github.com/flarum/flarum-core> (package)
- <https://github.com/flarum/flarum-core/releases/tag/v1.7.0> (web)

## Sources

- CVE List: [CVE-2023-27577](https://www.cve.org/CVERecord?id=CVE-2023-27577), CVE Terms of Use, modified 2025-02-25
- GitHub Advisory Database: [GHSA-vhm8-wwrf-3gcw](https://github.com/advisories/GHSA-vhm8-wwrf-3gcw), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-27577](https://nvd.nist.gov/vuln/detail/CVE-2023-27577), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-27577 · Whole record: https://cve.day/CVE-2023-27577.json · Rebuilt by cve.day 2026-11-25T22:58:22.375Z
