CVE-2026-81914 Apache Airflow Google provider: Google Drive query injection via unescaped file and folder names
Attackers can inject Google Drive query clauses via unescaped file names, potentially redirecting uploads or substituting downloaded files in Airflow workflows.
- 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-81914?
CVE-2026-81914 is a medium-severity code injection vulnerability in Apache Airflow Google provider, published on 29 Sep 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Apache Airflow's Google provider built Google Drive search expressions by interpolating file and folder names directly into single-quoted string literals, without escaping the quote character that delimits them. A name containing an apostrophe therefore terminated the literal early and appended clauses of the attacker's choosing to the query.
The names are frequently not written by the Dag author. In a wildcard `gcs_to_gdrive` transfer they come from the source bucket listing, so anyone able to create objects in that bucket controls them — typically an external data producer or an ingest-only service account, a different trust principal from the Dag author. An injected clause can broaden the match and so steer which file or folder the hook resolves: an upload can be directed into a folder the attacker named, and, because downloads select the most recently modified match, a download can return a file they placed rather than the one the Dag asked for.
Affects deployments passing externally-sourced names to the Google Drive hook, including wildcard `gcs_to_gdrive` transfers from buckets writable by less-trusted principals. Users are advised to upgrade to `apache-airflow-providers-google` `22.6.0` or later, which escapes quote and backslash characters in every value interpolated into a Drive query.
Weakness: CWE-943
Which versions are affected by CVE-2026-81914?
1 open source package 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.6.0 |
Products include Apache Apache-Airflow-Providers-Google.
How do I fix CVE-2026-81914?
Upgrade apache-airflow-providers-google to 22.6.0 or later.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2026-81914 being exploited?
There is no known exploitation of CVE-2026-81914 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-49297 Apache Airflow Google provider allows path traversal through GCS object names
- 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
Sources
Also known as GHSA-g995-5p95-2fw6, PYSEC-2026-4187.