CVE-2026-141488
AIDB MCP endpoint authentication bypass through pg_hba.conf methods that do not check a password
Overview
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.
Severity
| Score | Severity | Version | Technologies Affected |
|---|---|---|---|
| 9.2 | CRITICAL | 4.0EDB (CNA) |
Details
- CVE ID
- CVE-2026-141488
- Status
- Received
- Assigner (CNA)
- EDB
- Published
- Dec 4, 2026
- Last modified
- Dec 4, 2026, 2:16 AM UTC
- Weaknesses
- CWE-305 · Authentication Bypass by Primary Weakness
Affected Products
As published by the CNA in the CVE record.
EnterpriseDBAIDB1 version range
- 7.7.0 before 7.9.0
EnterpriseDBEDB Postgres AI Agent Factory for AWS Marketplace1 version range
- 1.0 before 1.4