CVE-2017-16762Sanic Project Sanic
High 7.5 No auth needed
Follow: this CVE · Sanic Project · Sanic Project Sanic We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Sanic.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| sanic_project | sanic | ≤ 0.5.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Third Party Advisory
- github.com Release Notes Third Party Advisory