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`.

Analysis

AI-generated

Technical impact

The GCSToSambaOperator concatenates GCS object names into the SMB destination path without ensuring the resulting path stays inside the configured directory, allowing an object name containing "../" segments to escape the intended directory and overwrite or create files at arbitrary locations on the Samba target, which can lead to data loss or service disruption.

Affected Systems

All installations of the Apache Airflow Samba provider before version 4.12.6 are affected; the vulnerability exists in the GCSToSambaOperator component used when transferring objects from Google Cloud Storage to a Samba share.

Risk and Exploitability

The vulnerability is not listed in CISA KEV. The EPSS score is less than 1%, indicating a low but non-zero probability of exploitation. The path traversal allows an attacker who can write objects into the source GCS bucket to access arbitrary locations on the Samba target when the GCSToSambaOperator runs, potentially leading to unauthorized data modification, overwrites, or denial of service.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to apache-airflow-providers-samba 4.12.6 or later.
  • Restrict write access to the source GCS bucket so that only trusted DAG authors can upload objects.
  • Implement monitoring on the Samba target to detect unexpected file modifications.

Generated by OpenCVE AI on June 9, 2026 at 21:34 UTC.

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
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

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