Live threats

All CVEs / Sanic Project

CVE-2017-16762Sanic Project Sanic

High 7.5 No auth needed

Priority
60
CVSS 3.0
7.5
EPSS
2.5%
probability of exploitation in 30 days · percentile 85
Auth required
No
Published
Nov 10, 2017
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

What happens

Sanic before 0.5.1 allows reading arbitrary files with directory traversal, as demonstrated by the /static/..%2f substring.

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 < 0.5.1 0.5.1 pip install "sanic>=0.5.1"
PyPI sanic < 0.5.1 0.5.1 pip install "sanic>=0.5.1"

Per OSV / GitHub Advisories (GHSA-mpmf-hr8p-p49g, PYSEC-2017-40). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
sanic_projectsanic≤ 0.5.0

Official sources

References

Links published by the sources. Open them with care.