CVE-2026-40563: Apache Atlas has a Code Injection Vulnerability
CVE-2026-40563 · Severity: high · CVSS 8.1 · Published 2026-05-04
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
Affect Version:
This issue affects Apache Atlas: from 0.8 through 2.4.0.
For the affect version >= 2.0, vulnerability is only 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.
Yes. org.apache.atlas:apache-atlas (Maven): upgrade to 2.5.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2026-40563?
Check whether you run Apache Atlas or org.apache.atlas:apache-atlas (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
org.apache.atlas:apache-atlas (Maven): upgrade to 2.5.0 or later
# set org.apache.atlas:apache-atlas to 2.5.0 in your pom.xml or build.gradle