CVE-2026-49818: Apache Airflow has a Path Traversal issue
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 destinationpath.
Published Jun 9, 2026 · Updated Jul 31, 2026
Affected packages
apache-airflow-providers-samba
- Ecosystem
- PyPI
- Affected
- < 4.12.6
- Fixed in
- 4.12.6
- Check
pip show apache-airflow-providers-samba
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-49818
- https://github.com/apache/airflow/pull/67857
- https://lists.apache.org/thread/3vs0m3p51psgf54tts18d6336g24x3sf
- https://github.com/apache/airflow/commit/bc1df029af15cb1d35d5ca0d33bf9235500137cc
- https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow-providers-samba/PYSEC-2026-208.yaml
- https://github.com/advisories/GHSA-f6vj-48fm-hmvx
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
