CVE-2026-50203 json
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 2026-06-17 4 mo ago modified 2026-10-26 14 d ago also GHSA-qf38-jq28-3ccq , PYSEC-2026-218 , EUVD-2026-37520
- cvss
- 9.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 50%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi apache-airflow-providers-sftp 5.8.1
- Apache Software Foundation Apache Airflow SFTP provider 5.8.1
- github.com/apache/airflow#67985 pull request
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 4 mo ago
Exploit prediction
0.63% chance of exploitation in the next 30 days, higher than 50% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| CNA | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| OSV | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| GitHub | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | apache-airflow-providers-sftp | <5.8.1 |
5.8.1 |
Affected products
- Apache Software Foundation Apache Airflow SFTP provider
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/apache/airflow/pull/67985
patch, web, issue-tracking
-
lists.apache.org
/thread/7f4b284oh44c1n95oq8mh1qc7y1lr9dx
vendor-advisory, web, mailing-list, advisory
-
openwall.com
/lists/oss-security/2026/06/16/3
web, mailing-list, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-50203
advisory
-
github.com
/apache/airflow
package
-
github.com
/pypa/advisory-database/tree/main/vulns/apache-airflow-providers-sftp/PYSEC-2026-218.yaml
web
-
github.com
/advisories/GHSA-qf38-jq28-3ccq
advisory
Sources
- CVE List CVE-2026-50203
- GitHub Advisory GHSA-qf38-jq28-3ccq
- NVD CVE-2026-50203
- OSV PYSEC-2026-218
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.