CVE-2026-141488

AIDB MCP endpoint authentication bypass through pg_hba.conf methods that do not check a password

Published Dec 4, 2026 CVSS 4.0 · 9.2 Critical EPSS n/a KEV · Not listed
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.

Remediation

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


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

Tracking

Sign in to view the affected projects.

Advisories

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

{'score': 9.2, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Subscriptions

No data.

Weaknesses

Sources

Status
PUBLISHED
Assigner
EDB
Published
Updated
Dec 4, 2026, 12:53 AM
Reserved
Dec 1, 2026, 8:12 PM
Status
Received
Published
Dec 4, 2026, 2:16 AM
Modified
Dec 4, 2026, 2:16 AM