CVE-2026-141488
AIDB MCP authentication could trust the service’s database identity
EnterpriseDB · AIDB and EDB Postgres AI Agent Factory for AWS
First documented disclosure · Review checkpoint
Summary
An enabled MCP endpoint could accept arbitrary credentials when PostgreSQL trusts its local service connection.
Severity and exploitation evidence
Critical · 9.2/10 · CVSS 4.0. Severity source.
Exploitation not established: The reviewed originals describe the weakness or controlled analysis; malicious exploitation and victim compromise are not established.
Technical severity is not a measure of observed attacks or of risk to your deployment. Attempts, demonstrations, and successful compromise retain the qualifications in the source.
How the weakness works
The MCP server connects through a Unix socket or loopback as the PostgreSQL operating-system user. With peer, trust or ident authentication, PostgreSQL does not validate the HTTP Basic password supplied to MCP.
Conditions required
AIDB MCP is enabled, the attacker can reach it, and matching pg_hba.conf rules permit passwordless service connections. MCP is off by default in AIDB and normally listens on loopback. Agent Factory 1.0–1.3 enables it; the supplied CloudFormation security group restricts port 8765 to AgentCore Gateway.
Potential impact
The caller can issue SQL as an allowed database role. Common peer mappings permit database-superuser access and commands as the PostgreSQL service account.
Affected versions and configurations
AIDB 7.7.0–7.8.0; EDB Postgres AI Agent Factory for AWS Marketplace 1.0–1.3 under the stated configuration.
Fix and mitigation status
AIDB 7.9.0 or later; Agent Factory 1.4. EDB recommends AIDB 7.10 with the latest PostgreSQL minor, or 7.9 for an earlier compatible minor.
Practical next steps
Install the applicable fixed build and run the required extension update. Give MCP roles passwords and use matching scram-sha-256 HBA rules; restrict the listener. AIDB 7.9 MCP requires PostgreSQL 16 or later.
Operating lesson
An HTTP authentication boundary must not inherit a database connection’s trusted operating-system identity.
Evidence and limits
CVE publication: 2026-12-04. CVSS 4.0 9.2 is the EDB CNA assessment. The vendor’s explicit advisory is dated December 3, before December 4 CVE ingestion. The current 7.9 release notes carry October 28 and now mention this CVE, which was reserved December 1; the mutable paragraph is not proof of an October vulnerability disclosure. Remediation chronology is separate from the verified explanatory disclosure.
Sources
- EDB CVE authority record
Primary source ·
- Original EDB security advisory
Primary source ·
- AIDB 7.9 release notes; current mutable body
Primary source ·