Home

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.

PUBLISHED Reserved 2026-05-28 | Published 2026-07-06 | Updated 2026-07-06 | Assigner apache

Problem types

CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Product status

Default status
unaffected

Any version before 22.2.1
affected

Credits

anonymous finder

Jarek Potiuk remediation developer

References

www.openwall.com/lists/oss-security/2026/07/04/8

github.com/apache/airflow/pull/67667 patch

lists.apache.org/...cyqgtg150w0zglq?users@airflow.apache.org vendor-advisory

cve.org (CVE-2026-49297)

nvd.nist.gov (CVE-2026-49297)

Download JSON