{"answers":{"affected":"2 open source packages ship an affected version, including @samanhappy/mcphub. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-11285 exists.","fix":"No fix has been published for CVE-2025-11285 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-11285 is a medium-severity command injection vulnerability in samanhappy MCPHub, published on 5 Oct 2025. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-11285 and fix it if it is affected.\n\nWhat it is: CVE-2025-11285 is a medium-severity command injection vulnerability in samanhappy MCPHub, published on 5 Oct 2025. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-11285 exists.\n\nAffected packages and fixed versions:\n- @samanhappy/mcphub (npm): affected all versions up to 0.9.10; no fix listed\n- @samanhappy/mcphub (npm): affected all versions up to 0.9.10; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-11285/ (Markdown: https://insights.sbomify.com/CVE-2025-11285/index.md)","id":"CVE-2025-11285","markdown":"https://insights.sbomify.com/CVE-2025-11285/index.md","name":"CVE-2025-11285","record":{"aliases":["GHSA-5q2p-3jg8-2m98"],"analysis":{"component_type":"library","fix_type":"no_fix_stated","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"MCPHub npm package","requires_auth":"low_privilege","summary":"Remote attackers can execute arbitrary OS commands via the command/args arguments in MCPHub, requiring permissions but posing a high risk.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulDB","cpe":[{"product":"mcphub","vendor":"mcphubx"}],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"},{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"description":"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"samanhappy MCPHub serverController.ts os command injection","id":"CVE-2025-11285","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"command_injection","year":"2025"},"n_packages":2,"n_references":4,"next":{"headline":"samanhappy MCPHub MCPRouter Service serverController.ts server-side request forgery","id":"CVE-2025-11286"},"packages":[{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["0.9.10"],"package":"@samanhappy/mcphub","purl":null,"source":"GHSA-5q2p-3jg8-2m98"},{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["0.9.10"],"package":"@samanhappy/mcphub","purl":"pkg:npm/%40samanhappy/mcphub","source":"GHSA-5q2p-3jg8-2m98"}],"prev":{"headline":"Zytec Dalian Zhuoyun Technology Central Authentication Service HTTP Header git hard-coded password","id":"CVE-2025-11284"},"products":["MCPHub"],"published":"2025-10-05","related":[{"cvss_score":6.9,"headline":"samanhappy MCPHub sseService.ts handleSseConnectionfunction improper authentication","id":"CVE-2025-11287","kev_date_added":null,"published":"2025-10-05"},{"cvss_score":5.3,"headline":"Authentication bypass in MCPHub","id":"CVE-2025-13822","kev_date_added":null,"published":"2026-04-14"},{"cvss_score":5.1,"headline":"samanhappy MCPHub MCPRouter Service serverController.ts server-side request forgery","id":"CVE-2025-11286","kev_date_added":null,"published":"2025-10-05"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-10-07","vendors":["samanhappy"]},"summary":"Remote attackers can execute arbitrary OS commands via the command/args arguments in MCPHub, requiring permissions but posing a high risk.","url":"https://insights.sbomify.com/CVE-2025-11285/"}