CVE-2026-68076Apache Airflow: Connections test API: team-scope guard bypass resolves another team's…
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 `AIRFLOW_CONN__<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] multi_team` enabled, `[core] test_connection` 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.
What to do
Fixed builds are available from PyPI: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| PyPI library | apache-airflow | Fixed | 3.3.1 | GHSA-75mg-c62r-v95g |
What the vendor says
As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Apache Software Foundation Apache Airflow: affected: before 3.0.0; fixed in
3.0.0 - Apache Software Foundation Apache Airflow: affected: 3.0.0 to before 3.3.1; fixed in
3.3.1
Vendor advisories:
- https://github.com/apache/airflow/pull/70736 (patch)
- https://github.com/apache/airflow/pull/70886 (patch)
- https://github.com/apache/airflow/pull/70902 (patch)
- https://lists.apache.org/thread/v4mc51dgmrc1t82mhzsngsgzo2gxsf2l (vendor-advisory)
References
- https://github.com/apache/airflow/pull/70736
- https://github.com/apache/airflow/pull/70886
- https://github.com/apache/airflow/pull/70902
- https://lists.apache.org/thread/v4mc51dgmrc1t82mhzsngsgzo2gxsf2l
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.