---
id: CVE-2026-85174
title: >-
  SiYuan before v3.8.2 logs API tokens from query parameters in plaintext to an
  accessible log file when full-text search requests exceed timing thresholds
summary: >-
  SiYuan before v3.8.2 logs API tokens from query parameters in plaintext to an
  accessible log file when full-text search requests exceed timing thresholds.
  Authenticated attackers can read the log file via the getFile endpoint to
  recover …
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-532
published: '2026-09-03'
updated: '2026-09-08'
sourceUpdated: '2026-09-08T20:18:59.270'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-85174'
references:
  - url: >-
      https://github.com/siyuan-note/siyuan/security/advisories/GHSA-3wvc-5754-gp67
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/siyuan-before-3.8.2-api-token-exposure-via-log-file
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/siyuan-note/siyuan/security/advisories/GHSA-3wvc-5754-gp67
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
epss: 0.00298
epssPercentile: 0.22757
ingestedAt: '2026-09-05T20:44:36.247Z'
---

## Overview

SiYuan before v3.8.2 logs API tokens from query parameters in plaintext to an accessible log file when full-text search requests exceed timing thresholds. Authenticated attackers can read the log file via the getFile endpoint to recover admin API tokens and gain permanent administrative access.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
