Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. apache-airflow
  4. ›
  5. CVE-2026-31987

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

April 16, 2026 (updated April 24, 2026)

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.

References

  • github.com/advisories/GHSA-phv5-vq5p-qhp7
  • github.com/apache/airflow
  • github.com/apache/airflow/issues/62428
  • github.com/apache/airflow/issues/62773
  • github.com/apache/airflow/pull/62964
  • lists.apache.org/thread/pvsrtxzwo9xy6xgknmwslv4zrw70kt6g
  • nvd.nist.gov/vuln/detail/CVE-2026-31987

Code Behaviors & Features

Detect and mitigate CVE-2026-31987 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 3.0.0 before 3.2.0

Fixed versions

  • 3.2.0

Solution

Upgrade to version 3.2.0 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-532: Insertion of Sensitive Information into Log File

Source file

pypi/apache-airflow/CVE-2026-31987.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:17:44 +0000.