SecurinZero Days
    Email Us
    Zero-Day Research/CVE-2026-50203
    ▲ CriticalCVSS 9.1

    Apache Airflow SFTP provider: Path traversal in SFTPHook.retrieve_directory allows local file write outside the destination directory via malicious server-supplied directory-entry names

    A path traversal in the SFTP provider (`SFTPHook.retrieve_directory` / `SFTPOperator(operation=get)`) let a malicious or compromised remote SFTP server write files outside the configured local destination directory via crafted directory-entry names. No Airflow account is required — the attack surface is any deployment downloading directories from an untrusted SFTP server. Upgrade `apache-airflow-providers-sftp` to 5.8.1 or later.

    CVE IDCVE-2026-50203
    CVSS v3.19.1 Critical
    VendorApache
    CWECWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
    DisclosedJun 17, 2026
    StatusPublished
    All advisories
    • 01Description
    • 02Proof of Concept
    • 03Vulnerable Code
    • 04Impact
    • 05Remediation
    • 06Timeline
    • 07References
    01/Description

    What this actually is.

    Technical background, root cause, and affected surface.

    SFTPHook.retrieve_directory / SFTPOperator(operation=get) in the Apache Airflow SFTP provider before 5.8.1 joins server-supplied directory-entry names to the local destination path without validation, letting a malicious or compromised SFTP server write files outside the configured destination directory. No Airflow account is required.

    Product
    Apache Airflow SFTP provider
    Vendor
    Apache
    Severity
    Critical
    CVSS Score
    9.1
    Status
    Published
    Vector
    CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
    CWE
    CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
    02/Proof of Concept

    From one request
    to root shell.

    Reproduced in a sandboxed environment. Requires only LAN or WiFi adjacency.

    9.1CVSS 3.1
    VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
    ScopeUnchanged
    ImpactC:H / I:H / A:N
    SeverityCritical
    PoC · Exploitation Steps▲ trigger
    01No public PoC available
    03/Vulnerable Code

    The bug, and the fix.

    apache-airflow-providers-sftp: SFTPHook.retrieve_directory() / SFTPOperator(operation='get') - local path built from remote entry names without normalisation or containment check

    04/Impact

    What an attacker does to you.

    Post-exploitation outcomes mapped to CVSS impact metrics.

    Critical

    Arbitrary file write on the Airflow worker, potentially leading to code execution

    CIA Impact

    C:H · I:H · A:N

    CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

    05/Remediation

    Fix it. In this order.

    A runbook, not a checklist. Sequence matters — assume compromise before you act.

    01

    Upgrade apache-airflow-providers-sftp to 5.8.1 or later (PR #67985).

    N/A
    Securin advisory — For coordinated remediation support or threat-actor briefings related to CVE-2026-50203, contact disclose@securin.io
    06/Disclosure Timeline

    Vendors moved in days.
    Attackers in hours.

    Reconstructed from vendor advisories, CISA bulletins, and Securin research records.

    2026-05-05

    Reported to vendor

    2026-06-07

    Fixed release published (apache-airflow-providers-sftp 5.8.1)

    2026-06-16

    Vendor advisory published

    2026-06-17

    CVE published to MITRE

    Disclosed 33 days after discovery

    07/References

    Cite, verify, go deeper.

    Primary sources — NVD, CISA KEV, and machine-readable IoC feed.

    NVD

    NVD — CVE-2026-50203

    nvd.nist.gov/vuln/detail/CVE-2026-50203 →
    SEC

    Securin VI — Full Technical Analysis

    vi.securin.io →
    APACHE

    https://lists.apache.org/thread/7f4b284oh44c1n95oq8mh1qc7y1lr9dx

    https://lists.apache.org/thread/7f4b284oh44c1n95oq8mh1qc7y1lr9dx →
    GITHUB

    https://github.com/apache/airflow/pull/67985

    https://github.com/apache/airflow/pull/67985 →
    CVE

    https://www.cve.org/CVERecord?id=CVE-2026-50203

    https://www.cve.org/CVERecord?id=CVE-2026-50203 →
    NIST

    https://nvd.nist.gov/vuln/detail/CVE-2026-50203

    https://nvd.nist.gov/vuln/detail/CVE-2026-50203 →

    Let Securin level up your security posture.

    Get a live exposure assessment, threat-actor briefing tailored to your sector, and IoC mapping for your SIEM.

    Browse all advisories
    SecurinSecurinZero Days

    Securin's zero-day research operation combines frontier AI models with a decade of offensive expertise — discovering, validating, and coordinating the disclosure of high-impact vulnerabilities at a scale and speed no human team achieves alone.

    Glossary
    © 2026 Securin Inc · CVE Numbering Authority
    Privacy Policy·Data Processing Addendum