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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.1
- **CVSS:** 8.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.99% (percentile 62, 2026-11-28)
- **CWE:** CWE-22
- **Aliases:** GHSA-v3mh-27qj-w836, PYSEC-2026-2084
- **Published:** 2026-07-06T09:54:07.148Z
- **Modified:** 2026-10-25T15:10:00.147Z

## Who should check

- Projects that depend on PyPI package apache-airflow-providers-google (\< 22.2.1)
- Anyone running Apache Software Foundation Apache Airflow Google provider \< 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.

## Affected and fixed versions

- PyPI `apache-airflow-providers-google`: affected \< 22.2.1; fixed 22.2.1 (osv)
- Apache Software Foundation Apache Airflow Google provider: \< 22.2.1 (cvelist)

## Mitigation

- Upgrade apache-airflow-providers-google to 22.2.1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-49297. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-49297.md
Affected: apache-airflow-providers-google < 22.2.1
Fixed in: 22.2.1

Steps:
1. Search this machine and project for apache-airflow-providers-google (PyPI), Apache Software Foundation Apache Airflow Google provider: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-49297 being exploited?

There is no confirmed exploitation: CVE-2026-49297 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.99% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-49297?

High: CVSS 8.1 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2026-49297?

apache-airflow-providers-google \< 22.2.1.

### Is there a fix for CVE-2026-49297?

Yes. Fixed in 22.2.1. Upgrade apache-airflow-providers-google to 22.2.1 or later.

### How do I check if I'm affected by CVE-2026-49297?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://lists.apache.org/thread/cb5nvoxsj1q7rv878cyqgtg150w0zglq?users@airflow.apache.org>
- vendor: <http://www.openwall.com/lists/oss-security/2026/07/04/8>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-49297>
- vendor: <https://github.com/advisories/GHSA-v3mh-27qj-w836>
- patch: <https://github.com/apache/airflow/pull/67667>
- patch: <https://github.com/apache/airflow/commit/0385bae70553223677753047b3e779d8b86b15c4>
- other: <https://github.com/apache/airflow>
- other: <https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow-providers-google/PYSEC-2026-2084.yaml>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-49297>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-v3mh-27qj-w836> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-2084> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-49297> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-49297>
