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

No advisories yet.

Fixes

Solution

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.


Workaround

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.

History

Tue, 01 Dec 2026 17:00:00 +0000

Type Values Removed Values Added
Description 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.
Title Server-configured API keys and AWS credentials sent to caller-supplied endpoints in APOC Extended apoc.ml procedures
Weaknesses CWE-522
CWE-918
References
Metrics cvssV4_0

{'score': 7.1, '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'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: Neo4j

Published:

Updated: 2026-12-01T16:48:38.330Z

Reserved: 2026-11-23T13:34:03.449Z

Link: CVE-2026-135130

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-12-01T17:17:30.273

Modified: 2026-12-01T17:17:30.273

Link: CVE-2026-135130

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses