CVE-2026-50203: 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

Published Jun 16, 2026
·
Updated

A path traversal in the SFTP provider (SFTPHook.retrievedirectory / 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.

Affected Software

3 affected componentsFixes available
pypi/apache-airflow-providers-sftp<5.8.1
Apache apache-airflow-providers-sftp<5.8.1
pip/apache-airflow-providers-sftp<5.8.1
5.8.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pip/apache-airflow-providers-sftp to a version that resolves this vulnerability.

    Fixed in 5.8.1
  2. Compensating control

    Restrict or avoid downloading directories from untrusted SFTP servers (limit SFTP downloads to trusted servers or network segments) until apache-airflow-providers-sftp is upgraded to 5.8.1 or later.

Event History

Jun 17, 2026
CVE Published
via MITRE·01:47 AM
Data Sourced
via MITRE·01:47 AM
DescriptionWeakness
Data Sourced
via NVD·01:20 PM
RemedyDescriptionSeverityWeaknessAffected Software
Advisory Published
via GitHub·06:35 PM
Data Sourced
via GitHub·06:35 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-50203?

CVE-2026-50203 has a critical severity score of 9.1 according to the CVSS 3.1 metrics.

2

How do I fix CVE-2026-50203?

To mitigate CVE-2026-50203, update to the latest patched version of the Apache Airflow SFTP provider to address the path traversal vulnerability.

3

What systems are affected by CVE-2026-50203?

CVE-2026-50203 affects Apache Airflow deployments that utilize the SFTP provider, specifically the SFTPHook.retrieve_directory functionality.

4

What type of attack does CVE-2026-50203 enable?

CVE-2026-50203 allows an attacker to perform a path traversal attack, which can result in unauthorized file writes outside the designated directory.

5

Is authentication required to exploit CVE-2026-50203?

No, CVE-2026-50203 can be exploited without requiring an Airflow account, making it a significant security concern.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203