GitHub Advisoryadvisory · PyPI
GHSA-75mg-c62r-v95g Apache Airflow environment-variable secrets backend permits cross-team credential use
MEDIUM
Official page ↗
- Aliases
- CVE-2026-68076
- Ecosystem
- PyPI
- Packages
- apache-airflow
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L
- Weaknesses
- CWE-639
- Reviewed
- 2026-10-02
Affected packages
• PyPI apache-airflow: < 3.3.1 → 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_____` 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.
Related
Alias · CVE (1)
- CVE-2026-68076 Apache Airflow's environment-variable secrets backend resolved a team-scoped Connection or Variable from the wrong team's scope. vulnerability
Weakness · CWE (1)
- CWE-639 Authorization Bypass Through User-Controlled Key weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-68076 advisory
- https://github.com/apache/airflow/pull/70736 web
- https://github.com/apache/airflow/pull/70886 web
- https://github.com/apache/airflow/pull/70902 web
- https://github.com/apache/airflow/commit/e0cac1f6b2ddd473c9e6440ee0acc32b7b6581fc web
- https://github.com/apache/airflow/commit/ed87a1a024a55aaa494e6a718cb876f0cbe47b44 web
- https://github.com/apache/airflow package
- https://github.com/apache/airflow/releases/tag/3.3.1 web
- https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2026-3709.yaml web
- https://lists.apache.org/thread/v4mc51dgmrc1t82mhzsngsgzo2gxsf2l web
- http://www.openwall.com/lists/oss-security/2026/08/12/11 web