CVE-2022-35920 - CVE House
Back to Database
Status published High CVE-2022-35920

Improper Limitation of a Pathname to a Restricted Directory in sanic

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2022-35920

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

sanic
Vulnerable Versions:
>= 22.0.0, < 22.6.1, >= 21.0.0, < 21.12.2, < 20.12.7

Timeline

Official Publish: August 1st, 2022
Last Modified: April 22nd, 2025
Added to House: July 21st, 2026

CVSS Vectors

V3: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L

Weaknesses (CWE)