HIGH 8.3 PyPI
sanic vulnerable to Path Traversal when using `app.static` if using encoded `%2F` URLs
GHSA-8cw9-5hmv-77w6 · CVE-2022-35920 · PYSEC-2026-918
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
Description
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
Ready to move
Start Securing
Free, no credit card | First findings in minutes