# CVE-2023-40274

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2023-08-14 · Modified: 2024-10-09
- Aliases: CGA-8738-36mx-pqqw, CGA-vhm4-x7fr-cqhc, GHSA-xvv9-5j67-3rpq
- Record: https://cvemate.com/vulnerability/CVE-2023-40274 · JSON: https://cvemate.com/vulnerability/CVE-2023-40274/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS: 1.1%, percentile 66.772%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- chainguard zola (Chainguard): \< 0.17.2-r1
- wolfi zola (Wolfi): \< 0.17.2-r1
- Crates.Io zola (Crates.Io): ≥ 0.13.0, ≤ 0.17.2
- getzola zola: ≥ 0.13.0, ≤ 0.17.2

## References

- <https://github.com/getzola/zola/issues/2257>
- <https://github.com/getzola/zola/pull/2258>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-40274>
- <https://github.com/getzola/zola>

---

Data as of 2026-12-05T13:09:19.879Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
