{"cve":"CVE-2022-35920","nvd":{"published":"2022-08-01T22:15:10.347","modified":"2026-06-17T04:52:31.360","status":"Modified","description":"Sanic is an opensource python web server/framework. Affected versions of sanic allow access to lateral directories when using `app.static` if using encoded `%2F` URLs. Parent directory traversal is not impacted. Users are advised to upgrade. There is no known workaround for this issue.","cvss_v4":null,"cvss_v3":{"version":"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},"cwes":["CWE-22"],"references":["https://github.com/sanic-org/sanic/issues/2478","https://github.com/sanic-org/sanic/pull/2495","https://github.com/sanic-org/sanic/security/advisories/GHSA-8cw9-5hmv-77w6","https://github.com/sanic-org/sanic/issues/2478","https://github.com/sanic-org/sanic/pull/2495"],"products":["sanic_project:sanic"],"source":"nvd","synced_at":"2026-10-19T21:34:18.502168378+00:00"},"epss":{"cve":"CVE-2022-35920","score":0.01199,"percentile":0.6816,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-8cw9-5hmv-77w6","url":"https://osv.dev/vulnerability/GHSA-8cw9-5hmv-77w6","summary":"sanic vulnerable to Path Traversal when using `app.static` if using encoded `%2F` URLs","modified":"2026-07-07T11:56:31.184791676Z","packages":[{"ecosystem":"PyPI","name":"sanic","purl":"pkg:pypi/sanic","ranges":[">=22.0.0 <22.6.1"],"fixed":["22.6.1"]},{"ecosystem":"PyPI","name":"sanic","purl":"pkg:pypi/sanic","ranges":[">=21.0.0 <21.12.2"],"fixed":["21.12.2"]},{"ecosystem":"PyPI","name":"sanic","purl":"pkg:pypi/sanic","ranges":["<20.12.7"],"fixed":["20.12.7"]}]},{"id":"PYSEC-2026-918","url":"https://osv.dev/vulnerability/PYSEC-2026-918","summary":"sanic vulnerable to Path Traversal when using `app.static` if using encoded `%2F` URLs","modified":"2026-07-07T11:45:50.826682501Z","packages":[{"ecosystem":"PyPI","name":"sanic","purl":"pkg:pypi/sanic","ranges":["<20.12.7",">=22.0.0 <22.6.1",">=21.0.0 <21.12.2"],"fixed":["20.12.7","22.6.1","21.12.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}