CVE-2026-49297: Apache airflow providers google Path Traversal Vulnerability

HIGH
Advisory Identifier: GHSA-v3mh-27qj-w836
CVSS 8.1
CWE-22
Published
Advisory Summary

CVE-2026-49297 is a HIGH (CVSS 8.1) path traversal vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) affecting Apache airflow providers google libraries in the PyPI ecosystem. The issue involves apache airflow google provider allows path traversal through gcs object names. Remediation is available by upgrading affected packages to version 22.2.1.

CVE-2026-49297 at a Glance

CVE Identifier CVE-2026-49297
GHSA Identifier GHSA-v3mh-27qj-w836
Severity HIGH
CVSS v3.1 Base Score 8.1
CWE Classification CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected Product Apache airflow providers google
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 8.1

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2026-49297

To remediate this vulnerability, upgrade all affected Apache airflow providers google dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

apache-airflow-providers-google fixed: 22.2.1
pip install apache-airflow-providers-google>=22.2.1
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show apache-airflow-providers-google

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2026-49297, inspect your installed packages using pip:

pip show apache-airflow-providers-google

Analyze the terminal output to locate any version of Apache airflow providers google in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 22.2.1), your application is affected.

Note: The pip show apache-airflow-providers-google command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'), where the product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. In Apache airflow providers google, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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.

CVE-2026-49297 Affected Apache airflow providers google Versions

1 component(s)
Fixed Versions:
22.2.1
Product / Package Ecosystem Affected Versions Fixed Version
apache-airflow-providers-google
PyPI
< 22.2.1
22.2.1

References

Frequently Asked Questions

What is CVE-2026-49297?
CVE-2026-49297 is a security vulnerability in Apache airflow providers google involving Apache Airflow Google provider allows path traversal through GCS object names under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal').
Which Apache airflow providers google versions are affected?
Affected versions include releases prior to 22.2.1 across affected packages: apache-airflow-providers-google.
What version fixes CVE-2026-49297?
Upgrading to 22.2.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is apache-airflow-providers-google affected?
Yes, apache-airflow-providers-google is affected in releases prior to 22.2.1. Upgrade your dependency to 22.2.1 or later.
What is the CVSS score of CVE-2026-49297?
CVE-2026-49297 has a CVSS v3.1 base score of 8.1 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H.
What CWE is associated with CVE-2026-49297?
CVE-2026-49297 is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.).
How can I check PyPI dependencies for CVE-2026-49297?
Run the dependency tree command: 'pip show apache-airflow-providers-google'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-v3mh-27qj-w836",
  "modified" : "2026-09-04T19:22:13Z",
  "published" : "2026-07-06T12:31:30Z",
  "aliases" : [ "CVE-2026-49297" ],
  "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" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "apache-airflow-providers-google"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "22.2.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-49297"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/airflow/pull/67667"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/airflow/commit/0385bae70553223677753047b3e779d8b86b15c4"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/apache/airflow"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow-providers-google/PYSEC-2026-2084.yaml"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread/cb5nvoxsj1q7rv878cyqgtg150w0zglq?users@airflow.apache.org"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2026/07/04/8"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-22" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-09-04T19:22:13Z",
    "nvd_published_at" : "2026-07-06T11:16:30Z"
  }
}