What’s Vulnerable › Vulnerabilities
CVE-2026-40265: Note Mark has Broken Access Control on Asset Download
- Severity: medium (CVSS 5.9 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-04-17 · updated 2026-10-26
- Weakness: CWE-862
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
- enchant97 note-mark: before 0.19.2
References
- https://github.com/enchant97/note-mark/commit/6593898855add151eb9965d96998b05e14c62026
- https://github.com/enchant97/note-mark/releases/tag/v0.19.2
- https://github.com/enchant97/note-mark/security/advisories/GHSA-p5w6-75f9-cc2p
Get alerted when CVE-2026-40265 or the next vulnerability affects your stack