CVE-2024-41937: Apache Airflow Cross-Site Scripting Vulnerability in Provider Documentation Links

apache-airflow Updated 02 Oct 2025

Summary

21/08/2024
Yes i
Moderate
6.1

CVE-2024-41937: Apache Airflow, versions before 2.10.0, have a vulnerability that allows the developer of a malicious provider to execute a cross-site scripting attack when clicking on a provider documentation link. Affects apache-airflow versions < 2.10.0. Fixed in 2.10.0. How to fix ↓

Also tracked for

The same CVE-2024-41937 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Apache Airflow is an open-source platform designed to programmatically author, schedule, and monitor workflows. It allows users to define workflows as directed acyclic graphs (DAGs) and provides a rich user interface to manage and visualize these workflows. However, prior to version 2.10.0, Airflow had a vulnerability that could be exploited through malicious provider documentation links, posing a risk to users who interact with these links.

Vulnerability Detail

The vulnerability in Apache Airflow arises from the ability of a malicious provider developer to execute a cross-site scripting (XSS) attack when a user clicks on a provider documentation link. This attack requires the malicious provider to be installed on the web server, and it can lead to unauthorized actions being performed on behalf of the user, potentially compromising sensitive information and user sessions.

How To Fix

Latest published version: 3.3.2 as of 22 Oct 2026

pip install --upgrade "apache-airflow==3.3.2"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

2.10.0

This is the first release that contains the fix.

pip install --upgrade "apache-airflow==2.10.0"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary measure, users can avoid clicking on provider documentation links until they have upgraded to the patched version. Additionally, reviewing installed providers for any that may be untrusted can help mitigate risk.

Conclusion

The vulnerability identified as CVE-2024-41937 in Apache Airflow poses a significant risk through cross-site scripting attacks via provider documentation links. Users are strongly advised to upgrade to version 2.10.0 or later to mitigate this risk. Utilizing tools like Vulert can further enhance your security posture by monitoring for vulnerabilities in real-time.

See every vulnerability recorded for apache-airflow →

Share this vulnerability

FAQ

CVE-2024-41937 is a vulnerability in Apache Airflow that allows for cross-site scripting attacks through malicious provider documentation links.

Any version of Apache Airflow prior to 2.10.0 is affected by this vulnerability. You can check your version by running apache-airflow version in your terminal.

Exploitation of this vulnerability could lead to unauthorized actions being performed on behalf of users, potentially compromising sensitive data and user sessions.

Yes, you can use Vulert to monitor and alert in real-time for open-source vulnerabilities in your software. It requires only the Pipfile.lock to operate.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

Related vulnerabilities

Recent vulnerabilities recorded for apache-airflow.

How To Fix

Latest published version: 3.3.2 as of 22 Oct 2026

pip install --upgrade "apache-airflow==3.3.2"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

2.10.0

This is the first release that contains the fix.

pip install --upgrade "apache-airflow==2.10.0"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback