CVE-2022-40127 is an open redirect vulnerability in Apache Airflow versions 2.3.0 through 2.3.4, specifically in the webserver's /confirm endpoint. An attacker can craft a URL that, when visited by a user, redirects them to an arbitrary external site. This can be exploited for phishing or social engineering attacks. The vulnerability is documented in public databases and was addressed by the Apache Airflow project.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos.
This repository provides a proof-of-concept (POC) exploit for CVE-2022-40127, a remote code execution (RCE) vulnerability in Apache Airflow versions prior to 2.4.0. The exploit leverages the example_bash_operator DAG and the Airflow REST API to execute arbitrary shell commands on the server. The README.md details two POC methods: one using a crafted JSON payload to the DAG run API, and another using a direct curl command to the API endpoint. Both methods demonstrate successful exploitation by triggering DNS requests to attacker-controlled domains, confirming code execution. The docker-compose.yaml file sets up a vulnerable Airflow environment for local testing. No actual exploit code is present; the repository consists of documentation and configuration files to facilitate testing the vulnerability. The main attack vector is network-based, targeting the Airflow REST API. Notable endpoints include the Airflow API at http://localhost:8080 and DNS exfiltration domains used for out-of-band verification.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
1 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.