GitHub Advisoryadvisory · PyPI

GHSA-f6vj-48fm-hmvx Apache Airflow has a Path Traversal issue

MEDIUM Published 2026-06-09 Modified 2026-07-31 Official page ↗
Aliases
CVE-2026-49818
Ecosystem
PyPI
Packages
apache-airflow-providers-samba
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Weaknesses
CWE-22
Reviewed
2026-07-31

Affected packages

• PyPI apache-airflow-providers-samba: < 4.12.6 → fixed in 4.12.6

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

Related

Alias · CVE (1)

  • CVE-2026-49818 The Apache Airflow Samba provider's `GCSToSambaOperator` joined GCS object names to the SMB destination path without a containment check,… vulnerability

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References