CVE-2026-81930
Apache Airflow Snowflake provider: Unvalidated account field redirects SQL API bearer token off-domain
Also known as PYSEC-2026-4188
Mitigation
- Upgrade apache-airflow-providers-snowflake to 6.18.0 or later.
Who should check
- Projects that depend on PyPI package apache-airflow-providers-snowflake (< 6.18.0)
- Anyone running Apache Software Foundation Apache Airflow Snowflake provider < 6.18.0
Vulnerability facts
- Affected
- apache-airflow-providers-snowflake < 6.18.0
- Fixed in
- 6.18.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 6.3 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: Low
- Integrity impact: Low
- Availability impact: Low
- EPSS
- 0.68% chance of exploitation in 30 days (percentile 47, 2026-11-26)
- CWE
- CWE-522
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| PyPI apache-airflow-providers-snowflake | < 6.18.0 | 6.18.0 | osv |
| Apache Software Foundation Apache Airflow Snowflake provider | < 6.18.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-81930. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-81930.md Affected: apache-airflow-providers-snowflake < 6.18.0 Fixed in: 6.18.0 Steps: 1. Search this machine and project for apache-airflow-providers-snowflake (PyPI), Apache Software Foundation Apache Airflow Snowflake provider: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2026-81930 being exploited?
There is no confirmed exploitation: CVE-2026-81930 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.68% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-81930?
Medium: CVSS 6.3 (v3.1, scored by CNA). Remote, login needed.
Which versions are affected by CVE-2026-81930?
apache-airflow-providers-snowflake < 6.18.0.
Is there a fix for CVE-2026-81930?
Yes. Fixed in 6.18.0. Upgrade apache-airflow-providers-snowflake to 6.18.0 or later.
How do I check if I'm affected by CVE-2026-81930?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.