Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Primary rating from Vendor (VulnCheck) · only source for this CVE.
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
7DescriptionCVE.org
Mem0 versions through 0.2.8, fixed in commit ae7f406, contain a missing authorization vulnerability in the self-hosted server component where the POST /configure endpoint modifies global LLM provider and embedder configuration but only verifies authentication via JWT or X-API-Key without validating the caller's role. Any authenticated user holding a distributed API key can redirect all LLM and embedder traffic to an attacker-controlled server, with the malicious configuration persisted to PostgreSQL and surviving server restarts to affect all users and API keys on the instance.
AnalysisAI
Authorization bypass in Mem0 self-hosted server versions through 0.2.8 allows any authenticated holder of a distributed API key to overwrite the global LLM and embedder configuration via the POST /configure endpoint, redirecting all model traffic to an attacker-controlled server. The malicious configuration is persisted to PostgreSQL and survives restarts, affecting every user and API key on the instance. Publicly available exploit code exists and a vendor patch has been released in commit ae7f406.
Technical ContextAI
Mem0 is an open-source memory layer for AI agents whose self-hosted server (cpe:2.3:a:mem0ai:mem0) exposes an HTTP API protected by JWT or X-API-Key authentication. The vulnerable POST /configure endpoint manages instance-wide LLM provider and embedder settings backed by PostgreSQL, but its handler only checks that the caller is authenticated - not that the caller holds an administrative role. This is a textbook CWE-862 Missing Authorization flaw: an authorization decision (administrative configuration change) is conflated with authentication (possessing any valid API key), so a privilege-tier check that should gate the endpoint is simply absent.
RemediationAI
Upgrade to the Mem0 build containing the fix commit ae7f4062652df1376990221101d1adbb0819c973 (merged via PR https://github.com/mem0ai/mem0/pull/5360); this is an upstream fix available as a commit, and a tagged release version beyond 0.2.8 is not independently confirmed from the provided data. Until the patched build is deployed, operators should block or reverse-proxy the POST /configure endpoint so only administrator identities can reach it, audit recently issued API keys and rotate any that are over-privileged or unaccounted for, and inspect the persisted LLM/embedder configuration in PostgreSQL to confirm the provider URL still points to a trusted endpoint - note that restricting /configure will prevent legitimate runtime reconfiguration through the API and may require config changes to be made directly in the database. Review the related pgvector image migration guide at https://docs.mem0.ai/migration/server-pgvector-upgrade if upgrading the server stack at the same time.
More in PostgreSQL
View allPostgreSQL libpq functions PQescapeLiteral(), PQescapeIdentifier(), PQescapeString(), and PQescapeStringConn() improperl
An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl
Argument injection vulnerability in PostgreSQL 9.2.x before 9.2.4, 9.1.x before 9.1.9, and 9.0.x before 9.0.13 allows re
Unauthenticated arbitrary file write in Splunk Enterprise (below 10.2.4 and 10.0.7) and Splunk Cloud Platform (below 10.
Unauthenticated SQL injection in Sangoma Switchvox SMB Edition 8.3 (build 104997) lets remote attackers execute arbitrar
PostgreSQL versions before 9.2.22, 9.3.18, 9.4.13, 9.5.8 and 9.6.4 are vulnerable to incorrect authentication flaw allow
The build_tablename function in pgsql.c in the PostgreSQL (aka pgsql) extension in PHP through 5.6.7 does not validate t
A vulnerability in the h2oai/h2o-3 REST API versions 3.46.0.4 allows unauthenticated remote attackers to execute arbitra
In PostgreSQL 9.3 through 11.2, the "COPY TO/FROM PROGRAM" function allows superusers and users in the 'pg_execute_serve
Unauthenticated SQL injection in Vendure Shop API allows remote attackers to execute arbitrary SQL commands against the
Parse Server is an open source http web server backend. Rated critical severity (CVSS 10.0), this vulnerability is remot
Hard-coded default PostgreSQL credentials shipped in the docker-compose.yaml of langgenius Dify through version 1.5.1 al
Same weakness CWE-862 – Missing Authorization
View allSame technique Authentication Bypass
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-35449
GHSA-hp66-92p5-jh23