# CVE-2023-40274: zola Path Traversal vulnerability

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- 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): 1.10%, higher than 66% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-08-14T00:00:00.000Z
- Modified: 2026-09-10T03:50:03.071Z
- Also known as: GHSA-xvv9-5j67-3rpq
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: mitre

## Description

An issue was discovered in zola 0.13.0 through 0.17.2. The custom implementation of a web server, available via the "zola serve" command, allows directory traversal. The handle_request function, used by the server to process HTTP requests, does not account for sequences of special path control characters (../) in the URL when serving a file, which allows one to escape the webroot of the server and read arbitrary files from the filesystem.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- zola (crates.io): from 0.13.0 up to 0.17.2
- getzola zola: from 0.13.0 up to 0.17.2

## Every score

- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/getzola/zola/issues/2257> (exploit, issue-tracking, vendor-advisory, web)
- <https://github.com/getzola/zola/pull/2258> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-40274> (advisory)
- <https://github.com/getzola/zola> (package)

## Sources

- CVE List: [CVE-2023-40274](https://www.cve.org/CVERecord?id=CVE-2023-40274), CVE Terms of Use, modified 2024-10-09
- GitHub Advisory Database: [GHSA-xvv9-5j67-3rpq](https://github.com/advisories/GHSA-xvv9-5j67-3rpq), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-40274](https://nvd.nist.gov/vuln/detail/CVE-2023-40274), Public domain, modified 2026-06-17

---

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