CVE-2026-49818: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Apache Software Foundation Apache Airflow Samba provider
A path traversal vulnerability (CWE-22) exists in the Apache Airflow Samba provider's GCSToSambaOperator. This operator improperly joins Google Cloud Storage (GCS) object names to the SMB destination path without validating that the resolved path remains within the intended destination directory. An attacker able to write objects to the source GCS bucket could exploit this to write files to arbitrary locations on the Samba target. The issue affects versions prior to 4.12.6. A fix is available in version 4.12.6 that validates the resolved destination path.
AI Analysis
Technical Summary
The Apache Airflow Samba provider's GCSToSambaOperator concatenates GCS object names to the SMB destination path without containment checks, allowing path traversal via '../' segments in object names. This enables an attacker with write access to the source GCS bucket to cause the operator to write files outside the configured destination_path on the Samba target. The vulnerability is addressed in apache-airflow-providers-samba version 4.12.6 by validating that the resolved destination path stays within the intended directory.
Potential Impact
An attacker who can write objects to the source GCS bucket can exploit this vulnerability to write files to arbitrary locations on the Samba target system when the GCSToSambaOperator runs. This could lead to unauthorized file creation or modification on the target system, potentially impacting confidentiality and integrity. The CVSS score is 6.5 (medium severity), indicating a moderate impact with network attack vector, low attack complexity, no privileges required, no user interaction, and limited confidentiality and integrity impact.
Mitigation Recommendations
Upgrade apache-airflow-providers-samba to version 4.12.6 or later, which includes validation to ensure the resolved destination path remains within the configured destination_path. This official fix addresses the path traversal vulnerability. No other mitigations are specified or required.
CVE-2026-49818: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Apache Software Foundation Apache Airflow Samba provider
Description
A path traversal vulnerability (CWE-22) exists in the Apache Airflow Samba provider's GCSToSambaOperator. This operator improperly joins Google Cloud Storage (GCS) object names to the SMB destination path without validating that the resolved path remains within the intended destination directory. An attacker able to write objects to the source GCS bucket could exploit this to write files to arbitrary locations on the Samba target. The issue affects versions prior to 4.12.6. A fix is available in version 4.12.6 that validates the resolved destination path.
CVSS v3.1
Score 6.5medium
Affected software
pkg:pypi/apache-airflow-providers-sambaRun 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
The Apache Airflow Samba provider's GCSToSambaOperator concatenates GCS object names to the SMB destination path without containment checks, allowing path traversal via '../' segments in object names. This enables an attacker with write access to the source GCS bucket to cause the operator to write files outside the configured destination_path on the Samba target. The vulnerability is addressed in apache-airflow-providers-samba version 4.12.6 by validating that the resolved destination path stays within the intended directory.
Potential Impact
An attacker who can write objects to the source GCS bucket can exploit this vulnerability to write files to arbitrary locations on the Samba target system when the GCSToSambaOperator runs. This could lead to unauthorized file creation or modification on the target system, potentially impacting confidentiality and integrity. The CVSS score is 6.5 (medium severity), indicating a moderate impact with network attack vector, low attack complexity, no privileges required, no user interaction, and limited confidentiality and integrity impact.
Mitigation Recommendations
Upgrade apache-airflow-providers-samba to version 4.12.6 or later, which includes validation to ensure the resolved destination path remains within the configured destination_path. This official fix addresses the path traversal vulnerability. No other mitigations are specified or required.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- apache
- Date Reserved
- 2026-06-01T17:37:44.180Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a27e32a8dd33fbd8512607b
Added to database: 06/09/2026, 09:55:54 UTC
Last enriched: 07/31/2026, 21:30:53 UTC
Last updated: 07/31/2026, 21:30:53 UTC
Views: 69
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.