{"api_version":"1","generated_at":"2026-12-04T03:20:29+00:00","cve":"CVE-2026-141488","urls":{"html":"https://cve.report/CVE-2026-141488","api":"https://cve.report/api/cve/CVE-2026-141488.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-141488","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-141488"},"summary":{"title":"AIDB MCP endpoint authentication bypass through pg_hba.conf methods that do not check a password","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.","state":"PUBLISHED","assigner":"EDB","published_at":"2026-12-04 02:16:58","updated_at":"2026-12-04 02:16:58"},"problem_types":["CWE-305","CWE-305 CWE-305 Authentication Bypass by Primary Weakness"],"metrics":[{"version":"4.0","source":"20be33e2-bf35-4d13-8fad-18bd2f3e3659","type":"Secondary","score":"9.2","severity":"CRITICAL","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","data":{"version":"4.0","vectorString":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","baseScore":9.2,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","confidentialityRequirement":"NOT_DEFINED","integrityRequirement":"NOT_DEFINED","availabilityRequirement":"NOT_DEFINED","modifiedAttackVector":"NOT_DEFINED","modifiedAttackComplexity":"NOT_DEFINED","modifiedAttackRequirements":"NOT_DEFINED","modifiedPrivilegesRequired":"NOT_DEFINED","modifiedUserInteraction":"NOT_DEFINED","modifiedVulnConfidentialityImpact":"NOT_DEFINED","modifiedVulnIntegrityImpact":"NOT_DEFINED","modifiedVulnAvailabilityImpact":"NOT_DEFINED","modifiedSubConfidentialityImpact":"NOT_DEFINED","modifiedSubIntegrityImpact":"NOT_DEFINED","modifiedSubAvailabilityImpact":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED"}},{"version":"4.0","source":"CNA","type":"CVSS","score":"9.2","severity":"CRITICAL","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","data":{"baseScore":9.2,"baseSeverity":"CRITICAL","vectorString":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"}}],"references":[{"url":"https://www.enterprisedb.com/docs/aidb/latest/release-notes/7/aidb_7.9.0_rel_notes/","name":"https://www.enterprisedb.com/docs/aidb/latest/release-notes/7/aidb_7.9.0_rel_notes/","refsource":"20be33e2-bf35-4d13-8fad-18bd2f3e3659","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.enterprisedb.com/docs/security/advisories/cve2026141488/","name":"https://www.enterprisedb.com/docs/security/advisories/cve2026141488/","refsource":"20be33e2-bf35-4d13-8fad-18bd2f3e3659","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-141488","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-141488","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"EnterpriseDB","product":"AIDB","version":"affected 7.7.0 7.9.0 semver","platforms":[]},{"source":"CNA","vendor":"EnterpriseDB","product":"EDB Postgres AI Agent Factory for AWS Marketplace","version":"affected 1.0 1.4 custom","platforms":[]}],"timeline":[],"solutions":[{"source":"CNA","title":"","value":"Upgrade AIDB to 7.10.0 together with the latest minor release of the Postgres server (for example 18.7), or to AIDB 7.9.0 when staying on an earlier minor release (for example 18.6). Both refuse connections that pg_hba.conf admitted without checking a password. Before upgrading, give MCP client roles passwords and change the matching pg_hba.conf lines to a password method such as scram-sha-256. From 7.9.0 the endpoint requires PostgreSQL 16 or later. On EDB Postgres AI Agent Factory, replace instances with version 1.4 or later, or upgrade the EDB Postgres Advanced Server packages together with AIDB on existing instances.","time":"","lang":"en"}],"workarounds":[{"source":"CNA","title":"","value":"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.","time":"","lang":"en"}],"exploits":[],"credits":[{"source":"CNA","value":"kta1kri","lang":"en"}],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","modules":["edb-endpoints"],"product":"AIDB","vendor":"EnterpriseDB","versions":[{"lessThan":"7.9.0","status":"affected","version":"7.7.0","versionType":"semver"}]},{"defaultStatus":"unaffected","product":"EDB Postgres AI Agent Factory for AWS Marketplace","vendor":"EnterpriseDB","versions":[{"lessThan":"1.4","status":"affected","version":"1.0","versionType":"custom"}]}],"credits":[{"lang":"en","type":"finder","value":"kta1kri"}],"descriptions":[{"lang":"en","value":"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."}],"metrics":[{"cvssV4_0":{"baseScore":9.2,"baseSeverity":"CRITICAL","vectorString":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"format":"CVSS"}],"problemTypes":[{"descriptions":[{"cweId":"CWE-305","description":"CWE-305 Authentication Bypass by Primary Weakness","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-12-04T00:53:25.717Z","orgId":"20be33e2-bf35-4d13-8fad-18bd2f3e3659","shortName":"EDB"},"references":[{"tags":["vendor-advisory"],"url":"https://www.enterprisedb.com/docs/security/advisories/cve2026141488/"},{"tags":["release-notes"],"url":"https://www.enterprisedb.com/docs/aidb/latest/release-notes/7/aidb_7.9.0_rel_notes/"}],"solutions":[{"lang":"en","value":"Upgrade AIDB to 7.10.0 together with the latest minor release of the Postgres server (for example 18.7), or to AIDB 7.9.0 when staying on an earlier minor release (for example 18.6). Both refuse connections that pg_hba.conf admitted without checking a password. Before upgrading, give MCP client roles passwords and change the matching pg_hba.conf lines to a password method such as scram-sha-256. From 7.9.0 the endpoint requires PostgreSQL 16 or later. On EDB Postgres AI Agent Factory, replace instances with version 1.4 or later, or upgrade the EDB Postgres Advanced Server packages together with AIDB on existing instances."}],"source":{"discovery":"EXTERNAL"},"title":"AIDB MCP endpoint authentication bypass through pg_hba.conf methods that do not check a password","workarounds":[{"lang":"en","value":"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."}],"x_generator":{"engine":"cvelib 1.8.0"}}},"cveMetadata":{"assignerOrgId":"20be33e2-bf35-4d13-8fad-18bd2f3e3659","assignerShortName":"EDB","cveId":"CVE-2026-141488","datePublished":"2026-12-04T00:53:25.717Z","dateReserved":"2026-12-01T20:12:07.793Z","dateUpdated":"2026-12-04T00:53:25.717Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-12-04 02:16:58","lastModifiedDate":"2026-12-04 02:16:58","problem_types":["CWE-305","CWE-305 CWE-305 Authentication Bypass by Primary Weakness"],"metrics":{"cvssMetricV40":[{"source":"20be33e2-bf35-4d13-8fad-18bd2f3e3659","type":"Secondary","cvssData":{"version":"4.0","vectorString":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","baseScore":9.2,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","confidentialityRequirement":"NOT_DEFINED","integrityRequirement":"NOT_DEFINED","availabilityRequirement":"NOT_DEFINED","modifiedAttackVector":"NOT_DEFINED","modifiedAttackComplexity":"NOT_DEFINED","modifiedAttackRequirements":"NOT_DEFINED","modifiedPrivilegesRequired":"NOT_DEFINED","modifiedUserInteraction":"NOT_DEFINED","modifiedVulnConfidentialityImpact":"NOT_DEFINED","modifiedVulnIntegrityImpact":"NOT_DEFINED","modifiedVulnAvailabilityImpact":"NOT_DEFINED","modifiedSubConfidentialityImpact":"NOT_DEFINED","modifiedSubIntegrityImpact":"NOT_DEFINED","modifiedSubAvailabilityImpact":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED"}}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"141488","Ordinal":"1","Title":"AIDB MCP endpoint authentication bypass through pg_hba.conf meth","CVE":"CVE-2026-141488","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"141488","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"AIDB MCP endpoint authentication bypass through pg_hba.conf meth"}]}}}