CVE-2026-31987: JWT Tokens used by tasks were exposed in logs
CVE-2026-31987 is a high-severity flaw (CVSS 7.5) affecting airflow. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
- Remotely exploitable, no login, no user action
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.5 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.7% (top 46%) |
| CISA exploited list | No |
| Weakness | CWE-532 |
| Published | 2026-04-16 |
| Last modified | 2026-10-26 |
Last updated 2026-10-26 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-31987?
airflow: upgrade to 3.2.0. Exact commands for each OS are on this page.
Is CVE-2026-31987 being exploited?
CVE-2026-31987 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-31987 affect?
CVE-2026-31987 affects airflow. Severity is high (CVSS 7.5). 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.
How urgent is CVE-2026-31987?
Priority 50/100. High severity; Remotely exploitable, no login, no user action; On your watchlist
Software pages
Apache Airflow vulnerabilities
Related CVEs
- CVE-2026-33264 CRITICAL 9.8 UPGRADE A bug in `BaseSerialization.deserialize()` allowed unrestricted `import_string()` of attacker-controlled class
- CVE-2026-48828 MEDIUM 6.5 UPGRADE The Bulk Variables API in Apache Airflow called the redactor without passing the variable's key, so the key-ba
- CVE-2026-48892 MEDIUM 6.5 UPGRADE The Config API in Apache Airflow surfaced per-key secrets-backend overrides (environment variables like `AIRFL
- CVE-2026-49487 MEDIUM 6.5 UPGRADE In Apache Airflow before 3.3.0, the REST API task-instance detail and list endpoints returned a deferred task'
- CVE-2026-49296 MEDIUM 6.5 UPGRADE Before apache-airflow 3.3.0, a user authorized to read one Dag could disclose the source of other Dags co-loca