Skip to content
OpenAdvisories
Medium · 5.9 CVE-2026-40265 EUVD-2026-23336GHSA-p5w6-75f9-cc2pGO-2026-5530

Note Mark has Broken Access Control on Asset Download

Published Apr 16, 2026 · Updated Apr 17, 2026 · Assigned by GitHub_M

Description

Note Mark is an open-source note-taking application. In versions 0.19.1 and prior, the asset download endpoint at /api/notes/{noteID}/assets/{assetID} is registered without authentication middleware, and the backend query does not verify ownership or book visibility. An unauthenticated user who knows a valid note ID and asset ID can retrieve the full contents of private note assets without authentication, regardless of whether the associated book is public or private. This issue has been fixed in version 0.19.2.

Affected products

VendorProductAffectedFixed
enchant97 note-mark < 0.19.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/enchant97/note-mark/backend < 0.0.0-20260411145023-6593898855ad 0.0.0-20260411145023-6593898855ad GHSA-p5w6-75f9-cc2p

Advisories 1

References