Authentication bypass in Apache Airflow
Critical severity
GitHub Reviewed
Published
Apr 30, 2021
to the GitHub Advisory Database
•
Updated Sep 11, 2024
Description
Published by the National Vulnerability Database
Nov 10, 2020
Reviewed
Apr 20, 2021
Published to the GitHub Advisory Database
Apr 30, 2021
Last updated
Sep 11, 2024
The previous default setting for Airflow's Experimental API was to allow all API requests without authentication, but this poses security risks to users who miss this fact. From Airflow 1.10.11 the default has been changed to deny all requests by default and is documented at https://airflow.apache.org/docs/1.10.11/security.html#api-authentication. Note this change fixes it for new installs but existing users need to change their config to default
[api]auth_backend = airflow.api.auth.backend.deny_all
as mentioned in the Updating Guide: https://github.com/apache/airflow/blob/1.10.11/UPDATING.md#experimental-api-will-deny-all-request-by-defaultReferences