{"answers":{"affected":"4 open source packages ship an affected version, including org.apache.hugegraph:hugegraph-api and org.apache.hugegraph:hugegraph-core. It affects 1 product.","exploited":"Yes. Attackers have exploited CVE-2024-27348 in the wild since at least 18 Sep 2024.","fix":"Upgrade org.apache.hugegraph:hugegraph-api to 1.3.0 or later. US federal agencies must fix it by 9 Oct 2024.","what":"CVE-2024-27348 is a critical code injection vulnerability in Apache HugeGraph-Server, published on 22 Apr 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-27348 and fix it if it is affected.\n\nWhat it is: CVE-2024-27348 is a critical code injection vulnerability in Apache HugeGraph-Server, published on 22 Apr 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2024-27348 in the wild since at least 18 Sep 2024.\n\nAffected packages and fixed versions:\n- org.apache.hugegraph:hugegraph-api (Maven): affected from 1.0.0; fixed in 1.3.0\n- org.apache.hugegraph:hugegraph-api (Maven): affected from 1.0.0; fixed in 1.3.0\n- org.apache.hugegraph:hugegraph-core (Maven): affected from 1.0.0; fixed in 1.3.0\n- org.apache.hugegraph:hugegraph-core (Maven): affected from 1.0.0; fixed in 1.3.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-27348/ (Markdown: https://insights.sbomify.com/CVE-2024-27348/index.md)","id":"CVE-2024-27348","markdown":"https://insights.sbomify.com/CVE-2024-27348/index.md","name":"CVE-2024-27348","record":{"aliases":["GHSA-29rc-vq7f-x335"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"Graph database server","requires_auth":"none","summary":"Attackers can execute arbitrary commands via Gremlin queries in Apache HugeGraph-Server, requiring authentication to be enabled for mitigation.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"hugegraph","vendor":"apache"}],"cvss":{"score":9.8,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-284","name":"Improper Access Control"}],"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 \u0026 Java11\n\nUsers are recommended to upgrade to version 1.3.0 with Java11 \u0026 enable the Auth system, which fixes the issue.","ecosystems":["Maven"],"exploits":{"exploitdb":1,"first_seen":"2024-04-22","github_poc":6,"max_poc_stars":60,"metasploit":1,"nuclei":1,"refs":[{"date":"2024-05-31T20:11:37Z","kind":"github_poc","ref":"https://github.com/Zeyad-Azima/CVE-2024-27348","stars":60,"title":"Apache HugeGraph Server RCE Scanner ( CVE-2024-27348 )"},{"date":"2024-06-03T19:08:24Z","kind":"github_poc","ref":"https://github.com/kljunowsky/CVE-2024-27348","stars":18,"title":"Apache HugeGraph Server Unauthenticated RCE - CVE-2024-27348 Proof of concept Exploit  "},{"date":"2024-06-12T08:14:39Z","kind":"github_poc","ref":"https://github.com/jakabakos/CVE-2024-27348-Apache-HugeGraph-RCE","stars":4,"title":null},{"date":"2025-12-13T06:31:00Z","kind":"github_poc","ref":"https://github.com/wqfh/CVE-2024-27348","stars":1,"title":" CVE-2024-27348 Exploitation Toolkit: Complete RCE exploit for Apache Huge-Graph-Server vulnerability."},{"date":"2026-03-30T10:52:41Z","kind":"github_poc","ref":"https://github.com/akelaqe/CVE-2024-27348-HugeGraph-RCE","stars":1,"title":null},{"date":"2024-04-22","kind":"metasploit","ref":"exploit/linux/http/apache_hugegraph_gremlin_rce","stars":null,"title":"Apache HugeGraph Gremlin RCE"},{"date":"2025-02-10T03:24:18Z","kind":"github_poc","ref":"https://github.com/p0et08/CVE-2024-27348","stars":0,"title":"This is a repository for Apache HugeGraph Remote Code Execution vulnerability(CVE-2024-27348))"},{"date":"2025-04-09","kind":"exploitdb","ref":"52149","stars":null,"title":"Apache HugeGraph Server 1.2.0 - Remote Code Execution (RCE)"}],"tier":"exploited"},"has_fix":true,"headline":"Apache HugeGraph-Server Improper Access Control","id":"CVE-2024-27348","indexable":true,"kev":{"dateAdded":"2024-09-18","dueDate":"2024-10-09","knownRansomwareCampaignUse":"Unknown","product":"HugeGraph-Server","requiredAction":"Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.","vendorProject":"Apache","vulnerabilityName":"Apache HugeGraph-Server Improper Access Control Vulnerability"},"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"code_injection","year":"2024"},"n_packages":4,"n_references":3,"next":{"headline":"Apache HugeGraph-Server: Bypass whitelist in Auth mode","id":"CVE-2024-27349"},"packages":[{"ecosystem":"Maven","fixed":["1.3.0"],"introduced":["1.0.0"],"last_affected":[],"package":"org.apache.hugegraph:hugegraph-api","purl":null,"source":"GHSA-29rc-vq7f-x335"},{"ecosystem":"Maven","fixed":["1.3.0"],"introduced":["1.0.0"],"last_affected":[],"package":"org.apache.hugegraph:hugegraph-api","purl":"pkg:maven/org.apache.hugegraph/hugegraph-api","source":"GHSA-29rc-vq7f-x335"},{"ecosystem":"Maven","fixed":["1.3.0"],"introduced":["1.0.0"],"last_affected":[],"package":"org.apache.hugegraph:hugegraph-core","purl":null,"source":"GHSA-29rc-vq7f-x335"},{"ecosystem":"Maven","fixed":["1.3.0"],"introduced":["1.0.0"],"last_affected":[],"package":"org.apache.hugegraph:hugegraph-core","purl":"pkg:maven/org.apache.hugegraph/hugegraph-core","source":"GHSA-29rc-vq7f-x335"}],"prev":{"headline":"Apache HugeGraph-Hubble: SSRF in Hubble connection page","id":"CVE-2024-27347"},"products":["Apache HugeGraph-Server"],"published":"2024-04-22","related":[{"cvss_score":9.8,"headline":"Apache HugeGraph-Server: Fixed JWT Token(Secret)","id":"CVE-2024-43441","kev_date_added":null,"published":"2024-12-24"},{"cvss_score":9.1,"headline":"Apache HugeGraph-Server: Bypass whitelist in Auth mode","id":"CVE-2024-27349","kev_date_added":null,"published":"2024-04-22"},{"cvss_score":8.8,"headline":"Apache HugeGraph-Server: RAFT and deserialization vulnerability","id":"CVE-2025-26866","kev_date_added":null,"published":"2025-12-12"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-10-21","vendors":["Apache Software Foundation"]},"summary":"Attackers can execute arbitrary commands via Gremlin queries in Apache HugeGraph-Server, requiring authentication to be enabled for mitigation.","url":"https://insights.sbomify.com/CVE-2024-27348/"}