GITHUB.COM/SIYUAN-NOTE/SIYUAN/KERNEL · CVE-2026-32110 · Package
FIX → 3.6.0
SiYuan's /api/network/forwardProxy endpoint sends HTTP requests to any URL a logged-in user supplies and returns the full response. An attacker can use the server to reach localhost, internal services and cloud metadata endpoints.
first public Mar 11, 2026 · 2 sources
Check it with your coding agent
It checks your repository and tells you if you’re affected, with the fix.
Anyone running SiYuan 3.5.9 or earlier who has an account or access auth code, and whose server can reach internal networks or cloud metadata services. Desktop-only use on a laptop with no shared network exposure carries less risk than a self-hosted server open to a LAN or the internet.
Not affected if auth-required, version-3.6.0-or-later
Who cares cloud, cwe-918, self-hosted, siyuan
unknown for the install method, but the affected range is versions up to and including 3.5.9Upgrade to 3.6.0
The /api/network/forwardProxy endpoint allows authenticated users to make arbitrary HTTP requests from the server. The endpoint accepts a user-controlled URL and makes HTTP requests to it, returning the full response body and headers. There is no URL validation to prevent requests to internal networks, localhost, or cloud metadata services.
File: /kernel/api/network.go (Lines 153-317)
func forwardProxy(c *gin.Context) {
ret := gulu.Ret.NewResult()
defer c.JSON(http.StatusOK, ret)
arg, ok := util.JsonArg(c, ret)
if !ok {
return
}
destURL := arg["url"].(string)
// VULNERABILITY: Only validates URL format, not destination
if _, e := url.ParseRequestURI(destURL); nil != e {
ret.Code = -1
ret.Msg = "invalid [url]"
return
}
// ... HTTP request is made to user-controlled URL ...
resp, err := request.Send(method, destURL)
bodyData, err := io.ReadAll(resp.Body)
ret.Data = data
}
<img width="1230" height="754" alt="Screenshot 2026-03-11 at 1 23 36 AM" src="https://github.com/user-attachments/assets/60486dba-1ccd-4287-8073-b803854756a2" />
Are you affected?
Tell InfraStack what you run. It checks this one, and every next one, against your stack.
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.
3.6.0POST /api/network/forwardProxy HTTP/1.1
Host: <HOST>
Cookie: siyuan=<COOKIE>
Content-Length: 102
{"url":"http://169.254.169.254/metadata/v1/","method":"GET","headers":[],"payload":"","timeout":7000}'
This page as .md · .json · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
GitHub Advisory Database, CC-BY 4.0 · NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.