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

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.75%, higher than 56% of CVEs (2026-12-01)
- Published: 2026-04-16T13:31:52.336Z
- Modified: 2026-11-03T07:19:17.443Z
- Also known as: GHSA-phv5-vq5p-qhp7, BIT-AIRFLOW-2026-31987, PYSEC-2026-2352
- Weaknesses: CWE-532
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: apache

## 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.

(As written by CVE List.)

## Affected

- apache-airflow-core: from 3.0.0 before 3.2.0
- apache-airflow (PyPI): from 3.0.0 before 3.2.0
- apache airflow: from 3.0.0 before 3.2.0
- airflow (Bitnami): from 3.0.0 before 3.2.0

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 7.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`
- PyPA Advisory Database: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- PyPA Advisory Database: CVSS:4.0 `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/apache/airflow/pull/62964> (advisory, issue-tracking, patch, third-party-advisory, web)
- <https://github.com/apache/airflow/issues/62428> (issue-tracking, report, web)
- <https://github.com/apache/airflow/issues/62773> (issue-tracking, report, web)
- <https://lists.apache.org/thread/pvsrtxzwo9xy6xgknmwslv4zrw70kt6g> (advisory, mailing-list, vendor-advisory, web)
- <http://www.openwall.com/lists/oss-security/2026/04/16/7> (advisory, mailing-list, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-31987> (advisory, web)
- <https://github.com/apache/airflow> (package)
- <https://pypi.org/project/apache-airflow> (package)
- <https://github.com/advisories/GHSA-phv5-vq5p-qhp7> (advisory)

## Sources

- CVE List: [CVE-2026-31987](https://www.cve.org/CVERecord?id=CVE-2026-31987), CVE Terms of Use, modified 2026-11-03
- GitHub Advisory Database: [GHSA-phv5-vq5p-qhp7](https://github.com/advisories/GHSA-phv5-vq5p-qhp7), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-31987](https://nvd.nist.gov/vuln/detail/CVE-2026-31987), Public domain, modified 2026-11-03
- PyPA Advisory Database: [PYSEC-2026-2352](https://osv.dev/vulnerability/PYSEC-2026-2352), CC-BY-4.0, modified 2026-07-13
- Bitnami Vulnerability Database: [BIT-AIRFLOW-2026-31987](https://osv.dev/vulnerability/BIT-AIRFLOW-2026-31987), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2026-31987 · Whole record: https://cve.day/CVE-2026-31987.json · Rebuilt by cve.day 2026-11-25T22:59:18.902Z
