Live threats

All CVEs / Sanic Project

CVE-2022-35920Sanic Project Sanic

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.3%
probability of exploitation in 30 days · percentile 70
Auth required
No
Published
Aug 1, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Sanic.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI sanic ≥ 22.0.0 < 22.6.1 22.6.1 pip install "sanic>=22.6.1"
PyPI sanic ≥ 21.0.0 < 21.12.2 21.12.2 pip install "sanic>=21.12.2"
PyPI sanic < 20.12.7 20.12.7 pip install "sanic>=20.12.7"
PyPI sanic < 20.12.7 20.12.7 pip install "sanic>=20.12.7"
PyPI sanic ≥ 22.0.0 < 22.6.1 22.6.1 pip install "sanic>=22.6.1"
PyPI sanic ≥ 21.0.0 < 21.12.2 21.12.2 pip install "sanic>=21.12.2"

Per OSV / GitHub Advisories (GHSA-8cw9-5hmv-77w6, PYSEC-2026-918). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
sanic_projectsanic< 20.12.7
sanic_projectsanic≥ 21.0.0 < 21.12.2
sanic_projectsanic≥ 22.0.0 < 22.6.1

Official sources

References

Links published by the sources. Open them with care.