High severity · published Apr 16, 2026
CVE-2026-31987
Apache Airflow: JWT token appearing in logs
7.5
CVSS
0.7%
EPSS
No
On KEV
Description
JWT Tokens used by tasks were exposed in logs. This could allow UI users to act as Dag Authors.
Users are advised to upgrade to Airflow version that contains fix.
Users are recommended to upgrade to version 3.2.0, which fixes this issue.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.7% · higher than 54% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
AA
Apache Airflow · Apache Software Foundation
3.0.0 before 3.2.0 · source: vendor
AI
Airflow · Apache
3.0.0 before 3.2.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-31987
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-31987
Issue Tracking
https://github.com/apache/airflow/issues/62428
Issue Tracking
https://github.com/apache/airflow/issues/62773
Issue Tracking
https://github.com/apache/airflow/pull/62964
Mailing List
https://lists.apache.org/thread/pvsrtxzwo9xy6xgknmwslv4zrw70kt6g
Mailing List
http://www.openwall.com/lists/oss-security/2026/04/16/7
More from Apache Airflow
8.8
CVE-2020-11978
Apache Airflow Command Injection
9.8
CVE-2026-33264
Apache Airflow: DAG author RCE on webserver via unrestricted import_string() in BaseSerialization.deserialize()
9.8
CVE-2017-17836
In Apache Airflow 1.8.2 and earlier, an experimental Airflow feature displayed authenticated cookies, as well as passwords to databases used by Airflow
9.1
CVE-2026-86473
Apache Airflow: Logout ignores a presented Authorization bearer token, leaving it revocable only by expiry
9.1
CVE-2026-42252
Apache Airflow: BashOperator Jinja2 injection via dag_run.conf — low-privilege user pattern
