CVE-2026-49297: Apache airflow providers google Path Traversal Vulnerability
HIGHCVE-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
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).
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.
pip install apache-airflow-providers-google>=22.2.1
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
CVE-2026-49297 Affected Apache airflow providers google Versions
1 component(s)| 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?
Which Apache airflow providers google versions are affected?
What version fixes CVE-2026-49297?
Is apache-airflow-providers-google affected?
What is the CVSS score of CVE-2026-49297?
What CWE is associated with CVE-2026-49297?
How can I check PyPI dependencies for CVE-2026-49297?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}