CVE-2026-33669: Siyuan Asset Handler Missing Publish Access Check

Asset path resolved by model.GetAssetAbsPath is served (via http.ServeFile, serveThumbnail, or serveSVG) without enforcing the publish-service access policy. Non-admin callers in publish mode can read assets that belong to publish-ignored or password-protected documents. Gate non-admin contexts with model.IsAdminRoleContext and verify with model.CheckAbsPath

Provally CuratedPublic repositoryHighHigh confidenceVerifiedApache-2.0Go
greprules fetch cve-2026-33669-siyuan-asset-handler-missing-publish-access-check --engine opengrep

Description

Asset path resolved by model.GetAssetAbsPath is served (via http.ServeFile, serveThumbnail, or serveSVG) without enforcing the publish-service access policy. Non-admin callers in publish mode can read assets that belong to publish-ignored or password-protected documents. Gate non-admin contexts with model.IsAdminRoleContext and verify with model.CheckAbsPath