CVE-2026-50203 Details
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.
A path traversal vulnerability has been identified in the Apache Airflow SFTP provider, specifically in the SFTPHook.retrieve_directory method and the SFTPOperator with the 'get' operation. This vulnerability allows a malicious or compromised remote SFTP server to write files outside the designated local destination directory by using crafted directory-entry names. The issue arises in any deployment that downloads directories from an untrusted SFTP server, without requiring an Airflow account. Affected versions include those prior to Apache Airflow SFTP provider 5.8.1.
Users are advised to upgrade the Apache Airflow SFTP provider to version 5.8.1 or later.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 17, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| http://www.openwall.com/lists/oss-security/2026/06/16/3 | CVE | Mailing ListThird Party Advisory |
| https://github.com/apache/airflow/pull/67985 | [email protected] | Issue TrackingPatch |
| https://lists.apache.org/thread/7f4b284oh44c1n95oq8mh1qc7y1lr9dx | [email protected] | Mailing ListVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| apache apache-airflow-providers-sftp | < 5.8.1 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 26, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | Initial Analysis | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | New CVE Received | [email protected] |
| Jun 17, 2026 | CVE Modified | CVE |