CVE-2026-81930
JSON

6.3medium

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

Severity
6.3medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.43% (higher than 39% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
apache
Also known as
PYSEC-2026-4188

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.

Affected

Product or packageVersionsReported by
apache-airflow-providers-snowflakebefore 6.18.0CVE List
apache apache-airflow-providers-snowflakebefore 6.18.0NVD
apache-airflow-providers-snowflake (PyPI)before 6.18.0PyPA Advisory Database

All scores

CISA-ADP6.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
PyPA Advisory Database6.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Classification

CWE-522

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-81930 changed 2026-09-29CVE Terms of Use
NVDCVE-2026-81930 changed 2026-10-07Public domain
PyPA Advisory DatabasePYSEC-2026-4188 changed 2026-10-08CC-BY-4.0