6.5medium
Apache Airflow Samba provider: Path traversal in GCSToSambaOperator via GCS object names
- Severity
- 6.5medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.62% (higher than 51% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- apache
- Also known as
- GHSA-f6vj-48fm-hmvxPYSEC-2026-208
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
| Product or package | Versions | Reported by |
|---|---|---|
| apache-airflow-providers-samba | before 4.12.6 | CVE List |
| apache-airflow-providers-samba (PyPI) | before 4.12.6 | GitHub Advisory Database, PyPA Advisory Database |
| apache apache-airflow-providers-samba | before 4.12.6 | NVD |
All scores
| CISA-ADP | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| GitHub | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| PyPA Advisory Database | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
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`.
NVD (es)
El 'GCSToSambaOperator' del proveedor Samba de Apache Airflow unía nombres de objetos de GCS a la ruta de destino SMB sin una verificación de contención, por lo que un objeto nombrado con segmentos '../' resolvía una ruta de escritura fuera de la 'destination_path' configurada. Un atacante capaz de escribir objetos en el bucket GCS de origen - típicamente un productor de datos externo distinto del autor de DAG de confianza - podría escribir archivos en ubicaciones arbitrarias en el destino Samba cuando el operador se ejecutaba. Actualice apache-airflow-providers-samba a la versión 4.12.6 o posterior, que valida que el destino resuelto permanezca dentro de 'destination_path'.
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-49818 changed 2026-06-10 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-f6vj-48fm-hmvx changed 2026-07-31 | CC-BY-4.0 |
| NVD | CVE-2026-49818 changed 2026-07-23 | Public domain |
| PyPA Advisory Database | PYSEC-2026-208 changed 2026-08-04 | CC-BY-4.0 |