CVE-2026-50203

Critical

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.

SeverityCritical
CVSS9.1
Exploit probability—
ProductApache-airflow-providers-sftp
PublishedJun 17, 2026
First seenJun 17, 2026

How to fix

Update
  • apache apache-airflow-providers-sftp5.8.1 or later
  • apache-airflow-providers-sftp5.8.1 or later

Affected products

ProductAffected versionsFixed in
apache apache-airflow-providers-sftpv < 5.8.15.8.1
apache-airflow-providers-sftpPyPIv < 5.8.15.8.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.