{"id":"CVE-2026-81914","state":"PUBLISHED","title":"Apache Airflow Google provider: Google Drive query injection via unescaped file and folder names","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.\n\nThe 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.\n\nAffects 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.","publishedAt":"2026-09-29T09:58:12.848Z","updatedAt":"2026-09-29T20:03:23.525Z","severity":{"score":4.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","source":"CISA-ADP"},"assigner":"apache","products":["Apache Software Foundation Apache Airflow Google provider"],"affected":[{"vendor":"Apache Software Foundation","product":"Apache Airflow Google provider","packageName":"apache-airflow-providers-google","packageURL":"pkg:pypi/apache-airflow-providers-google","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"22.6.0","versionType":"semver"}],"collectionURL":"https://pypi.python.org"}],"references":["https://github.com/apache/airflow/pull/72166","https://lists.apache.org/thread/90osv795jrqds051y7v3lcdzhsospooo","http://www.openwall.com/lists/oss-security/2026/09/29/13"],"weaknesses":["CWE-943"],"ingestedAt":"2026-10-29T20:13:15.269Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/81xxx/CVE-2026-81914.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-81914","state":"PUBLISHED","datePublished":"2026-09-29T09:58:12.848Z","dateUpdated":"2026-09-29T20:03:23.525Z","assignerShortName":"apache","assignerOrgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateReserved":"2026-08-27T18:22:42.521Z"},"containers":{"cna":{"title":"Apache Airflow Google provider: Google Drive query injection via unescaped file and folder names","descriptions":[{"lang":"en","value":"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.\n\nThe 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.\n\nAffects 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."}],"affected":[{"vendor":"Apache Software Foundation","product":"Apache Airflow Google provider","packageName":"apache-airflow-providers-google","packageURL":"pkg:pypi/apache-airflow-providers-google","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"22.6.0","versionType":"semver"}],"collectionURL":"https://pypi.python.org"}],"references":[{"url":"https://github.com/apache/airflow/pull/72166","tags":["patch"]},{"url":"https://lists.apache.org/thread/90osv795jrqds051y7v3lcdzhsospooo","tags":["vendor-advisory"]}],"metrics":[{"other":{"content":{"text":"low"},"type":"Textual description of severity"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-943","description":"CWE-943: Improper Neutralization of Special Elements in Data Query Logic","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"apache","orgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateUpdated":"2026-09-29T10:00:09.996Z"},"credits":[{"lang":"en","type":"tool","value":"Claude Security Scans"},{"lang":"en","type":"remediation developer","value":"Jarek Potiuk"}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"airflow-s/generate_cve_json.py"}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2026/09/29/13"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2026-09-29T11:08:14.970Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":4.3,"attackVector":"NETWORK","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"NONE","privilegesRequired":"LOW","confidentialityImpact":"LOW"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-09-29T20:02:49.245279Z","id":"CVE-2026-81914","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-29T20:03:23.525Z"}}]}}}