Skip to content
Info disclosure Disclosed report Beginner CVE-2024-45784

Apache Airflow: Sensitive Information Exposure in DAG Run Logs

Apache Airflow logged passwords, secrets and the fernet key in plain text in DAG run logs. An attacker with access to those logs could read the sensitive information.

saurabhb Follow

Originally disclosed on HackerOne

  • Fixed in 23 days
  • Paid in 23 days
  • Disclosed after 53 days

The passwords, secrets and fernet key are logged in plain text in logs. This is insecure because they should be masked in logs. Logs can be accessed by unauthorized users and this can result in disclosing of this sensitive information to them.

Allocated CVE: CVE-2024-45784

Apache Airflow release notes that confirm about fixing the issue in latest release 2.10.3: https://airflow.apache.org/docs/apache-airflow/stable/release_notes.html#airflow-2-10-3-2024-11-04

Pull request that fix the issue: https://github.com/apache/airflow/pull/43040

Email communication between me (reporter) and the security team of Apache Airflow:

Impact

Disclosure of secrets to unauthorized users via logs.

The original report as published on HackerOne, by saurabhb. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the logging code did not mask sensitive configuration values before writing them to DAG run logs.

Impact

Sensitive information could be disclosed to unauthorised users who can access the logs.

What the attacker needed

Access to DAG run logs

The fix

The issue was fixed in Apache Airflow 2.10.3.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

Apache Airflow is a tool for scheduling data workflows. It keeps logs of each run, and those logs contained secret values like passwords in readable form. Anyone who could view the logs could see those secrets, which is dangerous because secrets are meant to stay private.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by saurabhb

View all

10 more disclosed reports, best first.

More from Internet Bug Bounty

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.