Critical

AIDB MCP endpoint accepts any Basic auth password, grants SQL access

A client that can reach the AIDB MCP endpoint can log in with any password and run SQL as the Postgres role. This happens because authentication goes over the local socket, where passwordless pg_hba methods like peer, trust or ident always succeed.

Product
AIDB
Systems
macOSWindowsLinux
Fixed in
1.47.9.0
CVSS
9.2
Weakness
CWE-305
Source
Get the fix in Telegram

Am I affected?

You are affected if the installed version is older than the fixed version of its release line: 1.4, 7.9.0. Check the version you have and update to the fixed version of your line or later. The fixed versions are verified against a vendor or advisory source.

Affected software and versions

PackageEcosystemAffectedFixed in
AIDBother>=7.7.0, <7.9.07.9.0
EDB Postgres AI Agent Factory for AWS Marketplaceother>=1.0, <1.41.4

A fixed version is shown only when it is verified against a vendor or advisory source.

Who should check

Anyone running AIDB before 7.9.0, or EDB Postgres AI Agent Factory for AWS Marketplace before 1.4, on macOS, Windows or Linux.

Expected outcome after remediation

The agent reports which versions of AIDB or EDB Postgres AI Agent Factory were found, whether they are in the affected range, and that the fixed version has been installed or the pg_hba workaround applied.

Get the fix

FixLane has a reviewed fix procedure for this incident: a read-only check first, then the fix. Ask the Telegram bot, or connect an AI agent to the FixLane MCP server and call get_fix_prompt with incident id 5814 and your operating system.