CVE-2026-40265 Note Mark has Broken Access Control on Asset Download
MediumCVSS 5.9
EPSS 0.45%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| enchant97 github.com/enchant97/note-mark/backend(Go) | < 0.0.0-20260411145023-6593898855ad | 0.0.0-20260411145023-6593898855ad | Fixed |
| enchant97 note-mark | = < 0.19.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| enchant97 github.com/enchant97/note-mark/backend(Go) | < 0.0.0-20260411145023-6593898855ad | 0.0.0-20260411145023-6593898855ad |
| enchant97 note-mark | = < 0.19.2 | No fix listed |
References
- https://github.com/enchant97/note-mark/security/advisories/GHSA-p5w6-75f9-cc2p vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/enchant97/note-mark/commit/6593898855add151eb9965d96998b05e14c62026 patch
- github.com product
- https://github.com/enchant97/note-mark/releases/tag/v0.19.2
- github.com