Airflow secrets masker misses camelCase sensitive keys
Values under privateKey, connectionString, webhookUrl, or accessKey can appear unredacted in logs and API output.
CamelCase keys not masked in Apache Airflow
Apache Airflow's secrets masker only matches snake_case key names, missing camelCase ones like privateKey, connectionString, webhookUrl or accessKey in Connection extra or Variables. Users who can read task logs or rendered templates can see these credentials in cleartext. Affected are Apache Airflow users until upgraded.
What to do: Upgrade to Apache Airflow 3.4.0 or later. No workaround given.
| Product | Affected | Fixed in |
|---|---|---|
| Apache Airflow | — | 3.4.0 |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
Apache Airflow's secrets masker matched sensitive key names only in their snake_case form, so values stored under camelCase keys such as `privateKey`, `connectionString`, `webhookUrl` or `accessKey` — for example in a Connection's extra or a Variable — were not redacted in task logs, rendered template fields or API responses. A user who can read task logs or rendered templates, but is not meant to see those credentials, could read them in cleartext. Users are advised to upgrade to apache-airflow 3.4.0 or later. Airflow 2.x is also affected; Airflow 2 has reached end of life and will not receive a fix, so Airflow 2 users should upgrade to Apache Airflow 3.4.0 or later.
Values under privateKey, connectionString, webhookUrl, or accessKey can appear unredacted in logs and API output.
Today 1.5K readers · 2.4K views · 768 reads · all time 189K views