GHSA-5q2p-3jg8-2m98

Suggest an improvement
Source
https://github.com/advisories/GHSA-5q2p-3jg8-2m98
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/10/GHSA-5q2p-3jg8-2m98/GHSA-5q2p-3jg8-2m98.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-5q2p-3jg8-2m98
Aliases
Published
2025-10-05T06:30:14Z
Modified
2025-10-09T22:42:34Z
Severity
  • 2.1 (Low) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P CVSS Calculator
Summary
MCPHub's ServerController is vulnerable to Command Injection
Details

A vulnerability was found in samanhappy MCPHub up to 0.9.10. Affected by this issue is some unknown functionality of the file src/controllers/serverController.ts. The manipulation of the argument command/args results in os command injection. The attack can be launched remotely. The exploit has been made public and could be used. The vendor was contacted early about this disclosure but did not respond in any way.

Database specific
{
    "cwe_ids":  [
        "CWE-77"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2025-10-09T22:18:32Z",
    "nvd_published_at":  "2025-10-05T06:15:32Z",
    "severity":  "LOW"
}
References

Affected packages

npm / @samanhappy/mcphub

Package

Name
@samanhappy/mcphub
View open source insights on deps.dev
Purl
pkg:npm/%40samanhappy/mcphub

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Last Affected
0.9.10

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/10/GHSA-5q2p-3jg8-2m98/GHSA-5q2p-3jg8-2m98.json"