# GHSA-5W26-PCXF-9FJ9: apoc.vectordb procedures send credentials stored via apoc.vectordb.configure to caller-supplied endpoints

- Database: GitHub
- Severity: CVSS 6.0 (Medium)
- Published: 2026-12-01
- Modified: 2026-12-01

## Tracked as

- [CVE-2026-135129](https://cve.now/CVE-2026-135129.md): Neo4j APOC Extended credential leak in vector database procedures

## Affected versions

- org.neo4j.procedure:apoc-extended (Maven): from 5.20.0, fixed in 5.26.5
- org.neo4j.procedure:apoc-extended (Maven): from 2026.01.0, fixed in 2026.10.0

## Description

### Impact

The admin-only procedure `apoc.vectordb.configure` stores a host, credentials and mapping for a vector database (Pinecone, Qdrant, Chroma, Milvus, Weaviate) under a name in the `system` database. The `apoc.vectordb.<vendor>.*` procedures (e.g. `info`, `query`, `get`, `upsert`) can then reference this stored configuration by its name.

When such a procedure was called with a stored configuration name and a caller-supplied `endpoint` in the configuration map, the caller's endpoint replaced the stored host, while the stored credentials were still attached to the request.

As a result, any authenticated user allowed to execute these procedures and knowing (or guessing) the name of a stored configuration could make the server send the stored vector database credentials to a host under their control. The user does not need to be able to run `apoc.vectordb.configure` or to read the `system` database. The leaked credential is valid outside of Neo4j and can be used against the vector database provider.

Exploitation requires an authenticated Neo4j session with permission to execute the affected procedures (granted to `PUBLIC` by default in Neo4j Enterprise Edition) and at least one configuration stored via `apoc.vectordb.configure`. Configuration names are not listed to non-admin users, but are chosen by administrators and may be guessable.

### Patches

Fixed in APOC Extended 5.26.5 (#4591). Stored credentials are now only sent to an endpoint with the same scheme, host and port as the stored host. Otherwise, or if no host is stored, the procedure fails before any request is sent. Calls with a literal host and explicit credentials are unchanged.

The 2026.x releases (2026.01.0 to 2026.04.0) are affected; the fix is in 2026.10.0.

### Workarounds

If you cannot upgrade:

* Do not store credentials via `apoc.vectordb.configure`; pass them explicitly in each call instead.
* Or restrict who can run the affected procedures, e.g. with `DENY EXECUTE PROCEDURE apoc.vectordb.* ON DBMS TO <role>` or via the [procedures allowlist](https://neo4j.com/docs/operations-manual/current/configuration/configuration-settings/#config_dbms.security.procedures.allowlist).
* If untrusted users had access to these procedures, rotate the stored vector database credentials.

### For more information

If you have any questions or comments about this advisory:
* Open an issue in [neo4j-apoc-procedures](https://github.com/neo4j-contrib/neo4j-apoc-procedures)
* Email us at [security@neo4j.com](mailto:security@neo4j.com)

### Credits
We want to publicly recognise the contribution of [Amitay Shahar](https://github.com/amitaysh).

## References

- https://github.com/neo4j-contrib/neo4j-apoc-procedures/security/advisories/GHSA-5w26-pcxf-9fj9

Page: https://cve.now/GHSA-5W26-PCXF-9FJ9

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
