CVE-2026-45426: Apache Airflow: Log server JWT authorization bypass via Python lstrip() character stripping allows cross-Dag log access
Exploitation requires the attacker to already be an authenticated Airflow worker holding a valid Log-server JWT issued for at least one Dag. Apache Airflow's Log server authorized JWT tokens against Dag IDs by applying Python's str.lstrip() to the requested path segment when verifying the JWT's sub claim. str.lstrip() strips any of a set of characters from the left (not a prefix), so a JWT issued for a Dag named e.g. daga would authorize log access to any other Dag whose name began with any subset of the characters {d, a, g, } (e.g. dagattacker, aaaatarget, dagsecret). Such an authenticated worker could enumerate and read worker logs of other Dags whose names happened to share that character-class prefix, leaking task output and error traces beyond the documented per-Dag isolation boundary. Affects deployments relying on per-Dag log-access scoping (multi-team, shared-executor, shared-worker topologies). Users are advised to upgrade to apache-airflow 3.2.2 or later.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
apache-airflowto a version that resolves this vulnerability.Fixed in 3.2.2Patch CVE-2026-45426
Event History
Frequently Asked Questions
What is the severity of CVE-2026-45426?
CVE-2026-45426 has a severity rating of low, with a CVSS score of 3.1.
How do I fix CVE-2026-45426?
To fix CVE-2026-45426, apply the available patch provided by Apache Airflow.
What is the nature of the vulnerability in CVE-2026-45426?
CVE-2026-45426 allows a bypass of JWT authorization for the log server, enabling cross-Dag log access.
Is authentication needed to exploit CVE-2026-45426?
Yes, exploitation of CVE-2026-45426 requires the attacker to be an authenticated Airflow worker.
What type of software is affected by CVE-2026-45426?
CVE-2026-45426 affects Apache Airflow, specifically through its log server functionality.