1. Archivio CVE
  2. 2026
  3. CVE-2026-85175

CVE-2026-85175

8.8 Gravità alta CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H 8.8 – Alta

Descrizione

SiYuan versions <= 3.8.1 (fixed in v3.8.2) contain an incomplete blocklist in the IsForbiddenAbsPath() function (kernel/util/path_guard.go), which only blocks conf/conf.json by exact match and does not restrict the TLS private key (conf/key.pem) or CA private key (conf/ca.key) stored in the same conf/ directory. Because the getFile handler skips the blocklist for RoleAdministrator and all authenticated users receive RoleAdministrator in v3.8.1, any user (or any client on a default no-auth-code instance) can retrieve these private keys via POST /api/file/getFile. On deployments with TLS enabled, this allows decryption of captured HTTPS traffic (key.pem) and forging of certificates trusted by clients that imported SiYuan's CA (ca.key).

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
b3log siyuan < 3.8.2 –
Tutte le 226 vulnerabilità di B3log Siyuan

Tipo di vulnerabilità

CWE-552 File o cartelle accessibili a soggetti esterni

Il prodotto rende file o cartelle accessibili a soggetti non autorizzati, anche se non dovrebbero esserlo.

Impatto sui sistemi

AmbitoImpatto
Riservatezza, Integrità Leggere file o cartelle, Modificare file o cartelle

Come si previene

Sviluppo · Configurazione del sistema · Esercizio When storing data in the cloud (e.g., S3 buckets, Azure blobs, Google Cloud Storage, etc.), use the provider's controls to disable public access.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 481 CVE di tipo CWE-552, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org