# CVE-2023-23926: XML External Entity (XXE) vulnerability in apoc.import.graphml

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.9
- **CVSS:** 5.9 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.92% (percentile 59, 2026-11-26)
- **CWE:** CWE-611
- **Aliases:** GHSA-6wxg-wh7f-rqpr
- **Published:** 2023-02-16T00:00:00.000Z
- **Modified:** 2026-09-10T03:49:56.724Z

## Who should check

- Projects that depend on Maven package org.neo4j.procedure:apoc-core (\>= 5.0.0, \< 5.5.0)
- Anyone running neo4j apoc \< 4.4.0.14

## 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.

## Affected and fixed versions

- Maven `org.neo4j.procedure:apoc-core`: affected \>= 5.0.0, \< 5.5.0; fixed 5.5.0, 4.4.0.14 (osv)
- neo4j apoc: \< 4.4.0.14 (cvelist)

## Mitigation

- Upgrade org.neo4j.procedure:apoc-core to one of 5.5.0, 4.4.0.14 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-23926. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-23926.md
Affected: org.neo4j.procedure:apoc-core >= 5.0.0, < 5.5.0
Fixed in: 5.5.0, 4.4.0.14

Steps:
1. Search this machine and project for org.neo4j.procedure:apoc-core (Maven), neo4j apoc: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-23926 being exploited?

There is no confirmed exploitation: CVE-2023-23926 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.92% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-23926?

Medium: CVSS 5.9 (v3.1, scored by CNA). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2023-23926?

org.neo4j.procedure:apoc-core \>= 5.0.0, \< 5.5.0.

### Is there a fix for CVE-2023-23926?

Yes. Fixed in 5.5.0, 4.4.0.14. Upgrade org.neo4j.procedure:apoc-core to one of 5.5.0, 4.4.0.14 (or later in the same release line).

### How do I check if I'm affected by CVE-2023-23926?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/neo4j/apoc/security/advisories/GHSA-6wxg-wh7f-rqpr>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2023-23926>
- patch: <https://github.com/neo4j/apoc/pull/310>
- patch: <https://github.com/neo4j/apoc/commit/f175f1f1f663d29fc151c297b56d154255eb7016>
- other: <https://github.com/neo4j/apoc/releases/tag/5.5.0>
- other: <https://neo4j.com/docs/operations-manual/current/reference/configuration-settings/#config_dbms.security.procedures.allowlist>
- other: <https://github.com/neo4j/apoc>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-23926>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-6wxg-wh7f-rqpr> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2023-23926> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-23926>
