CVE-2026-59832
Full vulnerability record from the local CVENow database.
Description
SiYuan is an open-source personal knowledge management system. Prior to 3.7.1, the /snippets/*filepath route handler serveSnippets in kernel/server/serve.go joins a single-decoded request path with the snippets directory without subpath containment or sensitive-path checks, allowing an authenticated request such as /snippets/%2e%2e/%2e%2e/conf/conf.json to read workspace secrets and the document database. This issue is fixed in versions 3.7.1.
Severity
HIGH
CVSS score
7.7
(v3.1)
Vulnerability status
Deferred
Source identifier
Published
2026-07-09 23:17:05.627000
Last modified
2026-10-25 15:10:00.147000
View original CVE JSON
{
"id": "CVE-2026-59832",
"sourceIdentifier": "[email protected]",
"published": "2026-07-09T23:17:05.627",
"lastModified": "2026-10-25T15:10:00.147",
"vulnStatus": "Deferred",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "SiYuan is an open-source personal knowledge management system. Prior to 3.7.1, the /snippets/*filepath route handler serveSnippets in kernel/server/serve.go joins a single-decoded request path with the snippets directory without subpath containment or sensitive-path checks, allowing an authenticated request such as /snippets/%2e%2e/%2e%2e/conf/conf.json to read workspace secrets and the document database. This issue is fixed in versions 3.7.1."
},
{
"lang": "es",
"value": "SiYuan es un sistema de gestión de conocimiento personal de código abierto. Antes de la versión 3.7.1, el gestor de ruta /snippets/filepath serveSnippets en kernel/server/serve.go une una ruta de solicitud decodificada una sola vez con el directorio de snippets sin contención de subrutas ni comprobaciones de rutas sensibles, lo que permite que una solicitud autenticada como /snippets/%2e%2e/%2e%2e/conf/conf.json lea secretos del espacio de trabajo y la base de datos de documentos. Este problema se ha solucionado en la versión 3.7.1."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "siyuan-note",
"product": "siyuan",
"versions": [
{
"version": "< 3.7.1",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "[email protected]",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N",
"baseScore": 7.7,
"baseSeverity": "HIGH",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "LOW",
"userInteraction": "NONE",
"scope": "CHANGED",
"confidentialityImpact": "HIGH",
"integrityImpact": "NONE",
"availabilityImpact": "NONE"
},
"exploitabilityScore": 3.1,
"impactScore": 4.0
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-07-10T14:41:47.607410Z",
"id": "CVE-2026-59832",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "[email protected]",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-22"
},
{
"lang": "en",
"value": "CWE-23"
}
]
}
],
"references": [
{
"url": "https://github.com/siyuan-note/siyuan/commit/68cc0f537dfa4502496dfa794e71835421c25c09",
"source": "[email protected]"
},
{
"url": "https://github.com/siyuan-note/siyuan/releases/tag/v3.7.1",
"source": "[email protected]"
},
{
"url": "https://github.com/siyuan-note/siyuan/security/advisories/GHSA-275h-v5h9-vr82",
"source": "[email protected]"
}
]
}