GPU VulnDB

Database/Control plane, storage & DevOps

Airflow SFTP provider: malicious remote server writes files outside the local destination directory

CVSS 9.1CVE-2026-50203Control plane, storage & DevOpscurated

Impact

When an Airflow task pulls a directory from an SFTP server, crafted directory-entry names let the remote side escape the configured local destination and write anywhere the worker process can write. The attacker here is the remote server, so the exposure is any DAG that fetches directories from a host the operator does not fully control. On a fleet, Airflow workers commonly share a mounted scratch or dataset path and run with pipeline credentials, so a write-anywhere primitive reaches DAG files, SSH keys and config under the worker's identity - which becomes code execution the next time the written file is loaded. No Airflow account is needed.

Who can reach it

Operator of the remote SFTP server a DAG downloads from, or anyone who has compromised it. No Airflow authentication required - the attack arrives through data the pipeline was told to fetch.

What to do

Upgrade apache-airflow-providers-sftp to 5.8.1 or later and restart the workers and scheduler; this is a Python package bump, not a host change. Until then, avoid SFTPOperator(operation=get) against directories on untrusted servers and review worker-writable paths for unexpected files.

References

Related entries

All Control plane, storage & DevOps entries

This entry is curated: imported from vendor advisories with machine assistance, not yet individually verified. Confirm against your vendor's advisory before acting, and report anything wrong.