Vulnerability PYSEC-2026-918

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.
2 months ago
July 06, 2026 at 08:03 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:

Impacted packages

Timeline

Published
2 months ago
July 06, 2026 at 08:03 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:45 AM UTC