CVE-2026-141488: AIDB MCP endpoint authentication bypass through pg_hba.conf methods that do not check a password

Published Dec 4, 2026
·
Updated

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 pghba.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.

Affected Software

2 affected components
EDB AIDB>=7.7.0<=7.8.0
EDB EDB Postgres AI Agent Factory for AWS Marketplace>=1.0<=1.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade AIDB to a version that resolves this vulnerability.

    Fixed in 7.10.0
  2. Upgrade

    Upgrade AIDB to a version that resolves this vulnerability.

    Fixed in 7.9.0
  3. Upgrade

    Upgrade EDB Postgres AI Agent Factory to a version that resolves this vulnerability.

    Fixed in 1.4
  4. Configuration

    Give MCP client roles passwords before upgrading

    AIDB MCP client roles password
  5. Configuration

    Change matching pg_hba.conf lines to a password-checking method such as scram-sha-256

    PostgreSQL pg_hba.conf authentication method = scram-sha-256

Event History

Dec 4, 2026
CVE Published
via MITRE·12:53 AM
Data Sourced
via MITRE·12:53 AM
RemedyDescriptionWeakness
Data Sourced
via NVD·02:16 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed by default?

The AIDB MCP endpoint is disabled by default, so AIDB installations are exposed only if the endpoint has been enabled. EDB Postgres AI Agent Factory for AWS Marketplace versions 1.0 through 1.3 ship with the endpoint enabled and a peer rule for the enterprisedb superuser.

2

What must an attacker be able to do?

An attacker must be able to reach the AIDB MCP endpoint. If the endpoint's local Unix-socket database connection matches a pg_hba.conf method that does not validate passwords, they can supply arbitrary HTTP Basic credentials and obtain the role admitted by that rule.

3

How can I determine whether my configuration is vulnerable?

Check whether edb-endpoints is enabled, then identify the pg_hba.conf rule matched by a local connection from the database host using the operating-system account that runs Postgres. Rules using peer, trust, ident, or another method that does not check a password are affected; common examples are local all postgres peer and local all enterprisedb peer.

4

What is the impact when the matched role is a superuser?

A client reaching the endpoint can run SQL as that role. If the admitted role is the postgres or enterprisedb superuser, the attacker can read and modify all data and run operating-system commands as the Postgres service account.

5

What can be done if an immediate upgrade is not possible?

Disable the AIDB MCP endpoint or prevent untrusted clients from reaching it. Also review the matching local pg_hba.conf rule and avoid authentication methods that do not validate a password for the endpoint's database connection.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203