Advisory

PYSEC-2026-2352

Also known as: BIT-airflow-2026-31987, CVE-2026-31987, GHSA-phv5-vq5p-qhp7

Summary

Apache Airflow: JWT token appearing in logs

Details

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.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Dates

Published
2026-07-13 15:02 UTC
Modified
2026-07-13 16:42 UTC

Affected packages and fixes

apache-airflow

PyPI · All systems

Affected

  • introduced 3.0.0, fixed 3.2.0 (ecosystem)

Fixed versions

3.2.0

Fix

  • Fixed version 3.2.0
    pip install --upgrade apache-airflow==3.2.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences