GitHub Advisoryadvisory · PyPI
GHSA-v3mh-27qj-w836 Apache Airflow Google provider allows path traversal through GCS object names
HIGH
Official page ↗
- Aliases
- CVE-2026-49297
- Ecosystem
- PyPI
- Packages
- apache-airflow-providers-google
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
- Weaknesses
- CWE-22
- Reviewed
- 2026-09-04
Affected packages
• PyPI apache-airflow-providers-google: < 22.2.1 → fixed in 22.2.1
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.
Related
Alias · CVE (1)
- CVE-2026-49297 Apache Airflow's Google provider operators `GCSToSFTPOperator` and `GCSTimeSpanFileTransformOperator` joined GCS object names returned by… vulnerability
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-49297 advisory
- https://github.com/apache/airflow/pull/67667 web
- https://github.com/apache/airflow/commit/0385bae70553223677753047b3e779d8b86b15c4 web
- https://github.com/apache/airflow package
- https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow-providers-google/PYSEC-2026-2084.yaml web
- https://lists.apache.org/thread/[email protected] web
- http://www.openwall.com/lists/oss-security/2026/07/04/8 web