AIDB MCP endpoint authentication bypass through pg_hba.conf methods that do not check a password
- CVE-2026-141488
- GHSA-4p49-pvv3-2qqr
- EUVD-2026-143955
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.
Text from the CVE.org record.
Recommendation
EnterpriseDB AIDB
- If you run a version from 7.7.0 to before 7.9.0update to 7.9.0 or laterMinor version change: check the release notes
EnterpriseDB EDB Postgres AI Agent Factory for AWS Marketplace
- If you run a version from 1.0 to before 1.4update to 1.4 or laterMinor version change: check the release notes
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
EnterpriseDB AIDB
Affected versions Fixed in from 7.7.0 to before 7.9.0 7.9.0 EnterpriseDB EDB Postgres AI Agent Factory for AWS Marketplace
Affected versions Fixed in from 1.0 to before 1.4 1.4
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.