{"answers":{"affected":"4 open source packages ship an affected version, including org.neo4j.procedure:apoc-core. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-23926 in the wild and no public exploit code.","fix":"Upgrade org.neo4j.procedure:apoc-core to a fixed version for your release line: 4.4.0.14 or 5.5.0.","what":"CVE-2023-23926 is a medium-severity vulnerability in neo4j apoc, published on 16 Feb 2023. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-23926 and fix it if it is affected.\n\nWhat it is: CVE-2023-23926 is a medium-severity vulnerability in neo4j apoc, published on 16 Feb 2023. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-23926 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.neo4j.procedure:apoc-core (Maven): affected all versions; fixed in 4.4.0.14\n- org.neo4j.procedure:apoc-core (Maven): affected all versions; fixed in 4.4.0.14\n- org.neo4j.procedure:apoc-core (Maven): affected from 5.0.0; fixed in 5.5.0\n- org.neo4j.procedure:apoc-core (Maven): affected from 5.0.0; fixed in 5.5.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-2023-23926/ (Markdown: https://insights.sbomify.com/CVE-2023-23926/index.md)","id":"CVE-2023-23926","markdown":"https://insights.sbomify.com/CVE-2023-23926/index.md","name":"CVE-2023-23926","record":{"aliases":["GHSA-6wxg-wh7f-rqpr"],"analysis":{"component_type":"database","fix_type":"upgrade","impacts":["data_read","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Neo4j APOC plugin","requires_auth":"low_privilege","summary":"Attackers can exploit an XML External Entity vulnerability in the Neo4j APOC plugin to read local files and cause denial of service.","user_interaction":"not_required","vuln_class":"xxe"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"awesome_procedures_on_cyper","vendor":"neo4j"}],"cvss":{"score":5.9,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-611","name":"Improper Restriction of XML External Entity Reference"}],"description":"APOC (Awesome Procedures on Cypher) is an add-on library for Neo4j. An XML External Entity (XXE) vulnerability found in the apoc.import.graphml procedure of APOC core plugin prior to version 5.5.0 and 4.4.0.14 (4.4 branch) in Neo4j graph database. XML External Entity (XXE) injection occurs when the XML parser allows external entities to be resolved. The XML parser used by the apoc.import.graphml procedure was not configured in a secure way and therefore allowed this. External entities can be used to read local files, send HTTP requests, and perform denial-of-service attacks on the application. Abusing the XXE vulnerability enabled assessors to read local files remotely. Although with the level of privileges assessors had this was limited to one-line files. With the ability to write to the database, any file could have been read. Additionally, assessors noted, with local testing, the server could be crashed by passing in improperly formatted XML. The minimum version containing a patch for this vulnerability is 5.5.0. Those who cannot upgrade the library can control the allowlist of the procedures that can be used in your system.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"XML External Entity (XXE) vulnerability in apoc.import.graphml","id":"CVE-2023-23926","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"xxe","year":"2023"},"n_packages":4,"n_references":4,"next":{"headline":"Craft CMS stored cross-site scripting vulnerability","id":"CVE-2023-23927"},"packages":[{"ecosystem":"Maven","fixed":["4.4.0.14"],"introduced":["0"],"last_affected":[],"package":"org.neo4j.procedure:apoc-core","purl":null,"source":"GHSA-6wxg-wh7f-rqpr"},{"ecosystem":"Maven","fixed":["4.4.0.14"],"introduced":["0"],"last_affected":[],"package":"org.neo4j.procedure:apoc-core","purl":"pkg:maven/org.neo4j.procedure/apoc-core","source":"GHSA-6wxg-wh7f-rqpr"},{"ecosystem":"Maven","fixed":["5.5.0"],"introduced":["5.0.0"],"last_affected":[],"package":"org.neo4j.procedure:apoc-core","purl":null,"source":"GHSA-6wxg-wh7f-rqpr"},{"ecosystem":"Maven","fixed":["5.5.0"],"introduced":["5.0.0"],"last_affected":[],"package":"org.neo4j.procedure:apoc-core","purl":"pkg:maven/org.neo4j.procedure/apoc-core","source":"GHSA-6wxg-wh7f-rqpr"}],"prev":{"headline":"Switcher Client contains Regular Expression Denial of Service (ReDoS)","id":"CVE-2023-23925"},"products":["apoc"],"published":"2023-02-16","related":[{"cvss_score":10,"headline":"XML External Entity (XXE) vulnerability in neo4j.procedure:apoc","id":"CVE-2018-1000820","kev_date_added":null,"published":"2018-12-20"},{"cvss_score":7.1,"headline":"neo4j-apoc-procedures is vulnerable to path traversal","id":"CVE-2022-23532","kev_date_added":null,"published":"2023-01-14"}],"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":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-03-10","vendors":["neo4j"]},"summary":"Attackers can exploit an XML External Entity vulnerability in the Neo4j APOC plugin to read local files and cause denial of service.","url":"https://insights.sbomify.com/CVE-2023-23926/"}