KeygraphLabs · CVE MCP

CVE-2017-16082 · hackerone

CVE-2017-16082

A remote code execution vulnerability was found within the pg module when the remote database or query specifies a specially crafted column name. There are 2 likely scenarios in which one would likely be vulnerable. 1) Executing unsafe, user-supplied sql which contains a malicious column name. 2) Connecting to an untrusted database and executing a query which returns results where any of the column names are malicious.

Published 2018-06-07, last changed 2026-06-17. Weakness: CWE-94.

CVSS
9.8
critical, from NVD
EPSS
10.3%
percentile 95.8%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

How to fix

Upgrade to a fixed version: pg 2.11.2, 3.6.4, 4.5.7, 5.2.1, 6.0.5, 6.1.6 (npm) (each is the fix for its own release line). For the version that clears every advisory for your installed version, ask an agent for get_remediation.

Timeline

2018-06-07Published
2018-07-24Package advisory GHSA-wc9v-mj63-m9g5
2026-06-17Record last changed
2026-11-30EPSS when our history starts: 10.3%

Affected packages

AdvisoryPackageFixed in
GHSA-wc9v-mj63-m9g5pg (npm)2.11.2
GHSA-wc9v-mj63-m9g5pg (npm)3.6.4
GHSA-wc9v-mj63-m9g5pg (npm)4.5.7
GHSA-wc9v-mj63-m9g5pg (npm)5.2.1
GHSA-wc9v-mj63-m9g5pg (npm)6.0.5

Also known as: GHSA-wc9v-mj63-m9g5

Related

CVEPublishedCVSSSummary
CVE-2026-1054792026-12-039.3same weakness (CWE-94) from the same CNA (hackerone)
CVE-2026-1332072026-11-264.1same weakness (CWE-94) from the same CNA (hackerone)
CVE-2026-1085632026-11-114.7same weakness (CWE-94) from the same CNA (hackerone)
CVE-2026-646332026-08-0410same weakness (CWE-94) from the same CNA (hackerone)
CVE-2026-580742026-08-048.6same weakness (CWE-94) from the same CNA (hackerone)
CVE-2026-486142026-07-069.9same weakness (CWE-94) from the same CNA (hackerone)
CVE-2026-507412026-06-268.8same weakness (CWE-94) from the same CNA (hackerone)
CVE-2026-449592026-06-238.8same weakness (CWE-94) from the same CNA (hackerone)

Add it to your agent

One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.

claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp

Then ask for triage_cve CVE-2017-16082, or call /api/v1/vulnerabilities/CVE-2017-16082. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.

NVD · CVE.org