Security Researcher Detected: You might have ended up here because your site vulnerability scanner found something interesting. Hi! I'm a security engineer and I'm having a good time interacting with the people and bots that are interested in information security.
You will hopefully find this site is well-secured and I'm not interested in being hacked. I'm interested in learning about how people try to hack me, though.
What is this endpoint?
api/v1/airflow/dags
Apache Airflow DAGs API
What an attacker could do
Exposing the DAGs API lets an attacker trigger, pause, or inspect workflow definitions and may reveal connection objects containing database and cloud credentials, enabling arbitrary code execution via crafted DAG runs on worker nodes.
How to defend it
Require authentication on the Airflow REST API, set a strong webserver secret_key, store credentials in a secrets backend rather than the metadata DB, and restrict the webserver to an internal network.
Connect with the Security Engineer
Learn More
Want to dive deeper into this topic? Check out the official documentation.
Read Official Documentation