Description
Sanic is an opensource python web server/framework. Affected versions of sanic allow access to lateral directories when using `app.static` if using encoded `%2F` URLs. Parent directory traversal is not impacted. Users are advised to upgrade. There is no known workaround for this issue.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| sanic-org | sanic | >= 22.0.0, < 22.6.1, >= 21.0.0, < 21.12.2, < 20.12.7 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | sanic | >= 22.0.0, < 22.6.1 | 22.6.1 | GHSA-8cw9-5hmv-77w6 |
| PyPI | sanic | >= 21.0.0, < 21.12.2 | 21.12.2 | GHSA-8cw9-5hmv-77w6 |
| PyPI | sanic | < 20.12.7 | 20.12.7 | GHSA-8cw9-5hmv-77w6 |
| PyPI | sanic | < 20.12.7 · >= 22.0.0, < 22.6.1 · >= 21.0.0, < 21.12.2 | 20.12.7, 22.6.1, 21.12.2 | PYSEC-2026-918 |