# CVE-2026-31987: Apache Airflow: JWT token appearing in logs

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2026-04-16 · Modified: 2026-11-03
- Aliases: GHSA-phv5-vq5p-qhp7, BIT-airflow-2026-31987, PYSEC-2026-2352
- Record: https://cvemate.com/vulnerability/CVE-2026-31987 · JSON: https://cvemate.com/vulnerability/CVE-2026-31987/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS: 0.752%, percentile 56.379%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- apache software foundation apache airflow: ≥ 3.0.0, \< 3.2.0
- apache airflow: ≥ 3.0.0, \< 3.2.0
- PyPI apache-airflow (PyPI): ≥ 3.0.0, \< 3.2.0

## References

- <https://github.com/apache/airflow/pull/62964>
- <https://github.com/apache/airflow/issues/62428>
- <https://github.com/apache/airflow/issues/62773>
- <https://lists.apache.org/thread/pvsrtxzwo9xy6xgknmwslv4zrw70kt6g>
- <http://www.openwall.com/lists/oss-security/2026/04/16/7>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-31987>
- <https://github.com/apache/airflow>
- <https://pypi.org/project/apache-airflow>
- <https://github.com/advisories/GHSA-phv5-vq5p-qhp7>

---

Data as of 2026-12-05T04:23:54.670Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
