CVE-2026-49818 PUBLISHED

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

Assigner: apache
Reserved: 01.06.2026 Published: 09.06.2026 Updated: 09.06.2026

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.

Product Status

Vendor Apache Software Foundation
Product Apache Airflow Samba provider
Versions Default: unaffected
  • affected from 0 to 4.12.6 (excl.)

Credits

  • secuholic finder
  • Jarek Potiuk remediation developer

References

Problem Types

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') CWE