---
id: "CVE-2026-126264"
page: "https://infrastack.ai/live/CVE-2026-126264"
kind: "vulnerability"
aliases: ["CVE-2026-126264"]
title: "SiYuan: authenticated Reader users can read widget credential files"
severity: "high"
cvss: 8.3
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["package", "self-hosted", "siyuan", "widgets"]
not_affected_if: ["no-reader-accounts", "single-user", "version-3.8.9-or-later"]
published_at: "2026-11-13T10:17:28+00:00"
first_seen_at: "2026-11-13T10:47:11+00:00"
updated_at: "2026-11-13T10:51:14+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-126264", "first_seen_at": "2026-11-13T10:47:11+00:00"}]
exploit_sources: []
---

# SiYuan: authenticated Reader users can read widget credential files

Link for people: https://infrastack.ai/live/CVE-2026-126264 (this .md is for agents)

SiYuan before 3.8.9 lets an authenticated user with the Reader role fetch credential-named widget files, such as credentials.json, by getting around the sensitive-path check in getFile. An attacker can collect API keys, tokens, and other stored secrets from those files.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the SiYuan version in use; affected if it is below `3.8.9`.
- Check whether any user accounts hold the Reader role and whether publish-referenced widgets store credentials.json files under the data/widgets directory.

## Fix

- SiYuan: upgrade to `3.8.9` or later.

## Timeline

- 2026-11-13T10:47:11+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-126264

## Documents

- [advisory] Vendor advisory: github.com https://github.com/siyuan-note/siyuan/security/advisories/GHSA-3pm7-cc76-7j2p
- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/siyuan-before-3.8.9-sensitive-file-disclosure-via-api-file-getfile
- [fix] Patch: github.com https://github.com/siyuan-note/siyuan/commit/d122dee55e8d3c77de313d0ad6efae8b6b0ebc07

## From the sources

SiYuan before 3.8.9 contains an information disclosure vulnerability that allows authenticated Reader users to retrieve credential-named widget files by bypassing the sensitive-path guard in getFile. Attackers can request paths like /data/widgets/<package>/credentials.json for publish-referenced widgets to obtain API keys, tokens, or other stored secrets.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
