{"id":"CVE-2026-40265","published":"2026-04-16T23:56:02Z","modified":"2026-04-17T18:40:45Z","title":"Note Mark has Broken Access Control on Asset Download","vendor":"enchant97","product":"note-mark","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00448,"percentile":0.39858,"provenance":"source"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"}],"references":[{"url":"https://github.com/enchant97/note-mark/security/advisories/GHSA-p5w6-75f9-cc2p","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/enchant97/note-mark/commit/6593898855add151eb9965d96998b05e14c62026","tags":["x_refsource_MISC"]},{"url":"https://github.com/enchant97/note-mark/releases/tag/v0.19.2","tags":["x_refsource_MISC"]}],"priority":{"score":12.1,"factors":[{"name":"EPSS percentile","points":7.97},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"enchant97","affectedVersions":[{"vendor":"enchant97","product":"note-mark","versions":["< 0.19.2"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-17T18:40:35.700177Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/enchant97/note-mark/backend","vulnerableRanges":["<0.0.0-20260411145023-6593898855ad"],"patched":["0.0.0-20260411145023-6593898855ad"],"from":["GHSA-p5w6-75f9-cc2p","GO-2026-5530"],"provenance":"source"}],"summary":{"text":"Note Mark, an open-source note-taking application by enchant97, has a broken access control flaw in its asset download endpoint at /api/notes/{noteID}/assets/{assetID}, which is registered without authentication middleware and does not check ownership or book visibility. An unauthenticated remote attacker who knows a valid note ID and asset ID can retrieve the full contents of private note assets, with no user interaction required and no particular configuration needed beyond those identifiers.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:54:09Z"},"euvd":{"id":"EUVD-2026-23336","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-enchant97-note-mark-cve-2026-40262","parents":[{"from":"CVE-2026-40262","to":"CVE-2026-40265","relation":"successor","confidence":"high","kind":"lineage","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/enchant97/note-mark/backend","fromFixed":"0.0.0-20260411145018-6bb62842ccb9","toFixed":"0.0.0-20260411145023-6593898855ad","daysApart":0},{"kind":"same-code","provenance":"machine","files":["backend/handlers/assets.go"],"commits":["https://github.com/enchant97/note-mark/commit/6bb62842ccb956870b9bf183629eba95e326e5e3","https://github.com/enchant97/note-mark/commit/6593898855add151eb9965d96998b05e14c62026"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2026-40262","published":"2026-04-16","fixed":"0.0.0-20260411145018-6bb62842ccb9","kev":false},{"cve":"CVE-2026-40265","published":"2026-04-16","fixed":"0.0.0-20260411145023-6593898855ad","kev":false},{"cve":"CVE-2026-41572","published":"2026-05-04","fixed":"0.0.0-20260417132843-d1bf845a2a2d","kev":false,"link":{"from":"CVE-2026-40265","to":"CVE-2026-41572","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/enchant97/note-mark/backend","fromFixed":"0.0.0-20260411145023-6593898855ad","toFixed":"0.0.0-20260417132843-d1bf845a2a2d","daysApart":18}]}},{"cve":"CVE-2026-41571","published":"2026-05-04","fixed":"0.0.0-20260417132909-dea5530cc989","kev":false},{"cve":"CVE-2026-44522","published":"2026-05-14","fixed":"0.0.0-20260501152243-db3f72bff780","kev":false}],"package":"Go:github.com/enchant97/note-mark/backend"}}