VDB
Sign up
MEDIUM6.5

GHSA-563f-2439-rmq4

Apache Airflow exposes sensitive JSON Variable values through the Bulk Variables API

Quick fix

GHSA-563f-2439-rmq4 — apache-airflow: upgrade to the fixed version with the command below.

pip install --upgrade 'apache-airflow>=3.3.0'

Details

The Bulk Variables API in Apache Airflow called the redactor without passing the variable's key, so the key-based `should_hide_value_for_key` check (which triggers on secret-suffixed key names like `*_password` / `*_token` / `*_secret`) could not fire for JSON-decodable variable values. An authenticated UI/API user with bulk Variable read permission could retrieve plaintext values from JSON variables whose key would otherwise trigger redaction. Affects deployments that store sensitive values in JSON-typed Airflow Variables under secret-suffixed key names. Users are advised to upgrade to `apache-airflow` 3.3.0 or later (the fix landed on `main` after 3.2.2; no 3.2.x backport).

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/apache-airflow
Introduced in: 0Fixed in: 3.3.0
Fixpip install --upgrade 'apache-airflow>=3.3.0'

References