Apache Software Foundation Apache HugeGraph-Server
Apache HugeGraph-Server: Command execution in gremlin
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.
Affected versions and mitigation
From the CVE record, GitHub Security Advisories and the vendor's references.Affected
- >= 1.0.0, < 1.3.0
Fixed in 1.3.0
from GitHub Security Advisory GHSA-29rc-vq7f-x335
- >= 1.0.0, < 1.3.0
Fixed in 1.3.0
from GitHub Security Advisory GHSA-29rc-vq7f-x335
Mitigation
Upgrade org.apache.hugegraph:hugegraph-api to 1.3.0 or later.
Upgrade org.apache.hugegraph:hugegraph-core to 1.3.0 or later.
Timeline
Days relative to CVE publicationFirst public PoC 39 days after publication; added to CISA KEV 149 days after publication. First PoC: Zeyad-Azima/CVE-2024-27348 (created 31 May 2024, found by us: backfilled).
PoC repositories
Found on GitHub.6 PoCs
PoCs 6
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| Zeyad-Azima/CVE-2024-27348 | 31 May 2024 +39 d | 59 | PoC |
| kljunowsky/CVE-2024-27348 | 3 Jun 2024 +42 d | 18 | PoC |
| jakabakos/CVE-2024-27348-Apache-HugeGraph-RCE | 12 Jun 2024 +51 d | 4 | PoC |
| p0et08/CVE-2024-27348 | 10 Feb 2025 +294 d | 0 | PoC |
| wqfh/CVE-2024-27348 | 13 Dec 2025 +1.6 y | 1 | PoC |
| akelaqe/CVE-2024-27348-HugeGraph-RCE | 30 Mar 2026 +1.9 y | 1 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| Exploit-DB | Apache HugeGraph Server 1.2.0 - Remote Code Execution (RCE) | 9 Apr 2025 | 14 Nov 2026 |
| Metasploit | Metasploit exploit: Apache HugeGraph Gremlin RCE (exploit/linux/http/apache_hugegraph_gremlin_rce) | 29 Jul 2024 | 14 Nov 2026 |
| nuclei template | nuclei template: Apache HugeGraph-Server - Remote Command Execution | 2 Jun 2024 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 6 PoC reposPOST /gremlin
- Key headers
Accept: application/json- Body markers
"gremlin":""""bindings""language":"gremlin-groovy""aliases""gremlin"inapplication/json- Ports
- 80, 4444, 8080, 8182
- Seen in
- 5 repos: akelaqe/CVE-2024-27348-HugeGraph-RCE, jakabakos/CVE-2024-27348-Apache-HugeGraph-RCE, kljunowsky/CVE-2024-27348, p0et08/CVE-2024-27348, wqfh/CVE-2024-27348
- Evidence
- akelaqe/CVE-2024-27348-HugeGraph-RCE/exploit.py:52 jakabakos/CVE-2024-27348-Apache-HugeGraph-RCE/exploit.py:24 jakabakos/CVE-2024-27348-Apache-HugeGraph-RCE/exploit.py:27 kljunowsky/CVE-2024-27348/CVE-2024-27348.py:23 kljunowsky/CVE-2024-27348/CVE-2024-27348.py:32 p0et08/CVE-2024-27348/CVE-2024-27348.py:23
GET /
- Query
cmd=- Ports
- 4444, 8182
- Seen in
- 1 repo: wqfh/CVE-2024-27348
- Evidence
- wqfh/CVE-2024-27348/bind_shell.py:19
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/gremlin(?:[?#].*)?$
(?i)^/\?(?:.*&)?cmd=
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [80,4444,8080,8182] (msg:"GG PoC-Monitor CVE-2024-27348 Apache Software Foundation Apache HugeGraph-Server exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/gremlin"; http.header; content:"Accept: application/json"; nocase; http.request_body; content:"|22|gremlin|22|:|22||22||22|"; http.request_body; content:"|22|bindings|22|"; http.request_body; content:"|22|language|22|:|22|gremlin-groovy|22|"; http.request_body; content:"|22|aliases|22|"; http.request_body; content:"|22|gremlin|22|"; reference:url,poc.griffinguard.io/cve/CVE-2024-27348; classtype:web-application-attack; sid:9724768; rev:1;)
alert http any any -> $HOME_NET [4444,8182] (msg:"GG PoC-Monitor CVE-2024-27348 Apache Software Foundation Apache HugeGraph-Server exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"cmd="; reference:url,poc.griffinguard.io/cve/CVE-2024-27348; classtype:web-application-attack; sid:9274470; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: Apache Software Foundation Apache HugeGraph-Server exploit attempt (CVE-2024-27348)
id: gg-pocmon-cve-2024-27348-9724768
status: experimental
description: Request pattern taken from public PoCs for CVE-2024-27348. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2024-27348
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/gremlin'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2024.27348
title: Apache Software Foundation Apache HugeGraph-Server exploit attempt (CVE-2024-27348)
id: gg-pocmon-cve-2024-27348-9274470
status: experimental
description: Request pattern taken from public PoCs for CVE-2024-27348. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2024-27348
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-query|contains|all:
- 'cmd='
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2024.27348