{"cve":"CVE-2026-50203","nvd":{"published":"2026-06-17T13:20:47.213","modified":"2026-10-26T11:10:00.157","status":"Analyzed","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1},"cwes":["CWE-22"],"references":["https://github.com/apache/airflow/pull/67985","https://lists.apache.org/thread/7f4b284oh44c1n95oq8mh1qc7y1lr9dx","http://www.openwall.com/lists/oss-security/2026/06/16/3"],"products":["apache:apache-airflow-providers-sftp"],"source":"nvd","synced_at":"2026-10-26T11:33:08.859761529+00:00"},"epss":{"cve":"CVE-2026-50203","score":0.00626,"percentile":0.49705,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-qf38-jq28-3ccq","url":"https://osv.dev/vulnerability/GHSA-qf38-jq28-3ccq","summary":"Apache Airflow SFTP provider: Path traversal in SFTPHook.retrieve_directory","modified":"2026-09-10T03:50:50.316659856Z","packages":[{"ecosystem":"PyPI","name":"apache-airflow-providers-sftp","purl":"pkg:pypi/apache-airflow-providers-sftp","ranges":["<5.8.1"],"fixed":["5.8.1"]}]},{"id":"PYSEC-2026-218","url":"https://osv.dev/vulnerability/PYSEC-2026-218","summary":"","modified":"2026-07-13T16:45:11.324909005Z","packages":[{"ecosystem":"PyPI","name":"apache-airflow-providers-sftp","purl":"pkg:pypi/apache-airflow-providers-sftp","ranges":["<5.8.1"],"fixed":["5.8.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}