CVE-2026-40563: Apache atlas Apache Atlas Has A Code Vulnerability
HIGHCVE-2026-40563 is a HIGH (CVSS 7.1) apache atlas has a code vulnerability (CWE-94: Improper Control of Generation of Code ('Code Injection')) affecting Apache atlas libraries in the Maven ecosystem. The issue involves apache atlas has a code injection vulnerability. Remediation is available by upgrading affected packages to version 2.5.0.
CVE-2026-40563 at a Glance
Security Impact
CVSS: 7.1
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:H/I:L/A:N).
How to Fix CVE-2026-40563
To remediate this vulnerability, upgrade all affected Apache atlas dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.apache.atlas</groupId>
<artifactId>apache-atlas</artifactId>
<version>2.5.0</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.apache.atlas
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2026-40563, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.apache.atlas
Analyze the terminal output to locate any version of Apache atlas in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.5.0), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.apache.atlas command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-94: Improper Control of Generation of Code ('Code Injection'), where the product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. In Apache atlas, 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-40563 Affected Apache atlas Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.atlas:apache-atlas
|
Maven |
≥ 0.8
< 2.5.0
|
2.5.0
|
References
Frequently Asked Questions
What is CVE-2026-40563?
Which Apache atlas versions are affected?
What version fixes CVE-2026-40563?
Is apache-atlas affected?
What is the CVSS score of CVE-2026-40563?
What CWE is associated with CVE-2026-40563?
How can I check Maven dependencies for CVE-2026-40563?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-35xx-9xrg-gwhf",
"modified" : "2026-05-08T17:46:27Z",
"published" : "2026-05-04T18:30:29Z",
"aliases" : [ "CVE-2026-40563" ],
"summary" : "Apache Atlas has a Code Injection Vulnerability",
"details" : "### Description:\nImproper Control of Generation of Code ('Code Injection') vulnerability in Apache Atlas.\n\nApache Atlas exposes a DSL search endpoint that accepts user-supplied query strings. Attacker can alter Gremlin traversal logic within grammar-allowed characters to access unintended data.\n\n\n### Affected Version:\nThis issue affects Apache Atlas: from 0.8-incubating through 2.4.0.\n\n\nFor affected versions >= 2.0.0, the vulnerability is only exploitable when Atlas is deployed with below non-default configuration.\n\n\n`atlas.dsl.executor.traversal=false`\n\n\n### Mitigation:\nUsers are recommended to upgrade to version 2.5.0, which fixes the issue.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.atlas:apache-atlas"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.8"
}, {
"fixed" : "2.5.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-40563"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/atlas"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread/vd0oggmqxl2k1skm0z2f9p0plx7jhmfl"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2026/05/03/9"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-94" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-05-08T17:46:27Z",
"nvd_published_at" : "2026-05-04T16:16:02Z"
}
}