Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify exposed Kalmia RequireAuth site
-
DeliveryCraft request with arbitrary non-empty viewToken cookie
-
ExploitMiddleware skips JWT validation
-
ExecutionBypass authentication
-
ImpactRead all private pages and assets
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication mechanism validation
MITRE ATT&CK
2 techniques across 2 tactics: Defense Evasion, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the target to host RequireAuth (private) documentation served through Kalmia's RsPressMiddleware; only those protected sites are exposed, since the bypass works by the middleware accepting any non-empty viewToken cookie without JWT validation. Beyond having such a private-docs deployment network-reachable, there are NO additional prerequisites - no authentication, no user interaction, and no non-default configuration are needed to read the protected pages and assets. The principal limiting factor is deployment mode: instances that serve only public documentation have nothing additional to expose, and the impact is confined to read access (no write or availability impact). |
| Impact | This is a genuine, high-priority exposure for anyone running Kalmia private documentation, though its blast radius is bounded by the product's niche footprint rather than its technical simplicity. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) is fully consistent with the description: a remote, unauthenticated attacker with no user interaction and no special timing requirement can trigger the flaw, and the mechanism - RsPressMiddleware accepting any non-empty viewToken cookie because it is never validated as a JWT - is a textbook CWE-287 authentication bypass with no prerequisite complexity. Impact is scoped purely to confidentiality (VC:H, VI:N, VA:N): the attacker reads all pages and assets of RequireAuth sites but cannot modify data or affect availability. The vuln.today decision label is 'this_week', signaling prompt remediation rather than drop-everything emergency. There is NO CISA KEV listing and NO EPSS score in the provided data, so there is no evidence of active or widespread exploitation; the reporting source is VulnCheck via an advisory and a public GitHub issue. The main caveat: no EPSS probability was supplied, so automated likelihood cannot be cross-checked, and absence of KEV should not be read as 'safe' given how trivially the bypass works against any exposed private-docs instance. |
| Exploit ScenarioDerived | An attacker locates a Kalmia-hosted documentation site running in RequireAuth (private) mode and sends an HTTP request that includes a viewToken cookie set to any arbitrary non-empty value. Because RsPressMiddleware never validates the cookie as a JWT, the middleware treats the request as authenticated and returns the protected pages and assets. A public advisory and a GitHub issue describe the flaw and point to the vulnerable code, but the input does not confirm packaged working exploit code. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 16, 2026
Kalmia through 0.2.0 lets unauthenticated remote users read private documentation because RsPressMiddleware accepts any non-empty viewToken cookie without validating it as a JWT. Exposure is confined to deployments that serve RequireAuth (private) documentation through RsPressMiddleware; instances serving only public docs have no additional pages or assets to expose, and the impact is read-only confidentiality loss. No confirmed active exploitation or public exploit code is identified in the available data, and no fixed version is listed.
RemediationAI
No vendor-released patch is identified in the provided data; Kalmia through 0.2.0 is affected and no fixed version is listed. Monitor https://github.com/DifuseHQ/Kalmia/issues/35 and https://www.vulncheck.com/advisories/kalmia-through-0.2.0-authentication-bypass-via-viewtoken-cookie for the vendor fix. Until then, the exposure is limited to RequireAuth documentation served by RsPressMiddleware: do not expose such private docs through Kalmia 0.2.0 - keep private documentation behind an independent authentication layer or serve only public docs - because the middleware accepts any non-empty viewToken cookie and the bypass does not depend on the cookie's contents beyond being non-empty. The trade-off is that Kalmia-served private documentation becomes unavailable until a validated fix is installed.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected product is DifuseHQ Kalmia, identified by CPE cpe:2.3:a:difusehq:kalmia:*:*:*:*:*:*:*:* and reported as affected through version 0.2.0. RsPressMiddleware, implemented in middleware/rspress.go (referenced lines 20-70), is intended to protect Rspress-based documentation sites marked RequireAuth. Instead of verifying the viewToken cookie as a signed JWT, the middleware only checks that the cookie exists and is non-empty, so the access-control decision is based on attacker-controlled cookie presence rather than validated identity. That is an improper-authentication weakness (CWE-287). The trigger is described in the sources as sending a request with a forged non-empty viewToken cookie; no additional authentication, user interaction, or non-default configuration is required for a network-reachable private-docs deployment.
Know when Kalmia 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Remote unauthenticated bypass of a cookie check (AV:N/AC:L/PR:N/UI:N) yielding full read of private docs, so C:H with I:N/A:N and no scope change.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Kalmia through 0.2.0 contains an authentication bypass vulnerability in RsPressMiddleware that allows unauthenticated attackers to access private documentation by supplying any non-empty viewToken cookie. Attackers can send requests with a forged viewToken cookie, which is never validated as a JWT, to read all pages and assets of RequireAuth documentation sites.
Executive ViewAI
Kalmia versions up to 0.2.0 contain a high-severity flaw that allows unauthenticated users to read private documentation when hosted via RsPressMiddleware, because the middleware accepts any non-empty viewToken cookie without validating it as a JWT. This directly affects organizations that use Kalmia to serve RequireAuth-protected documentation, exposing confidential content such as internal policies, procedures, or sensitive knowledge base articles to anyone who can reach the service. Leadership should prioritize remediation for any such deployments to prevent potential information leakage and reputational harm.
No vendor-released patch identified at time of analysis. Interim mitigations include: restricting network access to Kalmia instances to trusted IP ranges, implementing additional authentication at the reverse proxy or API gateway, modifying RsPressMiddleware to validate the viewToken cookie as a JWT, or disabling RsPressMiddleware for private documentation until a fix is available.
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
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Kalmia CMS version 0.2.0 contains an Incorrect Access Control vulnerability in the /kal-api/auth/users API endpoint. Due
A security vulnerability in its authentication mechanism (CVSS 5.3) that allows unauthenticated attackers. Risk factors:
Improper authorization in the Kalmia API (through version 0.2.0) lets any authenticated user holding only read permissio
Kalmia through 0.2.0 can return plaintext Git deployment credentials in documentation API responses to authenticated use
Kalmia through 0.2.0 allows any read-only authenticated user to upload HTML or SVG files through the upload-file endpoin
EUVD-2026-126287
GHSA-rgg7-8c9p-jrjj
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB