원문 설명
SiYuan versions <= 3.8.1 contain an incomplete fix for CVE-2026-32767 (GHSA-j7wh-x834-p3r7). The prior fix (commit d5e2d0bc) added an administrator check for SQL mode (method=2) in POST /api/search/fullTextSearchBlock, but the endpoint still does not enforce the application's read-only boundary: for method=2 it forwards caller-supplied SQL to the blocks database query path without calling model.CheckReadonly or CheckReadonlyStatementInBox. As a result, when a workspace runs in read-only mode (--readonly=true), an authenticated administrator can submit arbitrary SQL through /api/search/fullTextSearchBlock and obtain raw read access to the blocks database, even though the dedicated /api/query/sql endpoint is blocked in that mode. Fixed in v3.8.2.
영향받는 소프트웨어
- SiYuan < 3.8.2 수정 버전: 3.8.2 저장소·패키지 일치
상세
- 공개일
- 2026-09-09
- 최종 수정
- 2026-09-09
- CVSS 벡터
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N- CWE
- CWE-693
- EPSS(30일 내 악용 확률)
- 0.44% (백분위 39)
참고 자료
- cve.org/CVE-2026-87808
- nvd.nist.gov/vuln/detail/CVE-2026-87808
- github.com/siyuan-note/siyuan/security/advisories/GHSA-4qwm-3p58-vh67
- github.com/siyuan-note/siyuan/commit/d5e2d0bce0dffef5f61bd8066954bc2d41181fc5
- www.vulncheck.com/advisories/siyuan-before-3.8.2-read-only-boundary-bypass-via-fulltextsea...
내 서버의 버전을 직접 추적하세요
InfraGuard 는 모든 서버에 설치된 소프트웨어 버전을 수집하고, 알려진 취약점이 있는 버전을 알려 줍니다. 자체 호스팅이라 데이터가 내 네트워크를 벗어나지 않습니다.
이 제품은 NVD API 데이터를 사용하지만 NVD 의 보증이나 인증을 받은 것은 아닙니다. CVE® 는 The MITRE Corporation 의 등록 상표이며, CVE 레코드는 CVE Program 이용 약관에 따라 사용합니다.