
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-40263 is a timing side-channel vulnerability in the login endpoint of Note Mark, an open-source note-taking application, that allows unauthenticated attackers to enumerate valid usernames by measuring response time differences. The vulnerability affects Note Mark versions prior to v0.19.2 (Go module github.com/enchant97/note-mark/backend). It was published by the maintainer on April 11, 2026, added to the GitHub Advisory Database on April 13, 2026, and published by NVD on April 17, 2026. It carries a CVSS v3.1 base score of 3.7 (Low) (Github Advisory, Note Mark Advisory).
The root cause is an Observable Timing Discrepancy (CWE-208) in the POST /api/auth/token login endpoint. When a supplied username exists in the database, the server performs a computationally expensive bcrypt.CompareHashAndPassword operation; when the username does not exist, the server returns immediately without performing any equivalent bcrypt operation, creating a measurable latency gap. Test data from the advisory shows existing-user requests averaged ~0.0616s versus ~0.0027s for nonexistent users — a roughly 23x difference that is reliably distinguishable without high request volume. The vulnerable code path is: user, err := db.Where("username = ?", username).First(&user); if err != nil { return ErrUnauthorized }; err = bcrypt.CompareHashAndPassword(user.PasswordHash, []byte(password)) (Github Advisory, Note Mark Advisory).
Successful exploitation allows unauthenticated remote attackers to reliably confirm whether specific usernames exist in a Note Mark deployment, with low confidentiality impact and no integrity or availability impact. This information can be leveraged to improve the effectiveness of follow-on attacks such as credential stuffing, password spraying, and targeted phishing campaigns. The attack requires no privileges and no user interaction, and any deployment exposing the login endpoint over the network is affected (Github Advisory, Note Mark Advisory).
No public proof-of-concept exploit code has been published, and there is no evidence of in-the-wild exploitation as of the time of writing. The EPSS score is approximately 0.029% (0.000290), placing it in the 13th percentile for exploitation likelihood within 30 days. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. No threat actor attribution has been reported (Github Advisory).
POST /api/auth/token.POST /api/auth/token requests from a single IP or small set of IPs, particularly with varying usernames but a consistent (invalid) password; requests with response time patterns alternating between ~0.003s and ~0.06s./api/auth/token endpoint from the same source.Upgrade Note Mark to version v0.19.2 or later, which resolves the issue by ensuring a bcrypt operation is always performed regardless of whether the username exists (commit cf4c6f6). The fix introduces a pre-computed nullPasswordHash and calls IsPasswordMatch even when the user lookup fails, equalizing response times across both code paths. As interim mitigations, operators should implement rate limiting on the login endpoint, enforce account lockout policies after repeated failures, and monitor for anomalous authentication patterns (Note Mark Advisory, Patch Commit).
The vulnerability was discussed briefly on Reddit's r/selfhosted community in the context of the Note Mark v0.19.2 security update release. No significant vendor statements beyond the maintainer's own advisory, nor notable security researcher commentary beyond the credited reporters (QiaoNPC and Across-Verticals-Malaysia), have been identified (Reddit).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."