CVE-2026-49297
JSON

8.1high

Apache Airflow Google provider: Path traversal via GCS object names → local/SFTP filesystem (GCSToSFTPOperator + GCSTimeSpanFileTransformOperator)

Severity
8.1high CVSS:3.1 by CISA-ADP
Exploit likelihood
0.68% (higher than 53% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
apache
Also known as
GHSA-v3mh-27qj-w836PYSEC-2026-2084

Description

Apache Airflow's Google provider operators `GCSToSFTPOperator` and `GCSTimeSpanFileTransformOperator` joined GCS object names returned by the bucket listing API directly to a destination filesystem path without normalisation or containment check. A user with write access to the source GCS bucket (typically a different trust principal than the DAG author — partner uploads, ingest-only service accounts, public-data buckets) could create an object whose name contains `..` segments and cause the DAG run to write the downloaded blob outside the configured destination (the SFTP `destination_path` for `GCSToSFTPOperator`; the worker-local temp directory for `GCSTimeSpanFileTransformOperator`), enabling overwrite of arbitrary files on the SFTP server or the worker host. Affects deployments that ingest from buckets writable by less-trusted principals. Users are advised to upgrade to `apache-airflow-providers-google` 22.2.1 or later.

Affected

Product or packageVersionsReported by
apache-airflow-providers-googlebefore 22.2.1CVE List
apache-airflow-providers-google (PyPI)before 22.2.1GitHub Advisory Database, PyPA Advisory Database
apache apache-airflow-providers-googlebefore 22.2.1NVD

All scores

CISA-ADP8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
GitHub8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
PyPA Advisory Database8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

Classification

CWE-22

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

Apache Airflow's Google provider operators `GCSToSFTPOperator` and `GCSTimeSpanFileTransformOperator` joined GCS object names returned by the bucket listing API directly to a destination filesystem path without normalisation or containment check. A user with write access to the source GCS bucket (typically a different trust principal than the DAG author — partner uploads, ingest-only service accounts, public-data buckets) could create an object whose name contains `..` segments and cause the DAG run to write the downloaded blob outside the configured destination (the SFTP `destination_path` for `GCSToSFTPOperator`; the worker-local temp directory for `GCSTimeSpanFileTransformOperator`), enabling overwrite of arbitrary files on the SFTP server or the worker host. Affects deployments that ingest from buckets writable by less-trusted principals. Users are advised to upgrade to `apache-airflow-providers-google` 22.2.1 or later.

NVD (es)

Los operadores del proveedor de Google de Apache Airflow ’GCSToSFTPOperator’ y ’GCSTimeSpanFileTransformOperator’ unieron los nombres de objetos de GCS devueltos por la API de listado de buckets directamente a una ruta del sistema de archivos de destino sin normalización ni verificación de contención. Un usuario con acceso de escritura al bucket GCS de origen (típicamente un principal de confianza diferente al autor del DAG - cargas de socios, cuentas de servicio de solo ingesta, buckets de datos públicos) podría crear un objeto cuyo nombre contenga segmentos ’..’ y hacer que la ejecución del DAG escriba el blob descargado fuera del destino configurado (la ’destination_path’ SFTP para ’GCSToSFTPOperator’; el directorio temporal local del trabajador para ’GCSTimeSpanFileTransformOperator’), permitiendo la sobrescritura de archivos arbitrarios en el servidor SFTP o en el host del trabajador. Afecta a las implementaciones que ingieren desde buckets escribibles por principales menos confiables. Se aconseja a los usuarios actualizar a ’apache-airflow-providers-google’ 22.2.1 o posterior.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-49297 changed 2026-07-06CVE Terms of Use
GitHub Advisory DatabaseGHSA-v3mh-27qj-w836 changed 2026-09-04CC-BY-4.0
NVDCVE-2026-49297 changed 2026-10-25Public domain
PyPA Advisory DatabasePYSEC-2026-2084 changed 2026-09-10CC-BY-4.0