CVE-2022-35920

HIGH

sanic <20.12.7 and 22.0.0-22.6.1 - Path Traversal via Encoded %2F URLs

Title source: llm
STIX 2.1

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.

References (3)

Core 3
Core References
Exploit, Issue Tracking, Third Party Advisory x_refsource_misc
https://github.com/sanic-org/sanic/issues/2478
Patch, Third Party Advisory x_refsource_misc
https://github.com/sanic-org/sanic/pull/2495

Scores

CVSS v3 8.3
EPSS 0.0096
EPSS Percentile 57.1%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact partial

Details

CWE
CWE-22
Status published
Products (2)
pypi/sanic 22.0.0 - 22.6.1PyPI
sanic_project/sanic < 20.12.7
Published Aug 01, 2022
Tracked Since Feb 18, 2026