CVE-2026-33680: Vikunja Missing Linksharing Auth Check

The `ReadAll` function for `LinkSharing` lacks authorization logic to restrict link-share authenticated users. This allows an attacker with a read-only link share to list all shares and extract secret hashes for write and admin link shares, escalating their privileges. Check the `web.Auth` parameter with `a.(*LinkSharing)` or delegate to `share.CanRead()` to

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0Go
greprules fetch cve-2026-33680-vikunja-missing-linksharing-auth-check --engine opengrep

Description

The `ReadAll` function for `LinkSharing` lacks authorization logic to restrict link-share authenticated users. This allows an attacker with a read-only link share to list all shares and extract secret hashes for write and admin link shares, escalating their privileges. Check the `web.Auth` parameter with `a.(*LinkSharing)` or delegate to `share.CanRead()` to