CVE-2023-40274Getzola Zola
High 7.5 No auth needed
Follow: this CVE · Getzola · Getzola Zola We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.2% probability of exploitation in 30 days · percentile 67
- Auth required
- No
- Published
- Aug 14, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Zola.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| crates.io | zola |
≥ 0.13.0 ≤ 0.17.2 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-xvv9-5j67-3rpq). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| getzola | zola | ≥ 0.13.0 ≤ 0.17.2 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Issue Tracking Vendor Advisory
- github.com Patch