{"id":"CVE-2026-81930","published":"2026-09-29T10:00:23Z","modified":"2026-09-29T18:29:50Z","title":"Apache Airflow Snowflake provider: Unvalidated account field redirects SQL API bearer token off-domain","vendor":"Apache","product":"Apache Airflow Snowflake provider","tier":"tail","description":{"text":"Apache Airflow's Snowflake provider did not validate the connection's `account` and `region` fields before interpolating them into request URLs. The SQL API endpoint is built as `https://{account}.snowflakecomputing.com/api/v2/statements`, so an `account` value containing `/`, `?` or `#` demotes the intended domain to a path, query or fragment and leaves the attacker in control of the request host.\n\nThe provider sends that request with an `Authorization: Bearer` header carrying a JWT minted from the connection's private key, or the configured OAuth or programmatic access token. A user who can edit the Snowflake connection but cannot read its secrets — Airflow gives connection-configuration users write-only access to stored credentials, and a `private_key_file` lives on the worker rather than in the connection — can therefore cause a valid token for the account to be delivered to a host of their choosing and replay it against the genuine Snowflake endpoint. No Dag-authoring ability is required: the attacker edits the connection and waits for an existing Dag to use it. The same unvalidated value was also used to build the OAuth token-request URL and the Cortex Agent base URL.\n\nAffects deployments where Snowflake connections are editable by users who are not trusted with the connection's credentials. Users are advised to upgrade to `apache-airflow-providers-snowflake` `6.18.0` or later, which rejects `account` and `region` values containing anything other than letters, digits, `.`, `_` and `-` in every URL the provider builds from them.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00677,"percentile":0.47405,"provenance":"source"},"cwes":[{"id":"CWE-522","name":"Insufficiently Protected Credentials"}],"references":[{"url":"https://github.com/apache/airflow/pull/72174","tags":["patch"]},{"url":"https://lists.apache.org/thread/324jm2mxd5x4nq85jfw1ostz94xwzrmk","tags":["vendor-advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2026/09/29/12","tags":[]}],"priority":{"score":13.9,"factors":[{"name":"EPSS percentile","points":9.48},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache Airflow Snowflake provider","versions":["< 6.18.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-29T18:29:44.043559Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"apache-airflow-providers-snowflake","vulnerableRanges":["<6.18.0"],"patched":["6.18.0"],"from":["PYSEC-2026-4188"],"provenance":"source"}],"summary":{"text":"The Apache Airflow Snowflake provider does not validate the connection's account and region fields before building request URLs from them, so a crafted value can move the request host off the Snowflake domain. An attacker who can edit a Snowflake connection, but cannot read its stored secrets, needs only that edit access, with no Dag-authoring rights and no user interaction, to have a valid bearer token for the account delivered to an attacker-chosen host and then replayed against the real Snowflake endpoint once an existing Dag uses the connection.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:52:27Z"},"euvd":{"id":"EUVD-2026-88696","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-50213","published":"2025-06-24","fixed":"6.4.0","kev":false,"link":{"from":"CVE-2025-50213","to":"CVE-2026-81930","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:apache-airflow-providers-snowflake","fromFixed":"6.4.0","toFixed":"6.18.0","daysApart":462}]}},{"cve":"CVE-2026-81930","published":"2026-09-29","fixed":"6.18.0","kev":false}],"package":"PyPI:apache-airflow-providers-snowflake"}}