GHSA-vcvg-xgr8-p5gq

    Dashboard / Vulnerabilities / GHSA-vcvg-xgr8-p5gq

    GHSA-vcvg-xgr8-p5gq

    Published: 9 Jun 2023Last Modified: 8 Jul 2026

    Summary: Arbitrary file read using percent-encoded relative paths in FileMiddleware

    Details: ### Impact Attackers can access data at arbitrary filesystem paths on the same host as an application using `FileMiddleware`. ### Patches Version [4.29.4](https://github.com/vapor/vapor/releases/tag/4.29.4) ### Workarounds Upgrade to 4.24.4 or later, or disable `FileMiddleware`. ### References * Introduced in https://github.com/vapor/vapor/pull/2223 * Fixed by https://github.com/vapor/vapor/pull/2500 ### For more information If you have any questions or comments about this advisory: * Open [an issue](https://github.com/vapor/vapor/issues) * Email us at [[email protected]](mailto:[email protected])

    Affected packages

    Package

    Name: github.com/vapor/vapor

    Purl: pkg:swift/github.com/vapor/vapor

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 4.0.0-rc.2.5
    Fixed -4.29.4

    Affected versions

    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
    GHSA-vcvg-xgr8-p5gq | CVE-DB