Skip to content

An editorial team and a community building with AI

← All articles

News · AIDB / EDB · 2 min read

Event date: · Published:

Critical authentication bypass disclosed in AIDB's MCP endpoint

A critical flaw in AIDB's MCP endpoint let unauthenticated clients bypass HTTP Basic authentication and run SQL as a Postgres superuser, exposing EDB's Postgres AI Agent Factory on AWS Marketplace.

A critical authentication bypass in AIDB's MCP endpoint, also shipped as EDB's Postgres AI Agent Factory on AWS Marketplace, was disclosed on December 4, 2026 in a GitHub Security Advisory. The flaw let unauthenticated clients bypass HTTP Basic authentication and run SQL as a Postgres superuser.

What changed

  • The flaw, tracked as CVE-2026-141488 and GHSA-4p49-pvv3-2qqr, was published December 4, 2026 on GitHub Security Advisories with a CVSS score of 9.2, rated Critical.
  • It affects AIDB versions 7.7.0 through 7.8.0 and EDB Postgres AI Agent Factory for AWS Marketplace versions 1.0 through 1.3.
  • The MCP endpoint (edb-endpoints) checks HTTP Basic credentials by opening a Postgres connection over a Unix socket, so login succeeds regardless of the password supplied when pg_hba.conf uses peer, trust or ident authentication.
  • A successful bypass lets unauthenticated clients run SQL as a Postgres superuser, enabling data manipulation and operating-system command execution.
  • The endpoint ships disabled by default, but it was enabled in the vulnerable AWS Marketplace configurations.
  • The issue is fixed in AIDB 7.9.0 and Agent Factory 1.4.

What it means for people building with AI

This combination is severe for anyone running the Postgres AI Agent Factory: a default-off endpoint was shipped enabled in a commercial AWS Marketplace listing, and a trivial authentication bypass led straight to superuser SQL and operating-system command execution. For teams connecting AI agents to a production Postgres database through this MCP endpoint, the risk is not theoretical but a directly exploitable path to full database and host compromise.

Fix and next steps

Deployments running AIDB 7.7.0 through 7.8.0 or EDB Postgres AI Agent Factory for AWS Marketplace 1.0 through 1.3 should move to AIDB 7.9.0 or Agent Factory 1.4, where the issue is fixed. The exposure applies specifically to configurations where the MCP endpoint was enabled, including the affected AWS Marketplace setups described in the advisory.


Sources

Written with AI assistance, strictly from the sources listed above. Before it went live, automated checks verified its dates, sources and every language edition.

Critical authentication bypass disclosed in AIDB's MCP endpoint | vibecoding.inc