Skip to main content

Kernel: Duplicate Advisory: Missing publish-access filter on getFileAnnotation discloses private PDF annotations of forbidden/protected documents (publish mode)

0
Medium
Published: 08/12/2026 (08/12/2026, 21:31:42 UTC)
Source: GCVE Database
Product: github.com/siyuan-note/siyuan/kernel

Description

SiYuan versions up to and including v3.7.2 have an information disclosure vulnerability in the /api/asset/getFileAnnotation endpoint. This endpoint returns PDF annotation content without enforcing publish-access checks, allowing unauthorized access to private annotations of forbidden, password-protected, or unpublished documents. The vulnerability does not expose annotations in encrypted notebooks. It was fixed in version v3.7.4.

CVSS v3.1

Score 5.8medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N

Affected software

Goghsa
github.com/siyuan-note/siyuan/kernel

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/07/2026, 15:53:04 UTC

Technical Analysis

SiYuan kernel versions up to and including v3.7.2 contain an information disclosure vulnerability (CWE-862) in the /api/asset/getFileAnnotation endpoint. This endpoint returns .sya PDF annotation file content without verifying publish-access permissions, relying only on CheckAuth. Unlike the /assets/* route, which enforces publish access and password protections, this endpoint allows an anonymous user (if publish authentication is disabled) or any publish RoleReader who knows an asset path to read private PDF annotations such as highlights and notes of documents that are publish-forbidden, password-protected, or unpublished. The issue is limited to non-encrypted notebooks, as encrypted-box annotations are not exposed. The vulnerability was fixed in version v3.7.4.

Potential Impact

An attacker with knowledge of an asset path can access private PDF annotations of protected documents without proper authorization, potentially exposing sensitive information contained in highlights and notes. This does not affect encrypted notebooks, limiting the scope of exposure. The vulnerability does not allow modification or deletion of data, only information disclosure.

Mitigation Recommendations

Upgrade SiYuan to version v3.7.4 or later, where the vulnerability is fixed by enforcing proper publish-access checks on the /api/asset/getFileAnnotation endpoint. Until then, ensure publish authentication is enabled to reduce exposure risk. Patch status is confirmed fixed in v3.7.4.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-mhcc-g592-267j
Osv Schema Version
1.4.0
Ecosystems
["Go"]
Database Specific Severity
MODERATE
Cvss Version
3.1

Threat ID: 6a9ad505acd9273b49b67c19

Added to database: 09/04/2026, 14:26:13 UTC

Last enriched: 09/07/2026, 15:53:04 UTC

Last updated: 10/04/2026, 09:39:12 UTC

Views: 26

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses