# CVE-2026-81930: Apache Airflow Snowflake provider: Unvalidated account field redirects SQL API bearer token off-domain

- Severity: Medium 6.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- 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.43%, higher than 39% of CVEs (2026-12-01)
- Published: 2026-09-29T10:00:23.666Z
- Modified: 2026-10-08T10:00:03.975Z
- Also known as: PYSEC-2026-4188
- Weaknesses: CWE-522
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: apache

## Description

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.

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

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

(As written by CVE List.)

## Affected

- apache-airflow-providers-snowflake: before 6.18.0
- apache apache-airflow-providers-snowflake: before 6.18.0
- apache-airflow-providers-snowflake (PyPI): before 6.18.0

## Every score

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

## References

- <https://github.com/apache/airflow/pull/72174> (fix, issue-tracking, patch)
- <https://lists.apache.org/thread/324jm2mxd5x4nq85jfw1ostz94xwzrmk> (advisory, mailing-list, vendor-advisory)
- <http://www.openwall.com/lists/oss-security/2026/09/29/12> (advisory, mailing-list, third-party-advisory)

## Sources

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

---

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