{"id":"GHSA-xvv9-5j67-3rpq","revision":"d0a3cb700ad04eb38905c1c815c320ff","records":[{"revision":"d0a3cb700ad04eb38905c1c815c320ff","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"GHSA-xvv9-5j67-3rpq","aliases":["CVE-2023-40274"],"title":"zola Path Traversal vulnerability","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.","state":0,"publishedAt":"2023-08-14T03:30:32+00:00","modifiedAt":"2026-09-10T03:50:03.0718776+00:00","affected":[{"ecosystem":"crates.io","name":"zola","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.13.0"},{"kind":"last_affected","version":"0.17.2"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2023-40274","https://github.com/getzola/zola/issues/2257","https://github.com/getzola/zola/pull/2258","https://github.com/getzola/zola"],"sourceUrl":"https://github.com/advisories/GHSA-xvv9-5j67-3rpq","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-xvv9-5j67-3rpq","identifiers":["GHSA-xvv9-5j67-3rpq","CVE-2023-40274"]},"retained":false,"historicalAffected":[]}],"coverage":[]}