{"id":"CVE-2026-50203","aliases":["GHSA-qf38-jq28-3ccq","PYSEC-2026-218"],"url":"https://o3.security/vulnerability/CVE-2026-50203","summary":"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","details":"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.","published":"2026-06-17T01:47:49.652Z","modified":"2026-08-12T03:51:22.656773057Z","cvss":{"score":9.1,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"},"epss":{"score":0.00626,"percentile":0.46676,"asOf":"2026-08-10"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"apache-airflow-providers-sftp","fixedVersion":"5.8.1"}],"fix":{"url":"https://github.com/apache/airflow/pull/67985","label":"apache/airflow#67985"},"references":[{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2026/06/16/3"},{"type":"WEB","url":"https://pypi.python.org"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/50xxx/CVE-2026-50203.json"},{"type":"ADVISORY","url":"https://lists.apache.org/thread/7f4b284oh44c1n95oq8mh1qc7y1lr9dx"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-50203"},{"type":"FIX","url":"https://github.com/apache/airflow/pull/67985"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:22.656773057Z"}}