CVE-2026-50203
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.
How to fix
- apache apache-airflow-providers-sftp5.8.1 or later
- apache-airflow-providers-sftp5.8.1 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| apache apache-airflow-providers-sftp | v < 5.8.1 | 5.8.1 |
| apache-airflow-providers-sftpPyPI | v < 5.8.1 | 5.8.1 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.