Skip to content

x/vulndb: potential Go vuln in github.com/siyuan-note/siyuan/kernel: GHSA-h4v5-crx2-3cv4 #6424

Description

@GoVulnBot

Advisory GHSA-h4v5-crx2-3cv4 references a vulnerability in the following Go modules:

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

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

Summary

/api/system/getConf is registered with CheckAuth only and is reachable by the publish RoleReader token, and anonymously when Publish.Auth.Enable is false. Its non-administrator masking chain is a blocklist that enumerates fields individually. Three fields that the configuration-export endpoint in the same file deliberately clears are absent from that blocklist and are returned to readers:

| Field | JSON | What it is | Cleared by exportConf at |
|---|---|---|-...

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-20260725132049-2d8b98395a91
summary: |-
    SiYuan: Non-administrator responses from /api/system/getConf omit three secrets
    that the configuration-export path explicitly strips, disclosing the
    session-cookie signing key and the OS username to anonymous readers in github.com/siyuan-note/siyuan/kernel
cves:
    - CVE-2026-72793
ghsas:
    - GHSA-h4v5-crx2-3cv4
references:
    - advisory: https://github.com/advisories/GHSA-h4v5-crx2-3cv4
    - advisory: https://github.com/siyuan-note/siyuan/security/advisories/GHSA-h4v5-crx2-3cv4
    - advisory: https://nvd.nist.gov/vuln/detail/CVE-2026-72793
    - fix: https://github.com/siyuan-note/siyuan/commit/2d8b98395a910251aea87e90a4fad9c7f954befe
    - web: https://www.vulncheck.com/advisories/siyuan-before-information-disclosure-via-api-system-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-h4v5-crx2-3cv4
    created: 2026-09-04T22:01:54.280362751Z
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