# CVE-2026-40563: Apache Atlas has a Code Injection Vulnerability

Source: https://junglewise.ai/threats/cve-2026-40563-apache-atlas-has-a-code-injection-vulnerability  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-05-04  
License: CC BY 4.0 with a link back

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.

Technologies: [org.apache.atlas:apache-atlas (Maven)](https://junglewise.ai/threats/technologies/org-apache-atlas-apache-atlas). Vendors: [Apache](https://junglewise.ai/threats/vendors/apache), [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2026-40563 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-40563 being exploited in the wild.

**How severe is CVE-2026-40563?** High severity, with a CVSS score of 8.1, published 4 May 2026.

**Which products and versions are affected?** org.apache.atlas:apache-atlas (Maven) ECOSYSTEM:introduced=0.8,fixed=2.5.0.

**Is there a fix for CVE-2026-40563?** 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

  ```sh
  # set org.apache.atlas:apache-atlas to 2.5.0 in your pom.xml or build.gradle
  ```


## Affected products

- Apache Atlas
- org.apache.atlas:apache-atlas (Maven) ECOSYSTEM:introduced=0.8,fixed=2.5.0

## Identifiers

- CVE-2026-40563
- GHSA-35xx-9xrg-gwhf

## Related threats

- [Apache Atlas: An authenticated user can perform XSS and potentially impersonate another user](https://junglewise.ai/threats/cve-2024-46910-apache-atlas-an-authenticated-user-can-perform-xss-and)
- [Apache Atlas: zip path traversal in import functionality](https://junglewise.ai/threats/cve-2022-34271-apache-atlas-zip-path-traversal-in-import-functionality)
- [Cross-site scripting in Apache Atlas](https://junglewise.ai/threats/cve-2020-13928-cross-site-scripting-in-apache-atlas)
- [Stored XSS in Apache Atlas](https://junglewise.ai/threats/cve-2019-10070-stored-xss-in-apache-atlas)
