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

- Severity: Medium 4.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.42%, higher than 38% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-29T09:58:12.848Z
- Modified: 2026-10-08T10:00:02.913Z
- Also known as: PYSEC-2026-4187
- Weaknesses: CWE-943
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: apache

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

(As written by CVE List.)

## Affected

- apache-airflow-providers-google: before 22.6.0
- apache apache-airflow-providers-google: before 22.6.0
- apache-airflow-providers-google (PyPI): before 22.6.0

## Every score

- CISA-ADP: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- PyPA Advisory Database: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/apache/airflow/pull/72166> (exploit, fix, patch)
- <https://lists.apache.org/thread/90osv795jrqds051y7v3lcdzhsospooo> (advisory, mailing-list, vendor-advisory)
- <http://www.openwall.com/lists/oss-security/2026/09/29/13> (advisory, mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2026-81914](https://www.cve.org/CVERecord?id=CVE-2026-81914), CVE Terms of Use, modified 2026-09-29
- NVD: [CVE-2026-81914](https://nvd.nist.gov/vuln/detail/CVE-2026-81914), Public domain, modified 2026-10-07
- PyPA Advisory Database: [PYSEC-2026-4187](https://osv.dev/vulnerability/PYSEC-2026-4187), CC-BY-4.0, modified 2026-10-08

---

Page: https://cve.day/CVE-2026-81914 · Whole record: https://cve.day/CVE-2026-81914.json · Rebuilt by cve.day 2026-11-25T22:59:41.428Z
