CVE-2026-49818

Apache Airflow Samba provider: Path traversal in GCSToSambaOperator via GCS object names

Published Jun 9, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
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`.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-f6vj-48fm-hmvx Apache Airflow has a Path Traversal issue
History
Type Values Removed Values Added
First Time appeared Apache apache-airflow-providers-samba
CPEs cpe:2.3:a:apache:apache-airflow-providers-samba:*:*:*:*:*:*:*:*
Vendors & Products Apache apache-airflow-providers-samba
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N'}

Type Values Removed Values Added
First Time appeared Apache
Apache airflow Samba Provider
Vendors & Products Apache
Apache airflow Samba Provider
Type Values Removed Values Added
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`.
Title Apache Airflow Samba provider: Path traversal in GCSToSambaOperator via GCS object names
Weaknesses CWE-22
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Jun 10, 2026, 5:37 PM
Reserved
Jun 1, 2026, 5:37 PM
Status
Analyzed
Published
Jun 9, 2026, 9:16 AM
Modified
Jul 23, 2026, 8:10 AM