CVE-2026-49818: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Apache Software Foundation Apache Airflow Samba provider
The Apache Airflow Samba provider's `GCSToSambaOperator` joined GCS object names to the SMB destination path without a containment check, so an object named with `../` segments resolved a write path outside the configured `destination_path`. An attacker able to write objects into the source GCS bucket — typically an external data producer distinct from the trusted DAG author — could write files to arbitrary locations on the Samba target when the operator ran. Upgrade apache-airflow-providers-samba to 4.12.6 or later, which validates the resolved destination stays within `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
The Apache Airflow Samba provider's `GCSToSambaOperator` joined GCS object names to the SMB destination path without a containment check, so an object named with `../` segments resolved a write path outside the configured `destination_path`. An attacker able to write objects into the source GCS bucket — typically an external data producer distinct from the trusted DAG author — could write files to arbitrary locations on the Samba target when the operator ran. Upgrade apache-airflow-providers-samba to 4.12.6 or later, which validates the resolved destination stays within `destination_path`.
CVSS v3.1
Score 6.5medium
Affected software
Apache Software Foundation
Apache Airflow Samba provider
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
- State
- PUBLISHED
Threat ID: 6a27e32a8dd33fbd8512607b
Added to database: 06/09/2026, 09:55:54 UTC
Last enriched: 07/31/2026, 21:30:53 UTC
Last updated: 09/11/2026, 22:06:33 UTC
Views: 88
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.