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

- Severity: Medium 5.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 40% of CVEs (2026-12-01)
- Published: 2026-04-13T19:31:57.000Z
- Modified: 2026-10-26T22:10:00.163Z
- Also known as: GHSA-p5w6-75f9-cc2p, GO-2026-5530
- Weaknesses: CWE-862
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- enchant97 note-mark: < 0.19.2
- github.com/enchant97/note-mark/backend (Go): before 0.0.0-20260411145023-6593898855ad

## Every score

- GitHub_M: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/enchant97/note-mark/security/advisories/GHSA-p5w6-75f9-cc2p> (advisory, web)
- <https://github.com/enchant97/note-mark/commit/6593898855add151eb9965d96998b05e14c62026> (web)
- <https://github.com/enchant97/note-mark/releases/tag/v0.19.2> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-40265> (advisory)
- <https://github.com/enchant97/note-mark> (package)

## Sources

- CVE List: [CVE-2026-40265](https://www.cve.org/CVERecord?id=CVE-2026-40265), CVE Terms of Use, modified 2026-04-17
- GitHub Advisory Database: [GHSA-p5w6-75f9-cc2p](https://github.com/advisories/GHSA-p5w6-75f9-cc2p), CC-BY-4.0, modified 2026-06-25
- Go Vulnerability Database: [GO-2026-5530](https://pkg.go.dev/vuln/GO-2026-5530), CC-BY-4.0, modified 2026-06-25
- NVD: [CVE-2026-40265](https://nvd.nist.gov/vuln/detail/CVE-2026-40265), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-40265 · Whole record: https://cve.day/CVE-2026-40265.json · Rebuilt by cve.day 2026-11-25T22:59:18.926Z
