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.
Published: 2026-08-12
Score: 5.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Apache Airflow’s environment-variable secrets backend can resolve a team-scoped Connection or Variable from the wrong team's scope. A guard intended to block this only ran when no team scope was supplied, and could not match team names that include underscores, a valid naming convention. When the guard did not apply, the lookup fell through to an unconditional global read, resolving the stored AIRFLOW_CONN__<TEAM>___<ID> variable regardless of which team requested it. In multi-team mode, an authenticated user of one team could therefore use the POST /api/v2/connections/test endpoint to resolve another team’s Connection and authenticate outward with that team’s credentials; the endpoint uses the credentials rather than merely returning them.

Affected Systems

Apache Software Foundation’s Apache Airflow, versions prior to 3.3.1, in multi-team deployments that enable the environment‑variable secrets backend and the test_connection feature.

Risk and Exploitability

The CVSS score of 5.4 indicates moderate severity. Exploitation requires that multi_team is enabled, test_connection is set to Enabled (the default is Disabled), team‑scoped secrets are provisioned as environment variables in the API‑server process, and the attacker knows the encoded identifier. The EPSS score is not available, and the vulnerability is not listed in CISA's KEV catalog, suggesting a moderate likelihood of exploitation but possibly limited due to the prerequisite conditions.

Generated by OpenCVE AI on August 12, 2026 at 23:43 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Apache Airflow to version 3.3.1 or later.
  • If an upgrade is not immediately feasible, disable multi-team mode by setting [core] multi_team = False.
  • Alternatively, disable the test_connection feature by setting [core] test_connection = Disabled or block the /api/v2/connections/test endpoint through an API gateway.
  • Ensure that environment-variable secrets are not shared across teams or enforce strict team scoping by adjusting the variable naming patterns.

Generated by OpenCVE AI on August 12, 2026 at 23:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 14 Aug 2026 18:30:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:apache:airflow:*:*:*:*:*:*:*:*

Wed, 12 Aug 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 12 Aug 2026 19:30:00 +0000

Type Values Removed Values Added
First Time appeared Apache
Apache airflow
Vendors & Products Apache
Apache airflow

Wed, 12 Aug 2026 18:30:00 +0000

Type Values Removed Values Added
References

Wed, 12 Aug 2026 15:45:00 +0000

Type Values Removed Values Added
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.
Title Apache Airflow: Connections test API: team-scope guard bypass resolves another team's environment Connection
Weaknesses CWE-639
References

cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-08-12T18:58:49.390Z

Reserved: 2026-07-30T09:10:44.222Z

Link: CVE-2026-68076

cve-icon Vulnrichment

Updated: 2026-08-12T17:20:20.969Z

cve-icon NVD

Status : Analyzed

Published: 2026-08-12T16:17:15.223

Modified: 2026-08-14T18:19:08.580

Link: CVE-2026-68076

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-12T23:45:03Z

Weaknesses
  • CWE-639

    Authorization Bypass Through User-Controlled Key