{"id":"CVE-2026-50203","published":"2026-06-17T01:47:49Z","modified":"2026-06-17T14:56:45Z","title":"Apache Airflow SFTP provider: Path traversal in SFTPHook.retrieve_directory allows local file write outside the…","vendor":"Apache","product":"Apache Airflow SFTP provider","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00626,"percentile":0.50942,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/apache/airflow/pull/67985","tags":["patch"]},{"url":"https://lists.apache.org/thread/7f4b284oh44c1n95oq8mh1qc7y1lr9dx","tags":["vendor-advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2026/06/16/3","tags":[]}],"priority":{"score":16.6,"factors":[{"name":"EPSS percentile","points":10.19},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache Airflow SFTP provider","versions":["< 5.8.1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-06-17T14:56:30.527395Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"apache-airflow-providers-sftp","vulnerableRanges":["<5.8.1"],"patched":["5.8.1"],"from":["GHSA-qf38-jq28-3ccq","PYSEC-2026-218"],"provenance":"source"}],"summary":{"text":"The Apache Airflow SFTP provider has a path traversal flaw in SFTPHook.retrieve_directory (used by SFTPOperator with the get operation), where crafted directory-entry names can cause files to be written outside the configured local destination directory. An attacker controlling a remote SFTP server that a deployment downloads directories from can exploit this over the network with no Airflow account or user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:55:11Z"},"euvd":{"id":"EUVD-2026-37520","exploited":false,"provenance":"source"}}