Vulnerability 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`.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Apache | Apache-Airflow-Providers-Samba | < 4.12.6 |
Related Weaknesses (CWE)
References
- https://github.com/apache/airflow/pull/67857Issue TrackingPatch
- https://lists.apache.org/thread/3vs0m3p51psgf54tts18d6336g24x3sfMailing ListVendor Advisory
- http://www.openwall.com/lists/oss-security/2026/06/09/8Mailing ListThird Party Advisory
FAQ
What is CVE-2026-49818?
CVE-2026-49818 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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 o...
How severe is CVE-2026-49818?
CVE-2026-49818 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-49818?
Check the references section above for vendor advisories and patch information. Affected products include: Apache Apache-Airflow-Providers-Samba.