Critical severity · published Jun 17, 2026
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
9.1
CVSS
0.6%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.6% · higher than 50% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
AA
Apache Airflow SFTP provider · Apache Software Foundation
before 5.8.1 · source: vendor
AP
Apache-airflow-providers-sftp · Apache
before 5.8.1 · source: NVD
Affected product
AA
Apache Airflow SFTP provider
Apache Software Foundation
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-50203
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-50203
Issue Tracking
https://github.com/apache/airflow/pull/67985
Mailing List
https://lists.apache.org/thread/7f4b284oh44c1n95oq8mh1qc7y1lr9dx
Mailing List
http://www.openwall.com/lists/oss-security/2026/06/16/3
More from Apache Airflow SFTP provider
9.1
CVE-2026-94134
Apache Airflow SSH provider, Apache Airflow SFTP provider: SSH hook disables host-key verification by default
4.3
CVE-2026-94135
Apache Airflow SFTP provider: Async SFTP hook disables host-key verification by default
