Skip to main content

Kalmia CVE-2026-129547

| EUVDEUVD-2026-126287 HIGH
Improper Authentication (CWE-287)
2026-11-16 VulnCheck GHSA-rgg7-8c9p-jrjj
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify exposed Kalmia RequireAuth site
  2. Delivery
    Craft request with arbitrary non-empty viewToken cookie
  3. Exploit
    Middleware skips JWT validation
  4. Execution
    Bypass authentication
  5. Impact
    Read 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Kalmia 0 ≤0.2.0

Affected Packages

euvd kalmia no fix

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

Vendor (VulnCheck) PRIMARY 8.7 HIGH
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
vuln.today AI 7.5 HIGH

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.5%
Top 59% exploitable
Prevalence
Low
niche open-source documentation platform, limited enterprise deployment footprint
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.5%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy