Vulnerability Description
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.
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Apache | Apache-Airflow-Providers-Sftp | < 5.8.1 |
Related Weaknesses (CWE)
References
- https://github.com/apache/airflow/pull/67985Issue TrackingPatch
- https://lists.apache.org/thread/7f4b284oh44c1n95oq8mh1qc7y1lr9dxMailing ListVendor Advisory
- http://www.openwall.com/lists/oss-security/2026/06/16/3Mailing ListThird Party Advisory
FAQ
What is CVE-2026-50203?
CVE-2026-50203 is a vulnerability with a CVSS score of 9.1 (CRITICAL). 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 destina...
How severe is CVE-2026-50203?
CVE-2026-50203 has been rated CRITICAL with a CVSS base score of 9.1/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2026-50203?
Check the references section above for vendor advisories and patch information. Affected products include: Apache Apache-Airflow-Providers-Sftp.