Description
SiYuan versions up to and including v3.7.2 (fixed in v3.7.4) contain an information disclosure vulnerability in the /api/asset/getFileAnnotation endpoint, which returns .sya PDF-annotation file content without a publish-access check. Because the endpoint is gated only by CheckAuth (unlike the /assets/* route, which enforces publish access and password), an anonymous reader (when publish authentication is disabled) or any publish RoleReader who knows an asset path can read the private PDF annotations (highlights and notes) of publish-forbidden, password-protected, or unpublished documents. The issue is limited to non-encrypted notebooks; encrypted-box annotations are not exposed.
Published: 2026-08-12
Score: 6.9 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability allows an attacker to retrieve PDF‑annotation files from the /api/asset/getFileAnnotation endpoint without performing a publish‑access check. This endpoint is protected only by a generic authentication check, so an unauthenticated visitor when publish authentication is off or a user with Reader privileges who knows an asset path can read the private “highlights and notes” stored in .sya files. The exposed data come from non‑encrypted notebooks; annotations inside encrypted boxes are not reachable. The flaw is an access control failure (CWE‑862).

Affected Systems

Siyuan Note (siyuan‑note:siyuan) versions up to and including v3.7.2 are vulnerable. The issue was resolved starting with version 3.7.4.

Risk and Exploitability

The CVSS score of 6.9 indicates a moderate severity, and the EPSS score is not available. The vulnerability is not listed in the CISA KEV catalog. Based on the description, it is inferred that the attack vector involves accessing the API over the network, and the attacker must know the exact asset path to request the annotation file. The exploit does not require elevated privileges beyond Reader access or anonymous access when publish authentication is disabled.

Generated by OpenCVE AI on August 12, 2026 at 22:58 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Siyuan to version 3.7.4 or later, which removes the publish‑access check from the /api/asset/getFileAnnotation endpoint.
  • If an upgrade cannot be applied immediately, disable anonymous publish access and ensure publish authentication is enabled so that only authenticated users can reach the API; additionally, limit RoleReader permissions so that they cannot discover asset paths.
  • Move any notebooks that contain sensitive annotations to an encrypted box or otherwise prevent them from being served via the API.
  • Monitor the /api/asset/getFileAnnotation endpoint for unexpected requests and audit user activity for suspicious access patterns.

Generated by OpenCVE AI on August 12, 2026 at 22:58 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 12 Aug 2026 21:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 12 Aug 2026 19:30:00 +0000

Type Values Removed Values Added
Description SiYuan versions up to and including v3.7.2 (fixed in v3.7.4) contain an information disclosure vulnerability in the /api/asset/getFileAnnotation endpoint, which returns .sya PDF-annotation file content without a publish-access check. Because the endpoint is gated only by CheckAuth (unlike the /assets/* route, which enforces publish access and password), an anonymous reader (when publish authentication is disabled) or any publish RoleReader who knows an asset path can read the private PDF annotations (highlights and notes) of publish-forbidden, password-protected, or unpublished documents. The issue is limited to non-encrypted notebooks; encrypted-box annotations are not exposed.
Title SiYuan before v3.7.4 Information Disclosure via getFileAnnotation
Weaknesses CWE-862
References
Metrics cvssV3_1

{'score': 5.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N'}

cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-12T19:45:20.281Z

Reserved: 2026-08-10T15:11:49.794Z

Link: CVE-2026-72808

cve-icon Vulnrichment

Updated: 2026-08-12T19:45:17.259Z

cve-icon NVD

Status : Received

Published: 2026-08-12T20:17:52.967

Modified: 2026-08-12T20:17:52.967

Link: CVE-2026-72808

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-12T23:00:05Z

Weaknesses