CVE-2026-62204: SiYuan: Missing consistency check between packageName and repoURL/repoHash in bazaar package install allows overwriting an existing, trusted plugin in github.com/siyuan-note/siyuan/kernel
Published 2026-11-05 · Updated 2026-11-05 · Also known as GHSA-rpx2-p6hp-x5gj, GO-2026-6834
Summary
The SiYuan kernel lacks a consistency check between package names and their repository metadata during bazaar package installation. Users and administrators should update to the patched version to prevent unauthorized plugin overwrites.
Who is affected
Affected deployments are those using the SiYuan kernel where the bazaar package installation functionality is utilized. By exploiting the missing verification, an attacker can overwrite existing, trusted plugins with malicious code.
Exploitability
The vulnerability's base score and CVSS vector are not documented. The EPSS score of 0.001 indicates a low likelihood of widespread exploit attempts, and the vulnerability is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Remediation
- Upgrade github.com/siyuan-note/siyuan/kernel to version 0.0.0-20260808010544-26ccb40d390e or later.
- Verify the integrity of installed bazaar plugins following the update.
How to check your project
- Check the go.mod file in the SiYuan project directory to determine if github.com/siyuan-note/siyuan/kernel is set to a version prior to 0.0.0-20260808010544-26ccb40d390e.
Automated analysis of the published advisory data, generated 2026-11-19. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| Go | github.com/siyuan-note/siyuan/kernel |
>= 0, < 0.0.0-20260808010544-26ccb40d390e | 0.0.0-20260808010544-26ccb40d390e | go get github.com/siyuan-note/siyuan/[email protected] |
FAQ
What specifically causes this vulnerability?
The flaw is caused by a missing consistency check between the packageName and the repoURL/repoHash parameters during the bazaar package installation process.
Does this allow arbitrary code execution?
By allowing an attacker to overwrite an existing, trusted plugin, the vulnerability facilitates the potential execution of unauthorized or malicious code within the SiYuan environment.
Is there a documented CVSS score for this vulnerability?
No, the CVSS vector and base score are not documented for this record.
Original advisory description
References
- ADVISORY https://github.com/siyuan-note/siyuan/security/advisories/GHSA-rpx2-p6hp-x5gj
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-62204
- WEB https://github.com/siyuan-note/siyuan/commit/26ccb40d390eb7d9b04673629a58ab1d69cc7e53
- WEB https://github.com/siyuan-note/siyuan/releases/tag/v3.8.0
- WEB https://www.vulncheck.com/advisories/siyuan-before-plugin-overwrite-via-bazaar-install
Source records: GO-2026-6834 (OSV.dev) · EPSS by FIRST, 2026-11-21.