Vulnerability · Published Apr 16, 2026 · Assigned by GitHub_M

CVE-2026-40265Note Mark has Broken Access Control on Asset Download

Medium 5.9

In plain English

A medium-severity missing authorization in note-mark from enchant97. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 38% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.9Medium
Exploit odds (30 days)0.4%top 61.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/enchant97/note-mark/backend0.0.0-20260411145023-6593898855adGHSA-p5w6-75f9-cc2p
Gogithub.com/enchant97/note-mark/backend0.0.0-20260411145023-6593898855adGO-2026-5530

Affected products (as reported)

VendorProductVersions
enchant97 note-mark < 0.19.2

Weakness: CWE-862 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

References