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

Summary

CVECVE-2026-141488
StatePUBLISHED
AssignerEDB
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-12-04 02:16:58 UTC
Updated2026-12-04 02:16:58 UTC
DescriptionThe 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.

Risk And Classification

Primary CVSS: v4.0 9.2 CRITICAL from 20be33e2-bf35-4d13-8fad-18bd2f3e3659

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/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

Problem Types: CWE-305 | CWE-305 CWE-305 Authentication Bypass by Primary Weakness


VersionSourceTypeScoreSeverityVector
4.020be33e2-bf35-4d13-8fad-18bd2f3e3659Secondary9.2CRITICALCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/C...
4.0CNACVSS9.2CRITICALCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

CVSS v4.0 Breakdown

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Confidentiality
High
Integrity
High
Availability
High
Sub Conf.
None
Sub Integrity
None
Sub Availability
None

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/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

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA EnterpriseDB AIDB affected 7.7.0 7.9.0 semver Not specified
CNA EnterpriseDB EDB Postgres AI Agent Factory For AWS Marketplace affected 1.0 1.4 custom Not specified

References

ReferenceSourceLinkTags
www.enterprisedb.com/docs/aidb/latest/release-notes/7/aidb_7.9.0_rel_notes 20be33e2-bf35-4d13-8fad-18bd2f3e3659 www.enterprisedb.com
www.enterprisedb.com/docs/security/advisories/cve2026141488 20be33e2-bf35-4d13-8fad-18bd2f3e3659 www.enterprisedb.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: kta1kri (en)

Additional Advisory Data

Solutions

CNA: 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.

Workarounds

CNA: 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.

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report