Apache Airflow vulnerable to XSS and local file disclosureGHSA-q3p4-gw7r-wqjc
MEDIUMFix: apache/airflow@caf1f26GHSA-q3p4-gw7r-wqjc is a medium-severity (CVSS 4.8) Cross-site Scripting (XSS) vulnerability in airflow. A fix is available for airflow — see the affected versions and patch details below.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
airflowReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects PyPI packages — download data is not available via public APIs for these ecosystems.
Description
A malicious admin user could edit the state of objects in the Airflow metadata database to execute arbitrary javascript on certain page views. This also presented a Local File Disclosure vulnerability to any file readable by the webserver process.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐍PyPI | airflow | all versions | 1.10.6pip install --upgrade 'airflow==1.10.6' |
Affected Products
airflowapacheDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for airflow, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update airflow to 1.10.6 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-q3p4-gw7r-wqjc is resolved across your whole dependency graph.
Workarounds
Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.
Frequently Asked Questions
Is GHSA-q3p4-gw7r-wqjc in your dependencies?
Find it across PyPI, including transitive dependencies.