CVE-2026-81914: Apache Airflow Google provider: Google Drive query injection via unescaped file and folder names

Published Sep 29, 2026
·
Updated

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 gcstogdrive 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 gcstogdrive 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.

Affected Software

1 affected component
pypi/apache-airflow-providers-google<22.6.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade apache-airflow-providers-google to a version that resolves this vulnerability.

    Fixed in 22.6.0

Event History

Sep 29, 2026
CVE Published
via MITRE·09:58 AM
Data Sourced
via MITRE·09:58 AM
DescriptionWeakness
Data Sourced
via NVD·10:17 AM
DescriptionWeakness

Frequently Asked Questions

1

Which deployments are realistically exposed?

Deployments that pass externally sourced file or folder names to the Google Drive hook are affected. This includes wildcard gcs_to_gdrive transfers when the source bucket can be written by less-trusted principals, such as external data producers or ingest-only service accounts.

2

What access does an attacker need?

The attacker needs the ability to create an object with a crafted name in a source bucket whose contents are used by the workflow. They do not need to be the DAG author if a different, less-trusted principal can write to that bucket.

3

What could an attacker achieve through a crafted object name?

A crafted apostrophe can alter the Google Drive search query and broaden its match. This can steer an upload into an attacker-named folder or cause a download to return an attacker-placed file, since downloads select the most recently modified matching file or folder.

4

How can teams identify workflows at risk?

Review workflows that use the Google Drive hook, especially wildcard gcs_to_gdrive transfers. Prioritize those where object names or folder names originate from buckets writable by principals that are not trusted to control Google Drive query inputs.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203