{"id":"CVE-2023-40274","aliases":["EUVD-2023-2384","GHSA-xvv9-5j67-3rpq"],"status":"published","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.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.011,"percentile":0.65914,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-22"],"published":"2023-08-14T00:00:00Z","modified":"2026-10-28T02:30:50Z","affected":[{"source":"ghsa","ecosystem":"crates.io","package":"zola","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.13.0"},{"last_affected":"0.17.2"}]}]},{"source":"osv","ecosystem":"crates.io","package":"zola","ranges":[{"type":"SEMVER","events":[{"introduced":"0.13.0"},{"last_affected":"0.17.2"}]}]}],"products":[{"vendor":"getzola","product":"zola"}],"references":[{"url":"https://github.com/getzola/zola/issues/2257","tags":["x_transferred","Exploit","Issue Tracking","Vendor Advisory","report","web"]},{"url":"https://github.com/getzola/zola/pull/2258","tags":["x_transferred","Patch","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-40274","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-xvv9-5j67-3rpq"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/40xxx/CVE-2023-40274.json","tags":["advisory"]},{"url":"https://github.com/getzola/zola","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2023-40274","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.","status":"published","published":"2023-08-14T00:00:00Z","modified":"2024-10-09T15:03:49.61Z","updated_at":"2026-11-02T14:35:21.971258Z"}],"euvd":[{"id":"EUVD-2023-2384","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.","status":"published","published":"2023-08-14T00:00:00Z","modified":"2024-10-09T15:03:49Z","updated_at":"2026-11-03T00:27:43.39457Z"}],"ghsa":[{"id":"GHSA-xvv9-5j67-3rpq","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.","status":"published","published":"2023-08-14T03:30:32Z","modified":"2023-11-07T05:03:18Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:37:15.055009Z"}],"nvd":[{"id":"CVE-2023-40274","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.","status":"published","published":"2023-08-14T01:15:47.307Z","modified":"2026-06-17T06:16:58.67Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"primary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:08:22.812138Z"}],"osv":[{"id":"GHSA-xvv9-5j67-3rpq","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.","status":"published","published":"2023-08-14T03:30:32Z","modified":"2026-09-10T03:50:03.07187765Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:47:00.604718Z"},{"id":"CVE-2023-40274","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.","status":"published","published":"2023-08-14T00:00:00Z","modified":"2026-10-28T02:30:50.577835679Z","updated_at":"2026-11-02T15:44:33.244128Z"}]}}
