CVE-2026-135130 PUBLISHED

Server-configured API keys and AWS credentials sent to caller-supplied endpoints in APOC Extended apoc.ml procedures

Assigner: Neo4j
Reserved: 23.11.2026 Published: 01.12.2026 Updated: 01.12.2026

Insufficiently protected credentials in the apoc.ml.* procedures in Neo4j APOC Extended before 5.26.5 and 2026.01.0 before 2026.10.0 allows an authenticated user who is permitted to execute these procedures to obtain server-configured API keys and AWS credentials via a caller-supplied endpoint or path configuration option that directs outbound requests to a host under the user's control.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
CVSS Score: 7.1

Product Status

Vendor Neo4j
Product APOC Extended
Versions Default: unaffected
  • affected from 0 to 5.26.5 (excl.)
  • affected from 2026.01.0 to 2026.10.0 (excl.)

Workarounds

Do not configure apoc.openai.key, apoc.aws.key.id or apoc.aws.secret.key server-side; pass credentials explicitly in each call instead. Alternatively, restrict who can run the affected procedures, for example with DENY EXECUTE PROCEDURE apoc.ml.* ON DBMS TO <role>, or via the procedures allowlist. If untrusted users had access to these procedures, rotate the configured provider API keys and AWS credentials.

Solutions

Upgrade APOC Extended to 5.26.5 or 2026.10.0 or later. After the upgrade, a server-held API key is only sent to the provider default endpoint or to the endpoint configured via apoc.ml.openai.url, and server-held AWS credentials only sign HTTPS requests to Bedrock or SageMaker service hosts. Deployments that combine a server-held key with a caller-supplied endpoint (for example a proxy or a self-hosted OpenAI-compatible server) must configure that endpoint via apoc.ml.openai.url or pass the credentials explicitly in the call.

Credits

  • Amitay Shahar finder

References

Problem Types

  • CWE-522 Insufficiently Protected Credentials CWE
  • CWE-918 Server-Side Request Forgery (SSRF) CWE