Vulnerability · Published May 4, 2026 · Assigned by GitHub_M
CVE-2026-41571Note Mark: OIDC-registered users authenticated by submitting password "null"
Critical 9.4
In plain English
A critical-severity improper authentication in note-mark from enchant97. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 31% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Note Mark is an open-source note-taking application. In version 0.19.2, IsPasswordMatch in backend/db/models.go falls back to a hard-coded bcrypt("null") placeholder whenever a user has no stored password. OIDC-registered users are created with an empty password, so anyone who submits password: "null" to the internal login endpoint receives a valid session for that user. The bypass is unauthenticated and requires no user interaction. This issue has been patched in version 0.19.3.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/enchant97/note-mark/backend | 0.0.0-20260417132909-dea5530cc989 | GHSA-pxf8-6wqm-r6hh |
| Go | github.com/enchant97/note-mark/backend | 0.0.0-20260417132909-dea5530cc989 | GO-2026-5557 |
Affected products (as reported)
Weakness: CWE-287 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
References
- https://github.com/enchant97/note-mark/security/advisories/GHSA-pxf8-6wqm-r6hh x_refsource_CONFIRM
- https://github.com/enchant97/note-mark/releases/tag/v0.19.3 x_refsource_MISC