{"answers":{"affected":"3 open source packages ship an affected version, including github.com/siyuan-note/siyuan/kernel.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-72794 exists.","fix":"Upgrade github.com/siyuan-note/siyuan/kernel to 0.0.0-20260725123945-77421530be4a or later.","what":"CVE-2026-72794 is a critical vulnerability in siyuan-note siyuan, published on 12 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-72794 and fix it if it is affected.\n\nWhat it is: CVE-2026-72794 is a critical vulnerability in siyuan-note siyuan, published on 12 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-72794 exists.\n\nAffected packages and fixed versions:\n- github.com/siyuan-note/siyuan/kernel (Go): affected all versions; fixed in 0.0.0-20260725123945-77421530be4a\n- github.com/siyuan-note/siyuan/kernel (Go): affected all versions; fixed in 0.0.0-20260725123945-77421530be4a\n- github.com/siyuan-note/siyuan/kernel (Go): affected all versions; fixed in 0.0.0-20260725123945-77421530be4a\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-2026-72794/ (Markdown: https://insights.sbomify.com/CVE-2026-72794/index.md)","id":"CVE-2026-72794","markdown":"https://insights.sbomify.com/CVE-2026-72794/index.md","name":"CVE-2026-72794","record":{"aliases":["GHSA-34fj-mwm6-fjfg","GO-2026-6420"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read","account_takeover"],"network_reachable":"yes","non_default_config":true,"product_category":"SiYuan note-taking app","requires_auth":"none","summary":"Unauthenticated attackers can retrieve the session cookie signing key in publish mode to forge cookies and impersonate users or gain admin access.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[],"cvss":{"score":9.2,"severity":"critical","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-522","name":"Insufficiently Protected Credentials"}],"description":"siyuan versions before v3.7.4 expose the session cookie signing key through the /api/system/getConf endpoint to unauthenticated users in publish mode. Attackers can retrieve the CookieKey value and forge valid session cookies to impersonate users or gain administrative access.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"siyuan before v3.7.4 Session Cookie Key Disclosure via getConf","id":"CVE-2026-72794","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"information_disclosure","year":"2026"},"n_packages":3,"n_references":2,"next":{"headline":"SiYuan before v3.7.4 Information Disclosure via Embed Block","id":"CVE-2026-72795"},"packages":[{"ecosystem":"Go","fixed":["0.0.0-20260725123945-77421530be4a"],"introduced":["0"],"last_affected":[],"package":"github.com/siyuan-note/siyuan/kernel","purl":null,"source":"GHSA-34fj-mwm6-fjfg"},{"ecosystem":"Go","fixed":["0.0.0-20260725123945-77421530be4a"],"introduced":["0"],"last_affected":[],"package":"github.com/siyuan-note/siyuan/kernel","purl":"pkg:golang/github.com/siyuan-note/siyuan/kernel","source":"GHSA-34fj-mwm6-fjfg"},{"ecosystem":"Go","fixed":["0.0.0-20260725123945-77421530be4a"],"introduced":["0"],"last_affected":[],"package":"github.com/siyuan-note/siyuan/kernel","purl":"pkg:golang/github.com/siyuan-note/siyuan/kernel","source":"GO-2026-6420"}],"prev":{"headline":"SiYuan before v3.7.4 Information Disclosure via /api/system/getConf","id":"CVE-2026-72793"},"products":["siyuan"],"published":"2026-08-12","related":[],"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":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-08-14","vendors":["siyuan-note"]},"summary":"Unauthenticated attackers can retrieve the session cookie signing key in publish mode to forge cookies and impersonate users or gain admin access.","url":"https://insights.sbomify.com/CVE-2026-72794/"}