Security mailing lists by PureSourceCode

CVE-2026-81930

MEDIUM 6.3CVSS 3.1

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.

Published
29 Sep 2026
Last modified
8 Oct 2026
Assigned by
security@apache.org
NVD status
Analyzed
Weakness
CWE-522
Also known as
PYSEC-2026-4188
Sources
NVDJSONOSV PYSEC-2026-4188JSON

Scores

SourceScored byVersionScoreVector / decision
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 MEDIUM 6.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
OSV PyPA CVSS 3.1 MEDIUM 6.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD apache apache-airflow-providers-snowflake
cpe:2.3:a:apache:apache-airflow-providers-snowflake:*:*:*:*:*:*:*:*
< 6.18.0 6.18.0
OSV PyPI apache-airflow-providers-snowflake < 6.18.0 6.18.0

References

History

  • 25 Nov 2026 21:21 UTC · NVD: first stored (published 29 Sep 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Sep 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.