CVE-2026-135130

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

Published Dec 1, 2026 CVSS 4.0 · 7.1 High EPSS n/a KEV · Not listed
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.

Analysis

AI-generated

Technical impact

apoc.ml.* procedures allow a caller‑supplied endpoint option that directs outbound requests to a host controlled by an authenticated user. An attacker with execute privileges can therefore trigger the server to send its stored API keys and AWS credentials to that malicious host, exposing secrets that the server holder otherwise never intended to be shared. Because the vulnerability leverages existing authentication, it does not require any additional privileges beyond the ability to run the procedures, and the exposed credentials could be used to compromise external services such as OpenAI or AWS SageMaker.

Affected Systems

Neo4j APOC Extended is affected. Versions prior to 5.26.5 and prior to 2026.01.0 before the 2026.10.0 release are vulnerable. All deployments using any of these versions should anticipate exposure of server‑configured OpenAI or AWS credentials if the procedures are invoked with a user‑supplied endpoint.

Risk and Exploitability

With a CVSS score of 7.1 the vulnerability presents a moderate risk. The Exploit Probability (EPSS) score is unavailable, but the data indicates that the attack requires only local authenticated access and the ability to execute stored procedures, which many administrators grant. The vulnerability is not currently listed in the CISA KEV catalog. If exploited, an attacker could exfiltrate secret keys and thereby access or abuse third‑party AI or machine‑learning services, potentially incurring data loss or financial penalties.

Remediation

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


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


OpenCVE Recommended Actions

  • Update APOC Extended to a supported version (≥ 5.26.5 or 2026.10.0).
  • If unable to upgrade immediately, configure the model endpoint via apoc.ml.openai.url or supply credentials directly in each procedure call.
  • Restrict procedure execution to trusted roles using DENY EXECUTE PROCEDURE apoc.ml.* ON DBMS TO <role> or the procedures allowlist.

Generated by OpenCVE AI on December 1, 2026 at 23:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
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'}

Subscriptions

No data.

Weaknesses
  • CWE-522

    Insufficiently Protected Credentials

  • CWE-918

    Server-Side Request Forgery (SSRF)

Sources

Status
PUBLISHED
Assigner
Neo4j
Published
Updated
Dec 1, 2026, 4:48 PM
Reserved
Nov 23, 2026, 1:34 PM
Status
Received
Published
Dec 1, 2026, 5:17 PM
Modified
Dec 1, 2026, 5:17 PM