CVE-2026-68076: Apache Airflow: Connections test API: team-scope guard bypass resolves another team's environment Connection
Apache Airflow's environment-variable secrets backend resolved a team-scoped Connection or Variable from the wrong team's scope. The guard meant to prevent this only ran when no team scope was supplied, and its pattern could not match a team name containing an underscore, which team names are allowed to contain. When the guard did not apply, the lookup fell through to an unconditional global read that resolved the stored AIRFLOWCONN<TEAM><ID> variable regardless of which team asked. In multi-team mode an authenticated user of one team could therefore have POST /api/v2/connections/test resolve another team's Connection and authenticate outward with that team's credentials; the endpoint uses the credentials rather than returning them. Exploitation requires [core] multiteam enabled, [core] testconnection set to Enabled (it ships Disabled), team-scoped secrets provisioned as environment variables in the API-server process, and knowledge of the encoded identifier. Redirecting the test at an attacker-controlled host is separately blocked. Users are advised to upgrade to apache-airflow 3.3.1 or later.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
apache-airflowto a version that resolves this vulnerability.Fixed in 3.3.1
Event History
Frequently Asked Questions
What is the severity of CVE-2026-68076?
CVE-2026-68076 has a risk score of 47, indicating a moderate threat level.
How do I fix CVE-2026-68076?
To mitigate CVE-2026-68076, ensure that team scope is correctly defined and validate team names to prevent underscore usage.
Which versions of Apache Airflow are affected by CVE-2026-68076?
CVE-2026-68076 affects specific versions of Apache Airflow that utilize the environment-variable secrets backend.
What impact does CVE-2026-68076 have on Apache Airflow security?
CVE-2026-68076 can allow unauthorized access to another team's Connection or Variable, compromising data confidentiality.
When was CVE-2026-68076 published?
CVE-2026-68076 was published on August 12, 2026.