CVE-2026-141488 — EnterpriseDB AIDB
Research article
AIDB MCP Endpoint Allows Unauthorized SQL Execution [CVE-2026-141488]
| CVE | CVE-2026-141488 |
|---|---|
| Vendor and product | EnterpriseDB AIDB; EnterpriseDB EDB Postgres AI Agent Factory for AWS Marketplace |
| Published | December 04, 2026 04:05 UTC |
| Research cut-off | December 04, 2026 03:50 UTC |
| Sources reviewed | 2: NVD record (last modified 2026-12-04); CISA KEV catalog |
Executive summary
A flaw in the AIDB MCP endpoint allows attackers to bypass authentication and execute SQL commands as a superuser [1]. The CVSS 4.0 score is 9.2 CRITICAL, rated by a secondary scorer [1]. The vulnerability affects AIDB 7.7.0 through 7.8.0 and the EDB Postgres AI Agent Factory for AWS Marketplace 1.0 through 1.3 [1]. The reviewed sources do not report exploitation [2]. The main action is to update to the fixed versions [1].
Key points
- A flaw in the AIDB MCP endpoint allows bypassing authentication and executing SQL commands as a superuser [1].
- The CVSS 4.0 score is 9.2 CRITICAL, rated by a secondary scorer [1].
- The vulnerability affects AIDB 7.7.0 through 7.8.0 and the EDB Postgres AI Agent Factory for AWS Marketplace 1.0 through 1.3 [1].
- The reviewed sources do not report exploitation [2].
- The main action is to update to the fixed versions [1].
Vulnerability identification
| CVE ID | Vendor | Product | CWE | CVSS 4.0 | Published | Last Modified | Record Status |
|---|---|---|---|---|---|---|---|
| CVE-2026-141488 | EnterpriseDB | AIDB, EDB Postgres AI Agent Factory for AWS Marketplace | CWE-305 | 9.2 CRITICAL, scored by 20be33e2-bf35-4d13-8fad-18bd2f3e3659 (Secondary) | 2026-12-04T02:16:58 | 2026-12-04T02:16:58 | Received |
Vulnerability description
A security flaw in the AIDB MCP endpoint allows an attacker to bypass authentication and execute SQL commands as a superuser if the pghba.conf configuration file uses a password-agnostic method [1]. This flaw arises when a pg_hba.conf entry that matches the connection specifies an authentication option which skips password verification, for example peer, trust or ident [1]. The endpoint is disabled by default, but in certain versions it is enabled with a peer configuration for the enterprisedb superuser [1].
Attack surface and exploitation prerequisites
The vulnerability requires that a client can reach the endpoint, and the authentication connection is made from the database host over the local socket [1]. The attacker must be able to reach the endpoint and send HTTP Basic credentials [1]. The exploit can succeed if the pghba.conf file uses a method that does not verify passwords, such as peer, trust, or ident [1].
Impact analysis
The CVSS 4.0 vector indicates a high impact on confidentiality, integrity, and availability [1]. A malicious actor could gain access to and alter all data, and run system commands under the Postgres service account, if the admitted role is a superuser [1]. This could permit executing shell instructions with the privileges of the Postgres system user [1].
Affected products and versions
| Product | Affected Version | Fixed Version |
|---|---|---|
| EnterpriseDB AIDB | ≥ 7.7.0, < 7.9.0 | 7.9.0 |
| EnterpriseDB EDB Postgres AI Agent Factory for AWS Marketplace | ≥ 1.0, < 1.4 | 1.4 |
Exploitation and threat intelligence status
CVE-2026-141488 is not listed in the CISA Known Exploited Vulnerabilities Catalog as of 2026-12-04 [2]. The reviewed sources do not report exploitation [2].
Detection and exposure assessment
To determine if an organization is exposed, check if the installed version of AIDB or the EDB Postgres AI Agent Factory for AWS Marketplace falls within the affected range [1]. Organizations using these versions with the endpoint enabled are at risk [1].
Remediation
The vulnerability is resolved in AIDB 7.9.0 and the EDB Postgres AI Agent Factory for AWS Marketplace 1.4 [1]. Organizations should update to these versions to reduce the risk [1].
Remediation checklist
Evidence gaps
- The sources do not describe the affected component's internals.
- The sources do not mention a workaround.
- The sources do not describe the attack lifecycle or scenarios.
- The sources do not provide indicators of compromise.
References
- CVE-2026-141488 record. NIST National Vulnerability Database (NVD), 2026-12-04. https://nvd.nist.gov/vuln/detail/CVE-2026-141488. Accessed 2026-12-04.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-12-04. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-12-04.
Summary
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.
Severity breakdown
Critical · 9.2
An attacker without an account can exploit this over the network, without any user action, but only under specific conditions.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Special conditions
- only in some setups or conditions
- Login needed
- no
- User action needed
- no
- Impact
- high on confidentiality, integrity and availability
- Impact on other systems
- none
Weakness
- CWE-305: Authentication Bypass by Primary Weakness
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| EnterpriseDB AIDB | ≥ 7.7.0, < 7.9.0 | 7.9.0 |
| EnterpriseDB EDB Postgres AI Agent Factory for AWS Marketplace | ≥ 1.0, < 1.4 | 1.4 |
References by type
Other references
Affected
- EnterpriseDB AIDB
- EnterpriseDB EDB Postgres AI Agent Factory for AWS Marketplace
Frequently asked questions
What is CVE-2026-141488?
A flaw in the AIDB MCP endpoint allows attackers to bypass authentication and execute SQL commands as a superuser. The CVSS 4.0 score is 9.2 CRITICAL, rated by a secondary scorer. The vulnerability affects AIDB 7.7.0 through 7.8.0 and the EDB Postgres AI Agent Factory for AWS Marketplace 1.0 through 1.3. The reviewed sources do not report exploitation. The main action is to update to the fixed versions. Weakness type: Authentication Bypass by Primary Weakness (CWE-305).
How severe is CVE-2026-141488?
CVE-2026-141488 has a CVSS 4.0 base score of 9.2 (critical), from the CNA. An attacker without an account can exploit this over the network, without any user action, but only under specific conditions.
Is CVE-2026-141488 being exploited?
Not as far as is known: CVE-2026-141488 is not in CISA's Known Exploited Vulnerabilities catalog as of December 4, 2026. EPSS estimates a 0.6% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-141488?
EnterpriseDB AIDB ≥ 7.7.0, < 7.9.0 (fixed in 7.9.0); EnterpriseDB EDB Postgres AI Agent Factory for AWS Marketplace ≥ 1.0, < 1.4 (fixed in 1.4).
How do I fix CVE-2026-141488?
Update AIDB to version 7.9.0. Update the EDB Postgres AI Agent Factory for AWS Marketplace to version 1.4. The endpoint is disabled by default, but Agent Factory versions 1.0 through 1.3 shipped AIDB 7.8.0 with the endpoint enabled.
Timeline & sources
References
Related vulnerabilities & news
- Kiro Crew Incorrect Default Permissions Vulnerability
- Issue with Language Servers for AWS - MCP consent, command execution and workspace boundary issues (CVE-2026-137931, CVE-2026-137932, CVE-2026-137933, CVE-2026-137934, CVE-2026-137935)
- CVE-2026-139820 — AWS postgresql-logfdw
- AWS Language Servers Vulnerability Allows Arbitrary Code Execution
- AWS Language Servers Vulnerable to Code Execution via Incomplete Consent Check