{"document":{"category":"csaf_vex","csaf_version":"2.0","title":"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","publisher":{"category":"vendor","name":"HarborGuard Database","namespace":"https://database.harborguard.co"},"tracking":{"id":"CVE-2026-50203","status":"final","version":"1","initial_release_date":"2026-06-17T01:47:49.652Z","current_release_date":"2026-06-17T14:56:45.456Z","revision_history":[{"date":"2026-06-17T01:47:49.652Z","number":"1","summary":"Initial machine-readable export from HarborGuard."}]},"distribution":{"tlp":{"label":"WHITE"},"text":"Public CVE data; freely redistributable."},"notes":[{"category":"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.","title":"CVE description"}],"references":[{"category":"self","summary":"CVE-2026-50203 on HarborGuard Database","url":"https://database.harborguard.co/cve/CVE-2026-50203"},{"category":"external","summary":"CVE Record","url":"https://www.cve.org/CVERecord?id=CVE-2026-50203"},{"category":"external","summary":"github.com","url":"https://github.com/apache/airflow/pull/67985"},{"category":"external","summary":"lists.apache.org","url":"https://lists.apache.org/thread/7f4b284oh44c1n95oq8mh1qc7y1lr9dx"}]},"product_tree":{"branches":[{"category":"vendor","name":"Apache Software Foundation","branches":[{"category":"product_name","name":"Apache Airflow SFTP provider","branches":[{"category":"product_version_range","name":"<5.8.1","product":{"name":"Apache Software Foundation Apache Airflow SFTP provider <5.8.1","product_id":"CSAFPID-1","product_identification_helper":{"cpe":"cpe:2.3:a:apache_software_foundation:apache_airflow_sftp_provider:*:*:*:*:*:*:*:*"}}}]}]}]},"vulnerabilities":[{"cve":"CVE-2026-50203","title":"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","notes":[{"category":"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.","title":"CVE description"}],"product_status":{"known_affected":["CSAFPID-1"]},"scores":[{"cvss_v3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","baseScore":9.1,"baseSeverity":"CRITICAL"},"products":["CSAFPID-1"]}],"remediations":[{"category":"vendor_fix","details":"Update to a fixed version: 5.8.1.","product_ids":["CSAFPID-1"],"url":"https://github.com/apache/airflow/pull/67985"}]}]}