AIDB MCP endpoint authentication bypass through pg_hba.conf methods that do not check a password
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| EnterpriseDB | AIDB | unaffected |
|
||||||
| EnterpriseDB | EDB Postgres AI Agent Factory for AWS Marketplace | unaffected |
|
No data.
No data.
No data available yet.
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.
No CVSS v3.1
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
No EPSS score available.
Key SSVC decision points have not yet been added.
| 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
|
No data.