PostgreSQL CVE & Release Intelligence
v2.0.1PostgreSQL security for AI agents: CVEs, yanked releases, exploits, and upgrade paths
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_cves
Get the complete security report for a PostgreSQL version. Returns EOL and yanked status, the latest minor in the branch, summary stats (CVE count, max CVSS, exploit count) and the full list of CVEs sorted by CVSS score (highest first). For end-of-life releases a synthetic CVE-EOL-WARNING entry (CVSS 10.0) is prepended. Args: version: A PostgreSQL version string (e.g. "16.4", "15.8", "14.0").
| Parameter | Type | Description |
|---|---|---|
version * | string |
compare_versions
Compare the CVE profiles of two PostgreSQL versions side by side. Shows CVEs fixed in v2 (present in v1 but not v2), new CVEs in v2, and CVEs still present in both, all sorted by CVSS score. Flags whether either version is yanked or end-of-life. Args: v1: First PostgreSQL version (e.g. "16.3"). v2: Second PostgreSQL version (e.g. "16.4").
| Parameter | Type | Description |
|---|---|---|
v1 * | string | |
v2 * | string |
get_upgrade_path
Suggest the recommended upgrade target for a PostgreSQL version. Returns the latest minor in the same branch (the safe, low-effort upgrade) with the CVEs it fixes. If the branch is end-of-life or the next one to reach end-of-life, a major upgrade is also recommended: it targets the previous, already-hardened major (N-1) rather than the brand-new one, mirroring how a cautious DBA would advise. Args: from_version: The currently installed PostgreSQL version (e.g. "16.3").
| Parameter | Type | Description |
|---|---|---|
from_version * | string |
get_exploits
List all CVEs with known public exploits, sorted by CVSS score.
get_summary
Get an overview of the tracked PostgreSQL CVE database. Returns total unique CVEs, known exploits, yanked releases (with reasons), the next major to reach EOL, active/EOL major counts and the dataset's last_updated date.