Metrics
Affected Vendors & Products
No advisories yet.
Solution
Upgrade AIDB to 7.10.0 together with the latest minor release of the Postgres server (for example 18.7), or to AIDB 7.9.0 when staying on an earlier minor release (for example 18.6). Both refuse connections that pg_hba.conf admitted without checking a password. Before upgrading, give MCP client roles passwords and change the matching pg_hba.conf lines to a password method such as scram-sha-256. From 7.9.0 the endpoint requires PostgreSQL 16 or later. On EDB Postgres AI Agent Factory, replace instances with version 1.4 or later, or upgrade the EDB Postgres Advanced Server packages together with AIDB on existing instances.
Workaround
Set edb.endpoints_mcp_enabled = off and reload the configuration, or remove peer, trust and ident lines that match the endpoint's connections, and allow network access to the endpoint port only from trusted MCP clients.
Fri, 04 Dec 2026 01:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | The AIDB MCP endpoint (edb-endpoints) in AIDB 7.7.0 through 7.8.0 authenticates HTTP Basic credentials by opening a Postgres connection with them, always from the database host over the local Unix socket as the operating system user that runs Postgres. When a pg_hba.conf line matching that connection uses a method that does not check a password, such as peer, trust or ident, the connection succeeds with any password. A client that can reach the endpoint can then run SQL as the admitted role. With a common packaged line such as local all postgres peer, or local all enterprisedb peer on EDB Postgres Advanced Server, that role is a superuser, which allows reading and changing all data and running operating system commands as the Postgres service account. The endpoint is disabled by default. EDB Postgres AI Agent Factory for AWS Marketplace versions 1.0 through 1.3 ship AIDB 7.8.0 with the endpoint enabled and a peer line for the enterprisedb superuser. AIDB 7.9.0 and Agent Factory 1.4 fix the issue. | |
| Title | AIDB MCP endpoint authentication bypass through pg_hba.conf methods that do not check a password | |
| Weaknesses | CWE-305 | |
| References |
| |
| Metrics |
cvssV4_0
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: EDB
Published:
Updated: 2026-12-04T00:53:25.717Z
Reserved: 2026-12-01T20:12:07.793Z
Link: CVE-2026-141488
No data.
Status : Received
Published: 2026-12-04T02:16:58.067
Modified: 2026-12-04T02:16:58.067
Link: CVE-2026-141488
No data.
OpenCVE Enrichment
No data.