Skip to content

x/vulndb: potential Go vuln in github.com/siyuan-note/siyuan/kernel: GHSA-34fj-mwm6-fjfg #6420

Description

@GoVulnBot

Advisory GHSA-34fj-mwm6-fjfg references a vulnerability in the following Go modules:

Module
github.com/siyuan-note/siyuan/kernel

Description:
CVE: This vulnerability corresponds to CVE-2026-72794.

Summary

/api/system/getConf returns Conf.CookieKey, the key used to sign the server's session cookies in its response body. The endpoint is registered with CheckAuth only, so the field reaches the publish RoleReader token and the anonymous account when Publish.Auth.Enable is false.

The configuration-export endpoint in the same file strips this exact field before returning config, so the project already treats it as secret. The reader-facing masking path does not.

##...

References:

Cross references:

See doc/quickstart.md for instructions on how to triage this report.

id: GO-ID-PENDING
modules:
    - module: github.com/siyuan-note/siyuan/kernel
      versions:
        - fixed: 0.0.0-20260725123945-77421530be4a
summary: |-
    SiYuan: The session-cookie signing key (Conf.CookieKey) is returned to anonymous
    readers by /api/system/getConf in github.com/siyuan-note/siyuan/kernel
cves:
    - CVE-2026-72794
ghsas:
    - GHSA-34fj-mwm6-fjfg
references:
    - advisory: https://github.com/advisories/GHSA-34fj-mwm6-fjfg
    - advisory: https://github.com/siyuan-note/siyuan/security/advisories/GHSA-34fj-mwm6-fjfg
    - advisory: https://nvd.nist.gov/vuln/detail/CVE-2026-72794
    - fix: https://github.com/siyuan-note/siyuan/commit/77421530be4ab1f43310d0f50fbab05d16c38675
    - web: https://www.vulncheck.com/advisories/siyuan-before-session-cookie-key-disclosure-via-getconf
notes:
    - fix: 'github.com/siyuan-note/siyuan/kernel: could not add vulnerable_at: cannot auto-guess when fixed version is 0.0.0 pseudo-version'
source:
    id: GHSA-34fj-mwm6-fjfg
    created: 2026-09-04T22:01:50.401877229Z
review_status: UNREVIEWED

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions