What happened
Insufficiently protected credentials in the apoc.ml.* procedures of Neo4j APOC Extended (before 5.26.5 / 2026.10.0) let an authenticated user with execute rights obtain server-configured API keys and AWS credentials via a caller-supplied endpoint or parameter. CVSS 7.1.
Why it matters
Neo4j is widely deployed as the knowledge-graph / GraphRAG backend for LLM agents, and apoc.ml.* is the ML integration surface. A low-privilege query user disclosing server-held cloud/API credentials is a direct path from the graph DB to the surrounding AI and cloud estate.
Attack vector
An authenticated user who is allowed to execute apoc.ml.* procedures can supply an endpoint/parameter that causes the procedure to return server-configured API keys and AWS credentials, which were not properly protected from retrieval.
Affected systems
Neo4j APOC Extended before 5.26.5 and 2026.01.0 before 2026.10.0
Mitigation
Upgrade APOC Extended to 5.26.5 / 2026.10.0, which fixes the credential protection (see GitHub GHSA-wv85-f25f-3xjh). Restrict execution of apoc.ml.* to trusted roles.