CVE-2026-49818
JSON

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 packageVersionsReported by
apache-airflow-providers-sambabefore 4.12.6CVE List
apache-airflow-providers-samba (PyPI)before 4.12.6GitHub Advisory Database, PyPA Advisory Database
apache apache-airflow-providers-sambabefore 4.12.6NVD

All scores

CISA-ADP6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
GitHub6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
PyPA Advisory Database6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Classification

CWE-22

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

Sources

SourceRecordLicence
CVE ListCVE-2026-49818 changed 2026-06-10CVE Terms of Use
GitHub Advisory DatabaseGHSA-f6vj-48fm-hmvx changed 2026-07-31CC-BY-4.0
NVDCVE-2026-49818 changed 2026-07-23Public domain
PyPA Advisory DatabasePYSEC-2026-208 changed 2026-08-04CC-BY-4.0