Advisory

GHSA-v3mh-27qj-w836

Also known as: CVE-2026-49297, PYSEC-2026-2084

Summary

Apache Airflow Google provider allows path traversal through GCS object names

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-07-06 12:31 UTC
Modified
2026-09-04 19:40 UTC

Affected packages and fixes

apache-airflow-providers-google

PyPI · All systems

Affected

  • introduced 0, fixed 22.2.1 (ecosystem)

Fixed versions

22.2.1

Fix

  • Fixed version 22.2.1
    pip install --upgrade apache-airflow-providers-google==22.2.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences