CVE-2026-49297 Apache Airflow Google provider allows path traversal through GCS object names
Attackers with write access to source GCS buckets can use path traversal in object names to overwrite arbitrary files on SFTP servers or worker hosts.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-49297?
CVE-2026-49297 is a high-severity path traversal vulnerability in Apache Airflow Google provider, published on 6 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-22
Which versions are affected by CVE-2026-49297?
3 open source packages ship an affected version, including apache-airflow-providers-google. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
apache-airflow-providers-google PyPI | All versions | 22.2.1 |
apache-airflow-providers-google PyPI | All versions | 22.2.1 |
apache-airflow-providers-google PyPI | All versions | 22.2.1 |
Products include Apache Apache-Airflow-Providers-Google.
How do I fix CVE-2026-49297?
Upgrade apache-airflow-providers-google to 22.2.1 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-49297 being exploited?
There is no known exploitation of CVE-2026-49297 in the wild and no public exploit code.
Other vulnerabilities in Apache Airflow Google provider
- CVE-2023-25691 Apache Airflow Google Provider: Google Cloud Sql Provider Remote Command Execution
- CVE-2026-45361 Apache Airflow providers-google's `ComputeEngineSSHHook` disables SSH host-key verification by default
- CVE-2023-25692 Apache Airflow Google Provider: Google Cloud Sql Provider Denial Of Service
- CVE-2026-68868 Missing authorization in Apache Airflow Google provider
- CVE-2026-81914 Apache Airflow Google provider: Google Drive query injection via unescaped file and folder names
Sources
Also known as ECHO-1108-d5d4-edfc, GHSA-v3mh-27qj-w836, MINI-3r62-9p97-96r7, MINI-67p7-wp4p-75px, PYSEC-2026-2084.