Medium

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 supplie

  • Disclosed: 12.08.2026
  • Updated: 15.10.2026 18:17

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.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Python (PyPI) apache-airflow < 3.3.1 3.3.1

References

CVSS score 5.4/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L
Weakness (CWE)
CWE-639
Platform
Python (PyPI)
Package
apache-airflow
Disclosed
12.08.2026
Updated
15.10.2026 18:17

Sources and licenses

OSV / GitHub Advisory Database - PYSEC-2026-3709 - PyPA Advisory Database; CC BY 4.0

OSV / GitHub Advisory Database - GHSA-75mg-c62r-v95g - CC BY 4.0

Vulnerability history: apache-airflow

All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (158) in the archive
Total entries
158
First → latest
08.2018 09.2026
Without a fix
4
Exploited in attacks
2

Severity breakdown

  • Critical 16
  • High 49
  • Medium 86
  • Low 7

Disclosures per year

  1. 2018: 1
  2. 2019: 8
  3. 2020: 12
  4. 2021: 5
  5. 2022: 16
  6. 2023: 31
  7. 2024: 18
  8. 2025: 6
  9. 2026: 61
Severity:
  1. 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 supplie this entry
    Medium · 5.4 CVE-2026-68076 < 3.3.1 3.3.1
  2. High · 7.3 CVE-2026-45360 >= 3.2.0, < 3.2.2 3.2.2
  3. High · 7.5 CVE-2026-31987 >= 3.0.0, < 3.2.0 3.2.0
  4. High · 8.1 CVE-2025-54550 < 3.2.0 3.2.0
  5. Critical · 9.1 CVE-2025-57735 >= 3.0.0, < 3.2.0 3.2.0
Show more (20) Showing 20 of 66

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.