CVE-2026-22922: Apache Airflow: Airflow externalLogUrl Permission Bypass
Vulnerability Overview
An authorization bypass vulnerability exists in Apache Airflow that allows authenticated users to access task execution logs without the required permissions.
The Flaw
The vulnerability affects environments using custom roles or granular permission settings. Normally, Airflow allows administrators to separate "Task" access (viewing the task state) from "Task Log" access (viewing the console output/logs).
In affected versions, the permission check for retrieving logs is insufficient. An authenticated user who has been granted access to view Tasks can successfully request and view Task Logs, even if they do not have the specific canread permission for Logs.
Impact
- Confidentiality Loss: Task logs often contain sensitive operational data, debugging information, or potentially leaked secrets (environment variables, connection strings) that should not be visible to all users with basic task access. - Broken Access Control: This bypasses the intended security model for restricted user roles.
Affected Versions
- Apache Airflow 3.1.0 through 3.1.6
Patches
Users should upgrade to Apache Airflow 3.1.7 or later, which enforces the correct permission checks for log access.
Other sources
Apache Airflow versions 3.1.0 through 3.1.6 contain an authorization flaw that can allow an authenticated user with custom permissions limited to task access to view task logs without having task log access.
Users are recommended to upgrade to Apache Airflow 3.1.7 or later, which resolves this issue.
— MITRE
Affected Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is the severity of CVE-2026-22922?
CVE-2026-22922 has been classified as a high severity vulnerability due to the potential for unauthorized access to sensitive task logs.
How do I fix CVE-2026-22922?
To fix CVE-2026-22922, users should upgrade Apache Airflow to version 3.1.7 or later.
What versions of Apache Airflow are affected by CVE-2026-22922?
Apache Airflow versions 3.1.0 through 3.1.6 are affected by CVE-2026-22922.
What kind of authorization flaw is associated with CVE-2026-22922?
CVE-2026-22922 involves a permission bypass that allows users with limited task access to view task logs without proper permissions.
Who should be concerned about CVE-2026-22922?
Users of Apache Airflow versions 3.1.0 through 3.1.6 should be concerned about CVE-2026-22922 and take immediate action to upgrade.