What’s Vulnerable › Vulnerabilities
CVE-2026-49818: Apache Airflow Samba provider: Path traversal in GCSToSambaOperator via GCS object names
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-06-09 · updated 2026-07-23
- Weakness: CWE-22
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 products
- Apache Software Foundation Apache Airflow Samba provider: before 4.12.6 — fixed in 4.12.6
How to fix
Upgrade to a fixed version: Apache Software Foundation Apache Airflow Samba provider 4.12.6. Check the vendor advisory for mitigations.
References
- https://github.com/apache/airflow/pull/67857
- https://lists.apache.org/thread/3vs0m3p51psgf54tts18d6336g24x3sf
- http://www.openwall.com/lists/oss-security/2026/06/09/8
Get alerted when CVE-2026-49818 or the next vulnerability affects your stack