cve.bz

CVE-2022-35920

7.5 highEPSS 1.2%

High (7.5) in sanic project sanic. EPSS 1.2% chance of exploitation in the next 30 days. Fixed in sanic 20.12.7, 21.12.2, 22.6.1.

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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
1.2% chance of exploitation in the next 30 days; higher than 68% of CVEs (scores of 2026-10-31)
CWE
CWE-22
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-8cw9-5hmv-77w6PyPIsanic>=22.0.0 <22.6.122.6.1
GHSA-8cw9-5hmv-77w6PyPIsanic>=21.0.0 <21.12.221.12.2
GHSA-8cw9-5hmv-77w6PyPIsanic<20.12.720.12.7
PYSEC-2026-918PyPIsanic<20.12.7
>=22.0.0 <22.6.1
>=21.0.0 <21.12.2
20.12.7, 22.6.1, 21.12.2

References

Check your stackJSON