# CVE-2024-30254: Directory traversal allowing overwriting arbitrary files

- Severity: Medium 5.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:H/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.19%, higher than 8% of CVEs (2026-12-01)
- Published: 2024-04-04T19:00:42.227Z
- Modified: 2026-06-17T07:26:36.837Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

MesonLSP is an unofficial, unendorsed language server for meson written in C++. A vulnerability in versions prior to 4.1.4 allows overwriting arbitrary files if the attacker can make the victim either run the language server within a specific crafted project or `mesonlsp --full`. Version 4.1.4 contains a patch for this issue. As a workaround, avoid running `mesonlsp --full` and set the language server option `others.neverDownloadAutomatically` to `true`.

(As written by CVE List.)

## Affected

- JCWasmx86 mesonlsp: < 4.1.4; before 4.1.4

## References

- <https://github.com/JCWasmx86/mesonlsp/security/advisories/GHSA-48c5-35fh-846h>
- <https://github.com/JCWasmx86/mesonlsp/commit/594b6334061371911cd59389124ab8af30ce0a3a>

## Sources

- CVE List: [CVE-2024-30254](https://www.cve.org/CVERecord?id=CVE-2024-30254), CVE Terms of Use, modified 2024-08-26
- NVD: [CVE-2024-30254](https://nvd.nist.gov/vuln/detail/CVE-2024-30254), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-30254 · Whole record: https://cve.day/CVE-2024-30254.json · Rebuilt by cve.day 2026-11-25T22:58:38.775Z
