Vulnerability · Published Jun 9, 2026 · Assigned by apache

CVE-2026-49818Apache Airflow Samba provider: Path traversal in GCSToSambaOperator via GCS object names

Medium 6.5

In plain English

A medium-severity path traversal in Apache Airflow Samba provider from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 50% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)0.6%top 49.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIapache-airflow-providers-samba4.12.6GHSA-f6vj-48fm-hmvx
PyPIapache-airflow-providers-samba4.12.6PYSEC-2026-208

Affected products (as reported)

VendorProductVersions
Apache Software Foundation Apache Airflow Samba provider 0 – before 4.12.6

Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

References