CVE-2026-50203: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Apache Software Foundation Apache Airflow SFTP provider
A critical path traversal vulnerability (CWE-22) exists in Apache Airflow SFTP provider versions prior to 5.8.1. This vulnerability allows a malicious or compromised remote SFTP server to write files outside the intended local directory by using crafted directory-entry names. Exploitation does not require any Airflow account, making any deployment that downloads directories from an untrusted SFTP server vulnerable. Upgrading to version 5.8.1 or later mitigates this issue.
AI Analysis
Technical Summary
CVE-2026-50203 is a critical path traversal vulnerability in the Apache Airflow SFTP provider affecting all versions before 5.8.1. The flaw allows a remote SFTP server, potentially malicious or compromised, to write files outside the designated local destination directory by crafting directory-entry names. This vulnerability can be exploited without any Airflow user authentication, thus any Airflow deployment that downloads directories from untrusted SFTP servers is at risk. The vulnerability is addressed by upgrading to version 5.8.1 or later.
Potential Impact
Successful exploitation can lead to unauthorized file writes outside the intended directory, potentially overwriting or creating arbitrary files on the local system. This can result in compromise of confidentiality and integrity of the affected system. The vulnerability does not impact availability. No authentication is required to exploit this issue, increasing the attack surface.
Mitigation Recommendations
Upgrade the Apache Airflow SFTP provider to version 5.8.1 or later to remediate this vulnerability. No other official remediation or temporary fixes are indicated. Deployments should avoid downloading directories from untrusted SFTP servers until patched.
CVE-2026-50203: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Apache Software Foundation Apache Airflow SFTP provider
Description
A critical path traversal vulnerability (CWE-22) exists in Apache Airflow SFTP provider versions prior to 5.8.1. This vulnerability allows a malicious or compromised remote SFTP server to write files outside the intended local directory by using crafted directory-entry names. Exploitation does not require any Airflow account, making any deployment that downloads directories from an untrusted SFTP server vulnerable. Upgrading to version 5.8.1 or later mitigates this issue.
CVSS v3.1
Score 9.1critical
Affected software
pkg:pypi/apache-airflow-providers-sftpRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-50203 is a critical path traversal vulnerability in the Apache Airflow SFTP provider affecting all versions before 5.8.1. The flaw allows a remote SFTP server, potentially malicious or compromised, to write files outside the designated local destination directory by crafting directory-entry names. This vulnerability can be exploited without any Airflow user authentication, thus any Airflow deployment that downloads directories from untrusted SFTP servers is at risk. The vulnerability is addressed by upgrading to version 5.8.1 or later.
Potential Impact
Successful exploitation can lead to unauthorized file writes outside the intended directory, potentially overwriting or creating arbitrary files on the local system. This can result in compromise of confidentiality and integrity of the affected system. The vulnerability does not impact availability. No authentication is required to exploit this issue, increasing the attack surface.
Mitigation Recommendations
Upgrade the Apache Airflow SFTP provider to version 5.8.1 or later to remediate this vulnerability. No other official remediation or temporary fixes are indicated. Deployments should avoid downloading directories from untrusted SFTP servers until patched.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- apache
- Date Reserved
- 2026-06-04T00:05:50.170Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a31ffcc0b89be68889b027e
Added to database: 06/17/2026, 02:00:44 UTC
Last enriched: 07/10/2026, 09:50:57 UTC
Last updated: 08/01/2026, 07:18:01 UTC
Views: 85
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.