{"id":"CVE-2023-40274","aliases":["CVE-2023-40274","GHSA-xvv9-5j67-3rpq"],"related":[],"kind":"vulnerability","state":"published","title":"zola Path Traversal vulnerability","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","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.","format":"markdown","source":"ghsa"}],"published":"2023-08-14T00:00:00.000Z","modified":"2026-09-10T03:50:03.071Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0.13.0","status":"affected","lastAffected":"0.17.2"}],"ecosystem":"crates.io","package":"zola","purl":"pkg:cargo/zola","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"0.13.0","lastAffected":"0.17.2"}],"vendor":"getzola","product":"zola","cpe":"cpe:2.3:a:getzola:zola:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/getzola/zola/issues/2257","tags":["exploit","issue-tracking","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/getzola/zola/pull/2258","tags":["patch","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-40274","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/getzola/zola","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2024-10-09T15:03:38.486Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-40274","url":"https://www.cve.org/CVERecord?id=CVE-2023-40274","licence":"CVE Terms of Use","modified":"2024-10-09T15:03:49.610Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-xvv9-5j67-3rpq","url":"https://github.com/advisories/GHSA-xvv9-5j67-3rpq","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:03.071Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-40274","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-40274","licence":"Public domain","modified":"2026-06-17T06:16:58.670Z"}],"updatedAt":"2026-11-25T22:58:27.090Z","epss":{"score":0.011,"percentile":0.66604,"date":"2026-12-01T12:00:22.000Z"}}