{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-46816","published":"2025-05-06T19:16:00.080000Z","last_modified":"2026-06-17T09:26:58.900000Z","status":"Deferred","cvss":{"version":"3.0","score":9.4,"severity":"CRITICAL","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-77","CWE-284"],"cpes":[],"cpes_truncated":false,"vendors":["patrickhener"],"products":["patrickhener/goshs"],"ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-rwj2-w85g-5cmm","ecosystem":"Go","name":"github.com/patrickhener/goshs","purl":"pkg:golang/github.com/patrickhener/goshs","ranges":[{"introduced":"0.3.4","fixed":"1.0.5"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2025-3672","ecosystem":"Go","name":"github.com/patrickhener/goshs","purl":"pkg:golang/github.com/patrickhener/goshs","ranges":[{"introduced":"0.3.4","fixed":"1.0.5"}],"versions":[],"versions_truncated":false}],"severity":"critical","priority_score":71,"links":{"html_es":"/es/cve/CVE-2025-46816/","html_en":"/en/cve/CVE-2025-46816/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-46816","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-46816"},"untrusted":{"vendor_name":"patrickhener","product_name":"goshs","desc_en":"goshs is a SimpleHTTPServer written in Go. Starting in version 0.3.4 and prior to version 1.0.5, running goshs without arguments makes it possible for anyone to execute commands on the server. The function `dispatchReadPump` does not checks the option cli `-c`, thus allowing anyone to execute arbitrary command through the use of websockets. Version 1.0.5 fixes the issue.","affected":[{"untrusted_vendor":"patrickhener","untrusted_product":"goshs","versions":[]}],"references":[{"url":"https://github.com/patrickhener/goshs/commit/160220974576afe5111485b8d12fd36058984cfa","tags":[]},{"url":"https://github.com/patrickhener/goshs/security/advisories/GHSA-rwj2-w85g-5cmm","tags":[]}]}}