CVE-2026-40265
MEDIUM 5.9CVSS 3.1Note Mark has Broken Access Control on Asset Download
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.
- Published
- 17 Apr 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-862
- Also known as
- GHSA-p5w6-75f9-cc2pGO-2026-5530
- Sources
- NVDJSONOSV GHSA-p5w6-75f9-cc2pJSONOSV GO-2026-5530JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/enchant97/note-mark/backend | < 0.0.0-20260411145023-6593898855ad | 0.0.0-20260411145023-6593898855ad |
References
- https://github.com/enchant97/note-mark/commit/6593898855add151eb9965d96998b05e14c62026 · WEB
- https://github.com/enchant97/note-mark/releases/tag/v0.19.2 · WEB
- https://github.com/enchant97/note-mark/security/advisories/GHSA-p5w6-75f9-cc2p · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-40265 · ADVISORY
- https://github.com/enchant97/note-mark · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 17 Apr 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Jun 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 13 Apr 2026)