CVE Catalog

CVE-2026-141488

CriticalCVSS 9.2
Published: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.58%

49th percentile - higher than 49% of all known CVEs

Summary

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, and a client that can reach the endpoint can 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, allowing 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 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 Assessment

An attacker able to reach the endpoint can gain database superuser privileges and execute operating system commands, leading to full compromise of the database server and potential data theft or loss.

Recommendation

Upgrade AIDB to 7.9.0 or Agent Factory to 1.4; if not possible, disable the edb-endpoints endpoint and verify pg_hba.conf does not use peer/trust/ident methods for connections authenticated by the endpoint.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS