PYSEC-2026-918

    Dashboard / Vulnerabilities / PYSEC-2026-918

    PYSEC-2026-918

    Published: 6 Jul 2026Last Modified: 7 Jul 2026

    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](https://community.sanicframework.org/) * Ping us on [the Discord server](https://discord.gg/FARQzAEMAA)

    Affected packages

    Package

    Name: sanic

    Purl: pkg:pypi/sanic

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -20.12.7

    Affected versions

    0.1.0
    0.1.1
    0.1.3
    0.1.4
    0.1.5
    0.1.6
    0.1.7
    0.1.8
    0.1.9

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    PYSEC-2026-918 | CVE-DB