Vulnerabilities in pkg:npm/hyperterse
PACKAGECVE-2026-31841 is a MODERATE (CVSS 6.5) raw exposure of database statements vulnerability (CWE-433: Unparsed Raw Web Content Delivery) affecting Hyperterse libraries in the npm ecosystem. The issue involves raw exposure of database statements in mcp search tool. Remediation is available by upgrading affected packages to version 2.2.0.
pkg:npm/hyperterse
Vulnerability advisories affecting package pkg:npm/hyperterse. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-92gp-jfgx-9qpv | CVE-2026-31841 | MODERATE | Hyperterse: Raw exposure of database statements in MCP search tool |
CVE-2026-31841 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N).
How to Fix CVE-2026-31841
To remediate this vulnerability, upgrade all affected Hyperterse dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install hyperterse@2.2.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls hyperterse
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-31841, inspect your project dependencies using npm:
npm ls hyperterse
Analyze the terminal output to locate any version of Hyperterse in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.2.0), your application is affected.
Note: The npm ls hyperterse command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-433: Unparsed Raw Web Content Delivery, where the product stores raw content or supporting code under the web document root with an extension that is not specifically handled by the server. In Hyperterse, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-31841 Affected Hyperterse Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
hyperterse
|
npm |
≥ 2.0.0
< 2.2.0
|
2.2.0
|
References
Frequently Asked Questions
What is CVE-2026-31841?
Which Hyperterse versions are affected?
What version fixes CVE-2026-31841?
Is hyperterse affected?
What is the CVSS score of CVE-2026-31841?
What CWE is associated with CVE-2026-31841?
How can I check npm dependencies for CVE-2026-31841?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-92gp-jfgx-9qpv",
"modified" : "2026-03-12T18:32:54Z",
"published" : "2026-03-12T18:32:54Z",
"aliases" : [ "CVE-2026-31841" ],
"summary" : "Hyperterse: Raw exposure of database statements in MCP search tool",
"details" : "Hyperterse allows users to specify database queries for tools to execute under the hood. As of [v2.0.0](https://github.com/hyperterse/hyperterse/releases/tag/v2.0.0), there are only two tools exposed - `search` and `execute`. \n\nThe `search` tool allows LLMs to search for tools using natural language. While returning results, Hyperterse also returned the raw SQL queries, exposing statements which were supposed to be executed under the hood, and protected from being displayed publicly.\n\nThis issue has been fixed as of [v2.2.0](https://github.com/hyperterse/hyperterse/releases/tag/v2.2.0) and relevant tests to catch these have been added.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "hyperterse"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.0.0"
}, {
"fixed" : "2.2.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/hyperterse/hyperterse/security/advisories/GHSA-92gp-jfgx-9qpv"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-31841"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/hyperterse/hyperterse"
}, {
"type" : "WEB",
"url" : "https://github.com/hyperterse/hyperterse/releases/tag/v2.2.0"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-433" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-03-12T18:32:54Z",
"nvd_published_at" : "2026-03-12T17:16:51Z"
}
}