Authentication bypass in AIDB MCP endpoint via peer auth
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
EnterpriseDB AIDB from 7.7.0 before 7.9.0 and EDB Postgres AI Agent Factory for AWS Marketplace from 1.0 before 1.4 are affected. The MCP endpoint checks HTTP Basic credentials by opening a Postgres connection, so a pg_hba.conf line with a method such as peer accepts any password (CWE-305). A remote client that can reach the endpoint can run SQL as the admitted role, which is a superuser with common packaged rules, and so run operating system commands.
Written with Claude Haiku 5.5 from the sources below · 2026-12-04
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| EnterpriseDB | AIDB | 7.7.0 to before 7.9.0 | 7.9.0 | Patch available | CNA |
| EnterpriseDB | EDB Postgres AI Agent Factory for AWS Marketplace | 1.0 to before 1.4 | 1.4 | Patch available | CNA |
- AIDB VendorEnterpriseDB Affected 7.7.0 to before 7.9.0 Fixed in 7.9.0 Patch available CNA
- EDB Postgres AI Agent Factory for AWS Marketplace VendorEnterpriseDB Affected 1.0 to before 1.4 Fixed in 1.4 Patch available CNA
Remediation
Upgrade AIDB to 7.9.0 and EDB Postgres AI Agent Factory for AWS Marketplace to 1.4.
Written with Claude Haiku 5.5 from the sources below · 2026-12-04
- Fix · CNA AIDB (EnterpriseDB) Fixed in 7.9.0
- Fix · CNA EDB Postgres AI Agent Factory for AWS Marketplace (EnterpriseDB) Fixed in 1.4
Timeline
- 2026-12-04 Threatist record created from CVE-2026-141488
- 2026-12-04 Alias added: GHSA-4p49-pvv3-2qqr
References
More EnterpriseDB vulnerabilities
- TI-2023-21738 An issue was discovered in EnterpriseDB Postgres Advanced Server (EPAS) before 11.21.32… CVSS 3.1CRITICAL 9.8
- TI-2026-95912 Untrusted search path in Postgres Enterprise Manager allows superuser SQL CVSS 4.0CRITICAL 9.4
- TI-2026-95911 Postgres Enterprise Manager agents can change other agents' jobs CVSS 4.0CRITICAL 9.4
- TI-2026-95910 PEM agent role grants file read and write on the PEM server host CVSS 4.0CRITICAL 9.4
- TI-2026-104503 OS command injection in repmgr through node records in SSH commands CVSS 4.0MEDIUM 5.9
- TI-2026-104502 OS command injection in repmgr through node record values CVSS 4.0MEDIUM 5.9
Sources
- CVE-2026-141488 · CVE Program
- CVE-2026-141488 · NVD
- GHSA-4p49-pvv3-2qqr · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences