Vulnerability GHSA-8cw9-5hmv-77w6
High Risk
HIGH RISK
CVSS Score: 8.3
Score Range: 7.0–8.9
High severity vulnerabilities (CVSS 7.0–8.9). Serious vulnerabilities that should be prioritized soon after critical fixes.
4 years ago
August 06, 2022 at 05:21 AM UTC
sanic vulnerable to Path Traversal when using `app.static` if using encoded `%2F` URLs
0.1.0 - 20.12.6 and 21.3.0 - 21.12.1 and 22.3.0 - 22.6.0
0.1.0 - 20.12.6 and 21.3.0 - 21.12.1 and 22.3.0 - 22.6.0
Summary
sanic vulnerable to Path Traversal when using `app.static` if using encoded `%2F` URLs
Details
Impact
Access to lateral directories when using app.static if using encoded %2F URLs. Parent directory traversal is not impacted.
Patches
- v20.12.7 (LTS)
- v21.12.2 (LTS)
- v22.6.1
References
https://github.com/sanic-org/sanic/issues/2478 https://github.com/sanic-org/sanic/pull/2495
For more information
If you have any questions or comments about this advisory:
- Open an issue in the community forums
- Ping us on the Discord server
Related Vulnerabilities
Other vulnerabilities affecting the same packages
Medium Risk
14 days ago
sanic chunked trailer request smuggling allows hidden second request execution
0.1.0 - 24.12.0 and 25.12.0 GHSA-wmj6-g64g-j7q5
0.1.0 - 24.12.0 and 25.12.0 GHSA-wmj6-g64g-j7q5
High Risk
2 months ago
sanic vulnerable to Path Traversal when using `app.static` if using encoded `%2F` URLs
0.1.0 - 20.12.6 and 21.3.0 - 21.12.1 and 22.3.0 - 22.6.0 PYSEC-2026-918
0.1.0 - 20.12.6 and 21.3.0 - 21.12.1 and 22.3.0 - 22.6.0 PYSEC-2026-918
High Risk
4 years ago
Sanic arbitrary file read and directory traversal
0.1.0 - 0.5.0 GHSA-mpmf-hr8p-p49g
0.1.0 - 0.5.0 GHSA-mpmf-hr8p-p49g
High Risk
4 years ago
Server crash if running Python 3.10 w/ Sanic 20.12
0.1.7 - 20.12.5 GHSA-7p79-6x2v-5h88
0.1.7 - 20.12.5 GHSA-7p79-6x2v-5h88
Unknown
8 years ago
No summary available
0.1.0 - 0.5.0 PYSEC-2017-40
0.1.0 - 0.5.0 PYSEC-2017-40
Impacted packages
Timeline
Published
4 years ago
August 06, 2022 at 05:21 AM UTC
Fixed (20.12.7)
4 years ago
July 31, 2022 at 11:27 AM UTC
Fixed (21.12.2)
4 years ago
July 31, 2022 at 11:32 AM UTC
Fixed (22.6.1)
4 years ago
July 31, 2022 at 11:33 AM UTC
Last Modified
2 months ago
July 07, 2026 at 11:56 AM UTC