{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-46816","id":"CVE-2025-46816","title":"goshs route not protected, allows command execution","description":"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.","descriptionLong":"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.","published":"2025-05-06T18:41:58.035Z","updated":"2026-10-28T02:30:26.064694Z","reserved":"2025-04-30T19:41:58.133Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.0","score":9.4,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L","rating":"critical","source":"GitHub_M"},"metrics":[{"version":"3.0","score":9.4,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L","rating":"critical","source":"GitHub_M"},{"version":"3.0","score":9.4,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L","rating":"critical","source":"github.com"},{"version":"3.0","score":9.4,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L","rating":"critical","source":"OSV"},{"version":"3.0","score":9.4,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L","rating":"critical","source":"GitHub"}],"rating":"critical","products":["patrickhener goshs"],"affectedProducts":[{"vendor":"patrickhener","product":"goshs","defaultStatus":null,"versions":[{"version":">= 0.3.4, < 1.0.5","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/patrickhener/goshs","purl":"pkg:golang/github.com/patrickhener/goshs","ranges":[">=0.3.4 <1.0.5"],"fixed":["1.0.5"],"advisory":"GHSA-rwj2-w85g-5cmm"}],"cwes":["CWE-284","CWE-77"],"aliases":["GHSA-rwj2-w85g-5cmm","GO-2025-3672"],"references":[{"url":"https://github.com/patrickhener/goshs/security/advisories/GHSA-rwj2-w85g-5cmm","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/patrickhener/goshs/commit/160220974576afe5111485b8d12fd36058984cfa","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/46xxx/CVE-2025-46816.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-46816","tags":["advisory"]},{"url":"https://github.com/patrickhener/goshs","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total"},"epss":0.0075,"epssPercentile":0.55743,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-46816","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-46816","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-46816","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-rwj2-w85g-5cmm","ok":true,"note":"GHSA-rwj2-w85g-5cmm"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-46816","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}