AIDB MCP authentication bypass CVE-2026-141488 affects AIDB 7.7.0 through 7.8.0 when the MCP endpoint is enabled and a matching PostgreSQL access rule does not check a password. EDB’s December 3, 2026 advisory identifies AIDB 7.9.0 as the first fixed release.
The endpoint is disabled by default and listens on loopback by default. Local users can reach a loopback-only endpoint on the database host. If the endpoint is exposed to remote MCP clients, anyone who can reach its listening port may reach this vulnerable path. Teams can use a vulnerability intelligence platform to organize this conditional patch decision.
Which AIDB MCP Authentication Bypass Deployments Are Affected?
EDB says the AIDB condition applies across supported PostgreSQL distributions and platforms. It requires the endpoint to be on and a matching pg_hba.conf rule using a method such as peer, trust, or ident. EDB Postgres AI Agent Factory for AWS Marketplace versions 1.0 through 1.3 ship with AIDB 7.8.0 and an enabled endpoint.
| Deployment | Affected state | EDB fix |
|---|---|---|
| AIDB | 7.7.0 through 7.8.0 with endpoint enabled and a matching rule that skips password checking | 7.9.0 on an earlier PostgreSQL minor release, or 7.10.0 with the latest server minor release |
| EDB Postgres AI Agent Factory for AWS Marketplace | Versions 1.0 through 1.3 | Update AIDB on an existing instance to 7.9.0 or later, or replace it with version 1.4 or later |
For Agent Factory instances built with EDB’s CloudFormation template, the security group allows endpoint traffic only from the AgentCore Gateway. An instance launched directly from the AMI may have broader reachability, depending on its security group. EDB rates the flaw Critical, with a CVSS 4.0 base score of 9.2. The advisory does not provide a CVSS 3.1 score.
Why Does the Password Check Fail?
EDB says the endpoint opens a PostgreSQL connection using the username and password supplied by an MCP client. The connection comes from the database host through a Unix socket, or loopback when no socket directory exists. A matching peer, trust, or ident rule can admit it without checking that password. The endpoint then treats the successful connection as proof of authentication.
That can let a reachable client run SQL as any role the matching rule admits. EDB notes that a common local peer rule admits the PostgreSQL service account’s namesake role, which is normally a superuser. This raises the potential impact from database access to changes across data and commands under the service account. For comparison, see the DBHub MCP authentication bypass profile.
Brandefense Blackhole counted 62 dark chat posts matching EDB from September 5 through December 4, 2026. That unit is posts about EDB, not instances of this CVE or evidence of exploitation.
What Should Operators Do Now?
Record the AIDB and PostgreSQL versions, whether the MCP endpoint is enabled, and which local or loopback access rule matches its connection. Review network access to the endpoint, including Agent Factory security groups. Treat least privilege as a check on the role available to an MCP client, especially where a local peer rule admits a superuser.
- Identify exposureConfirm endpoint setting, matching access rule, local users, and permitted remote clients.
- Prepare authenticationGive MCP roles passwords and use a matching password-checking access method before upgrading.
- Install a compatible fixUse AIDB 7.9.0 on an earlier server minor, or 7.10.0 with the latest server minor.
- Complete the updateRun ALTER EXTENSION aidb UPDATE in each database with AIDB, then verify the running versions.
EDB says AIDB 7.9.0 requires PostgreSQL 16 or later; on PostgreSQL 14 or 15, the endpoint does not start. AIDB 7.10.0 requires the latest minor release of the PostgreSQL server family, although its package does not declare that requirement. Updating AIDB alone in that case can prevent PostgreSQL from starting. On Agent Factory, update the server packages alongside AIDB or move to the version 1.4 image.
If upgrading must wait, EDB says to disable the endpoint and reload configuration, or remove matching password-free access rules after planning for administrators’ access. Limit endpoint network access to trusted MCP clients; for template-based Agent Factory, keep it restricted to the AgentCore Gateway security group. After the change, verify the endpoint setting, access rule, network restriction, and installed versions.
Frequently Asked Questions
Is every AIDB installation exposed to CVE-2026-141488?
No. EDB says the MCP endpoint must be enabled and a matching PostgreSQL access rule must admit connections without checking a password. The endpoint is disabled by default.
Which AIDB version fixes the MCP authentication bypass?
EDB identifies 7.9.0 as the first fixed AIDB release. AIDB 7.10.0 also fixes it but requires the latest minor release of the PostgreSQL server family.
What can an operator do before an upgrade?
EDB advises disabling the MCP endpoint, removing matching password-free access rules after planning administrator access, or limiting endpoint network access to trusted MCP clients.
