CVE-2022-35920

Improper Limitation of a Pathname to a Restricted Directory in sanic

Published Aug 1, 2022 CVSS 3.1 · 8.3 High EPSS 1.2% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-6514 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.
Github GHSA Github GHSA GHSA-8cw9-5hmv-77w6 sanic vulnerable to Path Traversal when using `app.static` if using encoded `%2F` URLs
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Apr 22, 2025, 5:45 PM
Reserved
Jul 15, 2022, 12:00 AM
Status
Modified
Published
Aug 1, 2022, 10:15 PM
Modified
Jun 17, 2026, 4:52 AM