# CVE-2026-49818: Apache Airflow Samba provider: Path traversal in GCSToSambaOperator via GCS object names

- Severity: Medium 6.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.62%, higher than 51% of CVEs (2026-12-01)
- Published: 2026-06-09T07:42:48.028Z
- Modified: 2026-08-04T13:45:07.396Z
- Also known as: GHSA-f6vj-48fm-hmvx, PYSEC-2026-208
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: apache

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

(As written by CVE List.)

## Affected

- apache-airflow-providers-samba: before 4.12.6
- apache-airflow-providers-samba (PyPI): before 4.12.6
- apache apache-airflow-providers-samba: before 4.12.6

## Every score

- CISA-ADP: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- PyPA Advisory Database: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`

## References

- <https://github.com/apache/airflow/pull/67857> (fix, issue-tracking, patch, web)
- <https://lists.apache.org/thread/3vs0m3p51psgf54tts18d6336g24x3sf> (advisory, mailing-list, vendor-advisory, web)
- <http://www.openwall.com/lists/oss-security/2026/06/09/8> (advisory, mailing-list, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-49818> (advisory)
- <https://github.com/apache/airflow/commit/bc1df029af15cb1d35d5ca0d33bf9235500137cc> (web)
- <https://github.com/apache/airflow> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow-providers-samba/PYSEC-2026-208.yaml> (web)
- <https://github.com/advisories/GHSA-f6vj-48fm-hmvx> (advisory)

## Sources

- CVE List: [CVE-2026-49818](https://www.cve.org/CVERecord?id=CVE-2026-49818), CVE Terms of Use, modified 2026-06-10
- GitHub Advisory Database: [GHSA-f6vj-48fm-hmvx](https://github.com/advisories/GHSA-f6vj-48fm-hmvx), CC-BY-4.0, modified 2026-07-31
- NVD: [CVE-2026-49818](https://nvd.nist.gov/vuln/detail/CVE-2026-49818), Public domain, modified 2026-07-23
- PyPA Advisory Database: [PYSEC-2026-208](https://osv.dev/vulnerability/PYSEC-2026-208), CC-BY-4.0, modified 2026-08-04

---

Page: https://cve.day/CVE-2026-49818 · Whole record: https://cve.day/CVE-2026-49818.json · Rebuilt by cve.day 2026-11-25T22:59:24.083Z
