Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessRegister account or intercept traffic
-
DeliveryCapture valid JWT token
-
ExploitBrute-force HS256 secret offline
-
ExecutionForge JWT for target user UUID
-
PersistAuthenticate as victim with forged token
-
ImpactAccess protected resources/data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Encryption strength requirements
|
| Exploitation Conditions | Exploitation requires the Note Mark instance to be configured with a JWT_SECRET that decodes to fewer than 32 bytes (violating RFC 7518 minimum for HS256). This is a deployment-time misconfiguration - administrators who used weak secrets like base64-encoded dictionary words, short passphrases, or single-word strings create the vulnerable condition. Attacker must also obtain at least one valid JWT, achievable through: intercepting HTTPS traffic (if TLS misconfigured), accessing application logs where tokens may appear, browser cookie theft via XSS (separate vulnerability), or capturing their own token by registering an account. No special network position required beyond ability to send HTTP requests to the application. Default configurations are only vulnerable if administrator actively sets a weak secret - the application does not generate insecure defaults, but also does not prevent accepting them pre-patch. Limiting factors: attacker needs JWT sample (not achievable purely remotely without prior access/interception), and brute-force time depends on secret entropy (single-word secrets crack in seconds, random 20-byte secrets may take hours). |
| Impact | CVSS 10.0 (AV:N/AC:L/PR:N/UI:N/S:C) indicates critical severity with network attack vector, low complexity, no authentication required, and scope change (compromised component affects resources beyond its security scope). However, real-world exploitability requires two preconditions: (1) administrator configured a weak JWT secret during deployment, and (2) attacker obtained a valid JWT through interception, log access, or social engineering. The S:C (scope change) rating is accurate - forging admin tokens grants access to all user data across the application boundary. No EPSS score provided, but exploitation probability is moderate rather than widespread because it depends on misconfiguration prevalence. Not listed in CISA KEV, suggesting targeted rather than mass exploitation. Vendor-published PoC significantly lowers attacker skill requirements. Patch confirmed available (commit 18b587758667, release v0.19.4) per GitHub advisory. Priority assessment: HIGH for existing Note Mark deployments (verify secret strength immediately), MEDIUM for new deployments (patch eliminates risk at configuration time). Risk is higher than typical cryptographic vulnerabilities because offline attacks bypass rate limiting and detection - there is no server-side signal of secret compromise until forged tokens appear in logs. |
| Exploit ScenarioDerived | An attacker identifies a Note Mark instance through reconnaissance (Shodan, exposed endpoints). They register a free user account and capture their own Auth-Session-Token JWT from browser cookies. Using the vendor-published PoC, they brute-force the HS256 secret offline with a dictionary of common base64-encoded strings (testing millions of candidates per second with no server interaction). Once the secret is recovered, they craft a forged JWT with an administrator's user UUID copied from a public profile or enumerated endpoint, set an extended expiry, and send it in the Auth-Session-Token cookie to access admin endpoints, exfiltrate all user notes, or modify application data with full privileges. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 07, 2026
JWT secret validation bypass in Note Mark allows full account takeover through offline token forgery. The Go-based note-taking application accepts HS256 signing secrets shorter than RFC 7518's required 32 bytes, enabling attackers to capture a single valid JWT from network traffic or logs, brute-force the weak secret offline, and forge authentication tokens for any user including administrators. Publicly available exploit code exists (vendor-published PoC in GitHub advisory GHSA-q6mh-rqwh-g786). Vendor-released patch available in commit 18b587758667 and release v0.19.4. CVSS 10.0 reflects unauthenticated network exploitation with scope change, though real-world impact requires JWT capture as a prerequisite.
RemediationAI
Upgrade to Note Mark v0.19.4 or apply commit 18b587758667 from https://github.com/enchant97/note-mark/commit/18b58775866776ed400c403dd0ccad68c1fa4802. The patch adds validation requiring JWT_SECRET to decode to minimum 32 bytes, causing application startup to fail if the secret is weak. After upgrading, generate a new cryptographically strong secret (minimum 32 random bytes, base64-encoded) and update the JWT_SECRET environment variable - example: openssl rand -base64 32. Rotate the secret immediately if current value is under 32 bytes, as any previously issued tokens signed with the weak secret can be forged. Secret rotation invalidates all existing user sessions, requiring re-authentication. For unpatched systems awaiting upgrade, no effective workaround exists because the vulnerability is in core authentication logic - compensating controls (network segmentation, JWT expiry reduction) only limit attack surface but do not prevent token forgery if the secret is weak. Audit application logs for unexpected authentication patterns (admin logins from unusual IPs, token reuse across sessions) as potential indicators of forged tokens. Full advisory: https://github.com/enchant97/note-mark/security/advisories/GHSA-q6mh-rqwh-g786.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in go, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability affects the JWT implementation in Note Mark's Go backend (pkg:go/github.com_enchant97_note-mark_backend). JWT (JSON Web Token) authentication uses cryptographic signatures to verify token authenticity without server-side session state. Note Mark implements HS256 (HMAC-SHA256), a symmetric signing algorithm where the same secret both signs and validates tokens. RFC 7518 Section 3.2 mandates minimum 256-bit (32-byte) keys for HS256 because shorter secrets are vulnerable to brute-force attacks - an attacker with a valid token can test billions of candidate secrets offline until finding one that produces a matching signature. The flaw maps to CWE-326 (Inadequate Encryption Strength) because config/utils.go's Base64Decoded.UnmarshalText function performs base64 decoding without length validation, and core/auth.go signs tokens with whatever key is provided. The patch adds a validate:"gte=32" constraint in config/config.go to enforce the 32-byte minimum during application startup, causing misconfigured deployments to fail safely rather than operate insecurely.
Know when Python gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
Primary rating from Vendor (https://github.com/enchant97/note-mark).
CVSS VectorVendor: https://github.com/enchant97/note-mark
DescriptionCVE.org
Summary
No minimum length or entropy is enforced on the JWT_SECRET configuration value. The application accepts any base64-decodable secret regardless of size, including secrets as short as 1 byte.
HS256 secrets below 32 bytes are brute-forceable offline, allowing attackers to recover the signing key and forge valid JWTs for arbitrary users.
---
Impact
An attacker who captures a single valid JWT (e.g, from cookies, logs, or network traffic) can:
\> Crack the signing secret offline using brute-force or wordlist attacks \> Forge valid JWTs for any user ID (including administrators) \> Authenticate without knowing any credentials
This results in full account takeover across the entire application with no server-side detection or rate limiting possible.
---
Details
In backend/config/utils.go, the Base64Decoded.UnmarshalText function decodes the JWT secret but does not validate its length or entropy.
In backend/core/auth.go, JWT tokens are signed using HS256 without enforcing minimum key size requirements.
According to RFC 7518 Section 3.2, HS256 keys must be at least 256 bits (32 bytes). Libraries such as PyJWT explicitly warn against shorter keys, but note-mark performs no such validation.
---
PoC
1- Deploy note-mark with a weak secret:
JWT_SECRET = base64("testsecret123456789012345")2- Register an account and capture the Auth-Session-Token cookie
3- Crack the secret offline (example using Python):
import jwt, base64
jwt.decode(TOKEN, base64.b64decode(SECRET), algorithms=["HS256"])4- Forge a new token for any user UUID with extended expiry
5- Send the forged token in requests → server returns 200 Ok and authenticates as that user
---
Reproduction Steps
1- Deploy the application with a JWT secret shorter than 32 bytes (after base64 decoding) 2- Authenticate and capture a valid JWT 3- Perform offline brute-force or dictionary attack against the token signature 4- Recover the secret 5- Generate a forged JWT for another user 6- Use the forged token to access protected endpoints
---
Fix Recommendation
- Enforce a minimum of 32 bytes (256 bits) for JWT secrets after base64 decoding
- Reject weak secrets during configuration parsing (e.g., in
Base64Decoded.UnmarshalTextor config validation) - Optionally log warnings or fail startup if the secret is insecure
---
Resources
- RFC 7518 Section 3.2 (JSON Web Algorithms - HMAC key size requirements)
- CWE-326: Inadequate Encryption Strength
- CWE-345: Insufficient Verification of Data Authenticity
---
Executive ViewAI
Note Mark's JWT validation bypass (CVE-2026-44523) allows attackers to forge authentication tokens for any user, including administrators, by brute-forcing weak cryptographic secrets-enabling complete account takeover without legitimate credentials. This affects all deployments running versions prior to v0.19.4 and poses an immediate risk to data confidentiality, integrity, and availability across all user accounts.
Apply vendor patch. If immediate patching is infeasible: (1) Isolate Note Mark from untrusted networks and enforce VPN/IP whitelisting; (2) monitor authentication logs for anomalous token usage or admin account access from unexpected sources; (3) enforce network segmentation to prevent JWT capture; (4) disable HS256 algorithm support if application configuration permits and implement HS512 or RS256 as alternatives.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser
pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi
The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.
Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse
Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne
Same weakness CWE-326 – Inadequate Encryption Strength
View allVendor StatusVendor
SUSE
Severity: Critical| Product | Status |
|---|---|
| SUSE Linux Enterprise Server 16.1 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP5 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP6 | Affected |
| openSUSE Leap 15.5 | Affected |
| openSUSE Leap 15.6 | Affected |
EUVD-2026-30367
GHSA-q6mh-rqwh-g786
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB