CVE-2026-38743: Apache airflow Remote Code Execution Vulnerability
MODERATECVE-2026-38743 is a MODERATE (CVSS 4.3) remote code execution vulnerability (CWE-1220: Insufficient Granularity of Access Control) affecting Apache airflow libraries in the PyPI ecosystem. The issue involves apache airflow's authenticated /ui/dags endpoint did not enforce per-dag access control on embedded human-in-the-loop (hitl) and taskinstance record. Remediation is available by upgrading affected packages to version 3.2.1rc1.
CVE-2026-38743 at a Glance
Security Impact
CVSS: 4.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N).
How to Fix CVE-2026-38743
To remediate this vulnerability, upgrade all affected Apache airflow dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install apache-airflow>=3.2.1rc1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show apache-airflow
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2026-38743, inspect your installed packages using pip:
pip show apache-airflow
Analyze the terminal output to locate any version of Apache airflow in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.2.1rc1), your application is affected.
Note: The pip show apache-airflow command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-1220: Insufficient Granularity of Access Control, where the product implements access controls via a policy or other feature with the intention to disable or restrict accesses (reads and/or writes) to assets in a system from untrusted agents. however, implemented access controls lack required granularity, which renders the control policy too broad because it allows accesses from unauthorized agents to the security-sensitive assets. In Apache airflow, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-38743 Affected Apache airflow Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
apache-airflow
|
PyPI |
< 3.2.1rc1
|
3.2.1rc1
|
References
Frequently Asked Questions
What is CVE-2026-38743?
Which Apache airflow versions are affected?
What version fixes CVE-2026-38743?
Is apache-airflow affected?
What is the CVSS score of CVE-2026-38743?
What CWE is associated with CVE-2026-38743?
How can I check PyPI dependencies for CVE-2026-38743?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-p3v3-229h-mc63",
"modified" : "2026-05-05T18:11:27Z",
"published" : "2026-04-24T15:32:32Z",
"aliases" : [ "CVE-2026-38743" ],
"summary" : "Apache Airflow's authenticated /ui/dags endpoint did not enforce per-DAG access control on embedded Human-in-the-Loop (HITL) and TaskInstance record",
"details" : "The authenticated /ui/dags endpoint did not enforce per-DAG access control on embedded Human-in-the-Loop (HITL) and TaskInstance records: a logged-in Airflow user with read access to at least one DAG could retrieve HITL prompts (including their request parameters) and full TaskInstance details for DAGs outside their authorized scope. Because HITL prompts and TaskInstance fields routinely carry operator parameters and free-form context attached to a task, the leak widens visibility of DAG-run data beyond the intended per-DAG RBAC boundary for every authenticated user.\n\nUsers are recommended to upgrade to version 3.2.1 , which fixes this issue.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "apache-airflow"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.2.1rc1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-38743"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/airflow/pull/64822"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/airflow/commit/fed4921098d51fd3ec17b7f5cff80f6c36fd05e2"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/airflow"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread/sk2wj0x48o8qb4p7c47gvnhjbm0mg396"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2026/04/24/3"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1220" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-05-05T18:11:27Z",
"nvd_published_at" : "2026-04-24T13:16:21Z"
}
}