Skip to content
FlawDB
Sign in

CVE-2026-141488

CRITICAL 9.2

AIDB MCP endpoint authentication bypass through pg_hba.conf methods that do not check a password

AI summary AI generated

A client that can reach the AIDB MCP endpoint can bypass authentication with any password when pg_hba.conf uses peer, trust or ident, then run SQL as the admitted Postgres role.

Mitigation

  • Upgrade AIDB to 7.9.0 or later.
  • Upgrade EDB Postgres AI Agent Factory for AWS Marketplace to 1.4 or later.
  • Vendor workaround: Set edb.endpoints_mcp_enabled = off and reload the configuration, or remove peer, trust and ident lines that match the endpoint's connections, and allow network access to the endpoint port only from trusted MCP clients.

Who should check

  • Anyone running EnterpriseDB AIDB >= 7.7.0, < 7.9.0
  • Anyone running EnterpriseDB EDB Postgres AI Agent Factory for AWS Marketplace >= 1.0, < 1.4

Vulnerability facts

Affected
EnterpriseDB AIDB >= 7.7.0, < 7.9.0; EnterpriseDB EDB Postgres AI Agent Factory for AWS Marketplace >= 1.0, < 1.4
Fixed in
EnterpriseDB AIDB 7.9.0, EnterpriseDB EDB Postgres AI Agent Factory for AWS Marketplace 1.4
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
9.2 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Attack requirements: Present
  • Privileges required: None
  • User interaction: None
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
  • Confidentiality impact on other systems: None
  • Integrity impact on other systems: None
  • Availability impact on other systems: None
CWE
CWE-305
Published
Modified

Description

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.

Affected and fixed versions

Package / productAffectedFixedSource
EnterpriseDB AIDB>= 7.7.0, < 7.9.0—cvelist
EnterpriseDB EDB Postgres AI Agent Factory for AWS Marketplace>= 1.0, < 1.4—cvelist

Versions mentioned in the description AI generated

Extracted by AI; each line quotes the description word for word. Source data above takes precedence.

  • Affected: aidb AIDB 7.7.0 through 7.8.0 are affected by the authentication bypass. AIDB 7.7.0 through 7.8.0
  • Affected: edb postgres ai agent factory for aws marketplace Versions 1.0 through 1.3 ship AIDB 7.8.0 with the endpoint enabled. EDB Postgres AI Agent Factory for AWS Marketplace versions 1.0 through 1.3
  • Fixed: aidb 7.9.0 AIDB 7.9.0
  • Fixed: edb postgres ai agent factory for aws marketplace 1.4 Agent Factory 1.4

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-141488. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-141488.md
Affected: EnterpriseDB AIDB >= 7.7.0, < 7.9.0; EnterpriseDB EDB Postgres AI Agent Factory for AWS Marketplace >= 1.0, < 1.4
Fixed in: EnterpriseDB AIDB 7.9.0, EnterpriseDB EDB Postgres AI Agent Factory for AWS Marketplace 1.4

Steps:
1. Search this machine and project for EnterpriseDB AIDB, EnterpriseDB EDB Postgres AI Agent Factory for AWS Marketplace: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

Technologies

References

FAQ

Is CVE-2026-141488 being exploited?

There is no confirmed exploitation: CVE-2026-141488 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

How serious is CVE-2026-141488?

Critical: CVSS 9.2 (v4.0, scored by CNA). Remote, no login needed.

Which versions are affected by CVE-2026-141488?

EnterpriseDB AIDB >= 7.7.0, < 7.9.0; EnterpriseDB EDB Postgres AI Agent Factory for AWS Marketplace >= 1.0, < 1.4.

Is there a fix for CVE-2026-141488?

Yes. Fixed in EnterpriseDB AIDB 7.9.0, EnterpriseDB EDB Postgres AI Agent Factory for AWS Marketplace 1.4. Upgrade AIDB to 7.9.0 or later. Upgrade EDB Postgres AI Agent Factory for AWS Marketplace to 1.4 or later. Vendor workaround: Set edb.endpoints_mcp_enabled = off and reload the configuration, or remove peer, trust and ident lines that match the endpoint's connections, and allow network access to the endpoint port only from trusted MCP clients.

How do I check if I'm affected by CVE-2026-141488?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

See all
Vulnerabilities, newest first
SeverityIdentifier / vulnerabilityTechnologySignalsAge
MEDIUM 5.3CVE-2026-62157

mongo_fdw out-of-bounds read when building an ObjectId from short _id values

PostgreSQL
EPSS 51%
MEDIUM 6.5CVE-2026-62156

hdfs_fdw HiveQL injection through pushed-down IN and = ANY(array) string literals

EnterpriseDB
EPSS 37%
MEDIUM 5.3CVE-2026-62155

mongo_fdw connection URI injection through unencoded option values

MongoDB+1
EPSS 51%
HIGH 7.5CVE-2026-62154

mysql_fdw runs SQL supplied by a malicious MySQL server during IMPORT FOREIGN SCHEMA

MySQL+1
EPSS 55%
MEDIUM 6.4CVE-2026-62153

mysql_fdw SQL injection through ANALYZE, IMPORT FOREIGN SCHEMA and the sql_mode option

MySQL+1
EPSS 54%
Sponsors