Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-46816— goshs route not protected, allows command execution

Quick assessment

Affected
patrickhener goshs
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

goshs是Patrick Hener个人开发者的一个用Go编写的简单HTTP Server。 goshs 1.0.5之前版本存在访问控制错误漏洞,该漏洞源于未检查cli选项-c,可能导致任意命令执行。

AI Predicted 10.0 Difficulty: Easy EPSS 0.69% · P51
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-46816

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
goshs route not protected, allows command execution
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
访问控制不恰当
Source: CVE Program / CVE List V5
Vulnerability Title
goshs 访问控制错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
goshs是Patrick Hener个人开发者的一个用Go编写的简单HTTP Server。 goshs 1.0.5之前版本存在访问控制错误漏洞,该漏洞源于未检查cli选项-c,可能导致任意命令执行。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
patrickhener goshs >= 0.3.4, < 1.0.5 -

II. Public POCs for CVE-2025-46816

# POC Description Source Link Shenlong Link
1 POC for exploit of goshs https://github.com/Guilhem7/CVE-2025-46816 POC Details
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-46816

请登录查看更多情报信息。

IV. Related Vulnerabilities

V. Comments for CVE-2025-46816

No comments yet


Leave a comment