EnterpriseDB AIDB authentication bypass in MCP endpoint through pg_hba.conf
- Exploited
- No known exploitation
- Fix
- Fixed in AIDB 7.9.0 · EDB Postgres AI Agent Factory for AWS Marketplace 1.4
- Who is exposed
- Specific setups only
Summary
A remote attacker who does not need to log in can run SQL through the AIDB MCP endpoint in AIDB and EDB Postgres AI Agent Factory for AWS Marketplace, because the endpoint accepts any password for database roles set to peer, trust or ident authentication. With common packaged settings, that role is a superuser, which lets the attacker read and change all data and run operating system commands as the Postgres service account.
Written by a model
Original 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.
Who should check
Teams running AIDB 7.7.0-7.8.0 with the MCP endpoint enabled and a peer, trust or ident pg_hba.conf line, and EDB Postgres AI Agent Factory 1.0-1.3 on AWS Marketplace.
Not fixed by: Upgrading AIDB alone can leave Postgres unable to start.
“AIDB 7.7.0 through 7.8.0 with edb.endpoints_mcp_enabled = on”
What to do
Check whether your setup matches what the bug needs.
AIDB 7.7.0 through 7.8.0 with the MCP endpoint enabled (edb.endpoints_mcp_enabled = on) A pg_hba.conf line matching the endpoint's connections uses a method that does not check a password, such as peer, trust or identUpgrade to a fixed version: AIDB 7.9.0 · EDB Postgres AI Agent Factory for AWS Marketplace 1.4.
Workaround: Set edb.endpoints_mcp_enabled = off and reload the configuration, or remove peer, trust and ident lines that match the endpoint's connections
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-141488 (AIDB MCP endpoint authentication bypass through pg_hba.conf methods that do not check a password), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-141488 (entry last updated 2026-12-04):
Affected:
- EnterpriseDB AIDB: from 7.7.0, fixed in 7.9.0
- EnterpriseDB EDB Postgres AI Agent Factory for AWS Marketplace: from 1.0, fixed in 1.4
Fixed versions: 7.9.0, 1.4.
Conditions (all must be true for the bug to be hit):
- AIDB 7.7.0 through 7.8.0 with the MCP endpoint enabled (edb.endpoints_mcp_enabled = on) (source: https://www.enterprisedb.com/docs/security/advisories/cve2026141488/)
- A pg_hba.conf line matching the endpoint's connections uses a method that does not check a password, such as peer, trust or ident (source: https://www.enterprisedb.com/docs/security/advisories/cve2026141488/)
Setup: the bug needs a feature or setting that is off by default or uncommon. Check whether each asset has it on.
Attacker needs: network access, no login, no user action.
Workaround: Set edb.endpoints_mcp_enabled = off and reload the configuration, or remove peer, trust and ident lines that match the endpoint's connections (source: https://www.enterprisedb.com/docs/security/advisories/cve2026141488/)
CISA KEV: CVE-2026-141488 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-141488 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://www.enterprisedb.com/docs/security/advisories/cve2026141488/
- https://www.enterprisedb.com/docs/aidb/latest/release-notes/7/aidb_7.9.0_rel_notes/
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-141488
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-141488"}.Affected versions
- EnterpriseDB AIDBFrom 7.7.0 · fixed in 7.9.0
- EnterpriseDB EDB Postgres AI Agent Factory for AWS MarketplaceFrom 1.0 · fixed in 1.4
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure12/25Specific setups only, reachable over the network without a login
- Reach?/20Unknown. No tracked technology or package matched
- Severity9.2/10CVSS 9.2
- No patch0/5No signal
What would change the score
- Would score about 71 if added to CISA KEV
- Would score about 66 if CISA's SSVC rates exploitation active
Timeline
- CVE published
- First seen by cve.now
- Posted on X by cve.now
Evidence 4
| Kind | Source |
|---|---|
| Vendor advisory 2Establishes: Affected and fixed versions. | |
| Advisory | enterprisedb.com · docs/security/advisories/cve2026141488 |
| Link | enterprisedb.com · docs/aidb/latest/release-notes/7/aidb_7.9.0_rel_notes |
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-141488 |
| Record | NVD · CVE-2026-141488 |
Questions about CVE-2026-141488
Is CVE-2026-141488 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
What does this mean?
The MCP endpoint can be reached without a password check when the pg_hba.conf line matching the endpoint's connections uses a method such as peer, trust or ident. A client can then run SQL as the role that line admits, and for a superuser role this allows reading and changing all data and running operating system commands as the Postgres service account.
Source: enterprisedb.com
Which versions are affected by CVE-2026-141488?
AIDB: from 7.7.0 before 7.9.0. EDB Postgres AI Agent Factory for AWS Marketplace: from 1.0 before 1.4.
Source: cve.now feed data
Am I affected, and how do I check?
AIDB 7.7.0 through 7.8.0 with the MCP endpoint enabled (edb.endpoints_mcp_enabled = on) and a pg_hba.conf line matching the endpoint's connections that uses peer, trust or ident. Check the AIDB version, the edb.endpoints_mcp_enabled setting, and the pg_hba.conf methods that match the endpoint's connections.
Source: enterprisedb.com
How do I fix CVE-2026-141488?
Upgrade to a fixed version: AIDB 7.9.0 · EDB Postgres AI Agent Factory for AWS Marketplace 1.4. The vendor's advisory also recommends AIDB 7.9.0 or AIDB 7.10.0 or later.
Source: cve.now feed data, enterprisedb.com
Related
- CVE-2026-132660In Postgres Enterprise Manager (PEM), several SECURITY DEFINER functions in the pem schema of the PEM backend database are owned by a…
- CVE-2026-132659In Postgres Enterprise Manager (PEM), the row-level security policies on pem.job and pem.jobstep that apply to PEM agents do not limit an…
- CVE-2026-132658In Postgres Enterprise Manager (PEM), the pem_agent role, which every PEM agent login inherits, is a member of the PostgreSQL…
- CVE-2026-132661In Postgres Enterprise Manager (PEM), multi-factor authentication (MFA) is not enforced on the PEM web application's own routes.
- CVE-2026-62154mysql_fdw runs SQL supplied by a malicious MySQL server during IMPORT FOREIGN SCHEMA
- CVE-2026-132662In Postgres Enterprise Manager (PEM), the SQL Profiler save and load functions in the PEM web application do not keep the client-supplied…
No corrections so far. Something wrong on this page? Report an error.