CVE-2023-40274
HIGH 7.5CVSS 3.1zola Path Traversal vulnerability
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.
- Published
- 14 Aug 2023
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-xvv9-5j67-3rpq
- Sources
- NVDJSONOSV GHSA-xvv9-5j67-3rpqJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | getzola | zolacpe:2.3:a:getzola:zola:*:*:*:*:*:*:*:* |
>= 0.13.0, <= 0.17.2 | |
| OSV | crates.io | zola | >= 0.13.0, <= 0.17.2 |
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
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 14 Aug 2023)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 14 Aug 2023)