← All security advisories

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

Severity Moderate
Affects Apache Airflow
Weakness CWE-532 Insertion of Sensitive Information into Log File
Published April 16, 2026
Record updated November 3, 2026
CVE record CVE-2026-31987 on cve.org

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.

Affected versions

ProductPackageVersions
Apache Airflow apache-airflow-core from 3.0.0 before 3.2.0

Credits

  • unixengineer (finder)
  • Jason Imison (finder)
  • Pineapple (remediation developer)

References