CVE-2022-39215

    Dashboard / Vulnerabilities / CVE-2022-39215

    CVE-2022-39215

    Published: 15 Sept 2022Last Modified: 16 Sept 2026

    Summary: The readDir Endpoint Scope can be Bypassed With Symbolic Links in Tauri

    Details: Tauri is a framework for building binaries for all major desktop platforms. Due to missing canonicalization when `readDir` is called recursively, it was possible to display directory listings outside of the defined `fs` scope. This required a crafted symbolic link or junction folder inside an allowed path of the `fs` scope. No arbitrary file content could be leaked. The issue has been resolved in version 1.0.6 and the implementation now properly checks if the requested (sub) directory is a symbolic link outside of the defined `scope`. Users are advised to upgrade. Users unable to upgrade should disable the `readDir` endpoint in the `allowlist` inside the `tauri.conf.json`.

    Affected packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Affected versions

    v1.0.5
    v1.0.4
    v1.0.3
    v1.0.2
    v1.0.1
    v1.0.0
    v1.0.0-rc.16
    v1.0.0-rc.15
    v1.0.0-rc.14
    v1.0.0-rc.13
    v1.0.0-rc.12
    v1.0.0-rc.11
    v1.0.0-rc.10
    v1.0.0-rc.9
    v1.0.0-rc.8
    v1.0.0-rc.7
    v1.0.0-rc.6
    v1.0.0-rc.5
    v1.0.0-rc.4
    v1.0.0-rc.2
    v1.0.0-rc.1
    v1.0.0-rc.0

    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
    CVE-2022-39215 | CVE-DB