Vulnérabilité dans github.com/siyuan-note/siyuan/kernel (CVE-2026-72809)
Résumé
Vulnérabilité dans github.com/siyuan-note/siyuan/kernel (CVE-2026-72809). Des informations confidentielles peuvent être exposées. Exploitable via CheckAuth. Atténuation : mise à jour vers 0.0.0-20260723031701-9c16e9851f0b ou plus.
Description d'origine
La description telle que publiée par la source (souvent en anglais).
CVE: This vulnerability corresponds to CVE-2026-72809.
Summary
The kernel's CheckAuth grants RoleAdministrator to any request whose RemoteAddr is loopback (127.0.0.1), for a specific set of endpoints, and these localhost bypasses sit outside the accessAuthCode gate so they apply even when an access auth code is configured. This is demonstrated live (Part A below).
Separately, the fixed-port reverse proxy (fixedport.go) forwards requests to the kernel over loopback and injects no authentication token, and no SetTrustedProxies is configured, so gin does not derive the client address from forwarding headers. By code inspection, a request forwarded through this proxy would reach the kernel with RemoteAddr = 127.0.0.1. If the fixed-port proxy is bound to a network interface (via NetworkServe) and forwards remote requests to the kernel this way, the localhost bypass would grant a remote unauthenticated caller admin on those endpoints. This second step is established by reading the code but was not reproduced end-to-end, and I'm asking the maintainer to confirm the proxy's runtime forwarding behavior (Part B below).
Details
Localhost-trust admin bypass (proven). CheckAuth (session.go:298-321) contains localhost-only bypasses that key off RemoteAddr and grant RoleAdministrator. They sit outside the accessAuthCode gate i.e. they apply even when an access auth code is set and…
Source: NIST National Vulnerability Database NVD GitHub Advisory
Résumé généré automatiquement
Assemblé par SecPulse à partir des données sources (CVSS, CWE, versions affectées) à l'aide de modèles, sans IA. Vérifiez la description d'origine et les références ci-dessous.
Une vulnérabilité référencée CVE-2026-72809 a été découverte dans github.com/siyuan-note/siyuan/kernel.
Des attaquants peuvent cibler un point d'entrée spécifique comme CheckAuth à distance pour détourner le produit.
Des informations confidentielles peuvent être exposées. Score CVSS : 8.0/10.
Action : mettez à jour github.com/siyuan-note/siyuan/kernel vers 0.0.0-20260723031701-9c16e9851f0b ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « github.com/siyuan-note/siyuan/kernel CVE-2026-72809 » sur le site de l'éditeur.
CVE-2026-72809 (github.com/siyuan-note/siyuan/kernel) — CWE-290 / CVSS v3 8.0
Vecteur d'attaque : local / non authentifié / sans interaction utilisateur
Surface d'attaque : CheckAuth / RoleAdministrator / RemoteAddr / accessAuthCode
Correctif : 0.0.0-20260723031701-9c16e9851f0b — appliquer immédiatement
Plan : 1) Audit SBOM, 2) Mise à jour staging→prod, 3) Surveillance WAF/proxy sur les endpoints affectés, 4) Recherche d'IOC dans les logs.
Réfs : voir GHSA / avis éditeur / version corrigée liés sur cette page.
Une vulnérabilité (CWE-290) affecte github.com/siyuan-note/siyuan/kernel. Les attaquants atteignent le code vulnérable via CheckAuth sans authentification.
Consultez l'avis de l'éditeur pour les versions affectées de github.com/siyuan-note/siyuan/kernel. Surface d'attaque : CheckAuth / RoleAdministrator / RemoteAddr / accessAuthCode.
Gravité : Élevée (CVSS 8.0/10). Des informations confidentielles peuvent être exposées.
Mettre à jour vers 0.0.0-20260723031701-9c16e9851f0b.
En attendant le correctif : désactivez la fonctionnalité concernée, appliquez des règles WAF, ou restreignez l'accès par ACL réseau.
Recherchez dans les logs des requêtes correspondant aux IOC connus de cette CVE. Auditez les SBOM/dépendances.
Actions de réponse
Étapes concrètes et exemples de commandes que les équipes SOC/SRE doivent exécuter dans l'ordre
-
1Identify exposure identify
grep -r 'github.com/siyuan-note/siyuan/kernel' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
github.com/siyuan-note/siyuan/kernelを grep し、稼働しているサービス・バージョンを把握する。 -
2Apply patch patch
Upgrade github.com/siyuan-note/siyuan/kernel to 0.0.0-20260723031701-9c16e9851f0bステージング環境で 0.0.0-20260723031701-9c16e9851f0b に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Paquets affectés
Références
- web github.com
- web vulncheck.com
- web nvd.nist.gov
- web github.com
- web github.com
- web github.com