Vulnerabilities in pkg:maven/org.apache.atlas/apache-atlas

PACKAGE
Advisory Identifier: GHSA-35xx-9xrg-gwhf
Advisory Summary

CVE-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.

5 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.apache.atlas/apache-atlas

5 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/org.apache.atlas/apache-atlas. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-35xx-9xrg-gwhf CVE-2026-40563 HIGH Apache Atlas has a Code Injection Vulnerability
GHSA-x3v6-f5fr-4wwv CVE-2024-46910 MODERATE Apache Atlas: An authenticated user can perform XSS and potentially impersonate another user
GHSA-p782-4j23-xqcg CVE-2022-34271 HIGH Apache Atlas: zip path traversal in import functionality
GHSA-v62j-fcxq-j239 CVE-2019-10070 MODERATE Stored XSS in Apache Atlas
GHSA-h6xq-3h62-99qx CVE-2020-13928 MODERATE Cross-site scripting in Apache Atlas

CVE-2026-40563 at a Glance

CVE Identifier CVE-2026-40563
GHSA Identifier GHSA-35xx-9xrg-gwhf
Severity HIGH
CVSS v3.1 Base Score 7.1
CWE Classification CWE-94: Improper Control of Generation of Code ('Code Injection')
Affected Product Apache atlas
Package Ecosystem Maven
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity Low (I:L)
Availability None (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.

org.apache.atlas:apache-atlas fixed: 2.5.0
<dependency>
    <groupId>org.apache.atlas</groupId>
    <artifactId>apache-atlas</artifactId>
    <version>2.5.0</version>
</dependency>
Verify Direct and Transitive Dependencies

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

### Description: Improper Control of Generation of Code ('Code Injection') vulnerability in Apache Atlas. Apache 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. ### Affected Version: This issue affects Apache Atlas: from 0.8-incubating through 2.4.0. For affected versions >= 2.0.0, the vulnerability is only exploitable when Atlas is deployed with below non-default configuration. `atlas.dsl.executor.traversal=false` ### Mitigation: Users are recommended to upgrade to version 2.5.0, which fixes the issue.

CVE-2026-40563 Affected Apache atlas Versions

1 component(s)
Fixed Versions:
2.5.0
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?
CVE-2026-40563 is a security vulnerability in Apache atlas involving Apache Atlas has a Code Injection Vulnerability under CWE-94: Improper Control of Generation of Code ('Code Injection').
Which Apache atlas versions are affected?
Affected versions include releases prior to 2.5.0 across affected packages: org.apache.atlas:apache-atlas.
What version fixes CVE-2026-40563?
Upgrading to 2.5.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is apache-atlas affected?
Yes, org.apache.atlas:apache-atlas is affected in releases prior to 2.5.0. Upgrade your dependency to 2.5.0 or later.
What is the CVSS score of CVE-2026-40563?
CVE-2026-40563 has a CVSS v3.1 base score of 7.1 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N.
What CWE is associated with CVE-2026-40563?
CVE-2026-40563 is classified under CWE-94: Improper Control of Generation of Code ('Code Injection') (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.).
How can I check Maven dependencies for CVE-2026-40563?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.apache.atlas'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}