{"id":"CVE-2026-129547","kind":"vulnerability","aliases":["CVE-2026-129547"],"related":[],"title":"Kalmia: any viewToken cookie bypasses login on private documentation","description":"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.","summary":"Kalmia, a documentation site generator, has an authentication bypass in its RsPressMiddleware through version 0.2.0. An unauthenticated attacker who sends any non-empty viewToken cookie can read all pages and assets of sites set to require login.","severity":"high","cvss":8.7,"epss":null,"exploited":false,"exploited_at":null,"products":[{"name":"Kalmia","fixed":[],"affected":"<= 0.2.0","ecosystem":"github"}],"ecosystems":[],"tags":["auth-bypass","documentation","kalmia","other","self-hosted"],"not_affected_if":["no-require-auth","public-docs"],"how_to_check":"Run kalmia --version or check the release you deployed: v0.2.0 (released 2025-08-05) and earlier are listed as affected. The issue report says current main is also affected. Exposed only if a documentation has 'Enable Authentication' (RequireAuth) on. Test: request a private doc page with 'Cookie: viewToken=x' and no login; a 200 with content means exposed.","fix":"No fixed version as of 2026-11-16. The upstream issue #35 is open with no maintainer response, and v0.2.0 is the latest release. Suggested fix in the report: validate viewToken as a JWT or against the DB (ValidateJWT/VerifyTokenInDb) in middleware/rspress.go. Until then, put the private docs behind a reverse proxy with its own auth (basic auth, SSO, VPN/IP allowlist) or don't host sensitive content on Kalmia.","status":"open","published_at":"2026-11-16T12:17:52+00:00","first_seen_at":"2026-11-16T12:40:57+00:00","triaged_at":"2026-11-16T12:42:34+00:00","updated_at":"2026-11-16T12:46:13+00:00","category":"other","confidence":0.8,"triage":{"at":"2026-11-16T12:42:33Z","model":"claude-haiku-5-5","output":{"fix":"unknown","reach":"internet","title":"Kalmia: any viewToken cookie bypasses login on private documentation","impact":"medium","summary":"Kalmia, a documentation site generator, has an authentication bypass in its RsPressMiddleware through version 0.2.0. An unauthenticated attacker who sends any non-empty viewToken cookie can read all pages and assets of sites set to require login.","audience":"businesses","category":"other","nicknames":[],"who_cares":["kalmia","self-hosted","documentation"],"confidence":0.6,"fix_status":"unknown","needs_auth":"no","worst_case":"Attacker reads all private documentation pages and assets","analyst_note":"Confirm the fixed version and the mitigation from the NVD entry or the VulnCheck advisory; the sources here give no fix.","how_to_check":"- Check the installed Kalmia version against `0.2.0`, which the sources list as affected through that release\n- Look for sites configured with RequireAuth that serve documentation through RsPressMiddleware\n- unknown for the exact configuration in other deployments","plain_action":"","product_name":"","needs_analyst":true,"not_affected_if":["public-docs","no-require-auth"],"who_is_affected":"Teams that host Kalmia documentation sites protected by RequireAuth are exposed, because the middleware accepts any non-empty viewToken cookie without validating it as a JWT. Sites that are public or do not use RequireAuth are not described as affected by the sources.","user_interaction":"no","product_ecosystem":"","needs_special_setup":"yes","severity_if_unknown":"high"},"cost_usd":0.000733,"input_tokens":4601,"output_tokens":546,"severity_before":"high"},"analyst_status":"done","analyst_note":"Confirm the fixed version and the mitigation from the NVD entry or the VulnCheck advisory; the sources here give no fix.","search":"'-129547':12A,15A '-2026':11A,14A '0.2.0':40B,66C 'access':79C 'allow':75C 'asset':57B,111C 'attack':43B,77C,90C 'auth':18B 'auth-bypass':17B 'authent':33B,69C 'bypass':5A,19B,34B,70C 'contain':67C 'cooki':4A,51B,89C,98C 'cve':10A,13A 'document':9A,20B,28B,81C,114C 'empti':49B,87C 'forg':96C 'generat':30B 'host':25B 'jwt':105C 'kalmia':1A,16A,21B,26B,64C 'login':6A,63B 'never':101C 'non':48B,86C 'non-empti':47B,85C 'page':55B,109C 'privat':8A,80C 'read':53B,107C 'request':93C 'requir':62B 'requireauth':113C 'rspressmiddlewar':37B,73C 'self':24B 'self-host':23B 'send':45B,92C 'set':60B 'site':29B,59B,115C 'suppli':83C 'unauthent':42B,76C 'valid':102C 'version':39B 'viewtoken':3A,50B,88C,97C 'vulner':71C","nicknames":[],"mitigations":[],"who_affected":"Self-hosted Kalmia (DifuseHQ/Kalmia) instances, v0.2.0 and earlier, with documentation set to require login. RsPressMiddleware only checks that a viewToken cookie is non-empty, so anyone who sends one can read all pages and assets of those docs. Sites with public docs, or with no authentication enabled, gain nothing from this bug.","tier":"B","verified":{},"analyst_revisit_at":null,"fix_status":"none","audience":"businesses","plain_action":null,"pkeys":["kalmia"],"ptokens":["kalmia"],"labels":["authbypass","documentation","high","kalmia","other","selfhosted"],"campaign_type":null,"search_a":"'-129547':12A,15A '-2026':11A,14A 'bypass':5A 'cooki':4A 'cve':10A,13A 'document':9A 'kalmia':1A,16A 'login':6A 'privat':8A 'viewtoken':3A","search_b":"'0.2.0':40B 'asset':57B 'attack':43B 'auth':18B 'auth-bypass':17B 'authent':33B 'bypass':19B,34B 'cooki':51B 'document':20B,28B 'empti':49B 'generat':30B 'host':25B 'kalmia':21B,26B 'login':63B 'non':48B 'non-empti':47B 'page':55B 'read':53B 'requir':62B 'rspressmiddlewar':37B 'self':24B 'self-host':23B 'send':45B 'set':60B 'site':29B,59B 'unauthent':42B 'version':39B 'viewtoken':50B","search_c":"'0.2.0':66C 'access':79C 'allow':75C 'asset':111C 'attack':77C,90C 'authent':69C 'bypass':70C 'contain':67C 'cooki':89C,98C 'document':81C,114C 'empti':87C 'forg':96C 'jwt':105C 'kalmia':64C 'never':101C 'non':86C 'non-empti':85C 'page':109C 'privat':80C 'read':107C 'request':93C 'requireauth':113C 'rspressmiddlewar':73C 'send':92C 'site':115C 'suppli':83C 'unauthent':76C 'valid':102C 'viewtoken':88C,97C 'vulner':71C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-11-16T12:17:52+00:00","kev":null,"cvss_vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"disclosure@vulncheck.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-129547","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129547","severity":null,"published_at":"2026-11-16T12:17:52+00:00","modified_at":"2026-11-16T12:17:52+00:00","first_seen_at":"2026-11-16T12:40:57+00:00","fetched_at":"2026-11-16T12:40:57+00:00","note":null},{"source":"analyst","external_id":"CVE-2026-129547:4113","url":"https://github.com/DifuseHQ/Kalmia/issues/35","severity":null,"published_at":"2026-11-16T12:46:13+00:00","modified_at":"2026-11-16T12:46:13+00:00","first_seen_at":"2026-11-16T12:46:13+00:00","fetched_at":"2026-11-16T12:46:13+00:00","note":"VulnCheck advisory + upstream issue #35 (open, by Ikram-4, 2026-11-15) read. No fix or vendor advisory exists. The same issue lists other unfixed flaws (privilege escalation, credential exposure, SSRF, CORS), which are not covered by this CVE. Not verified: no vendor page confirms fix or mitigations. No PoC or exploitation seen; no x search done (low-profile project).","cites":["https://github.com/DifuseHQ/Kalmia/issues/35","https://github.com/DifuseHQ/Kalmia/releases"]}],"documents":[{"id":169501,"url":"https://www.vulncheck.com/advisories/kalmia-through-0.2.0-authentication-bypass-via-viewtoken-cookie","title":"Third-party advisory: www.vulncheck.com","kind":"advisory","source":"nvd","publisher":"research","text":null,"published_at":null,"relation":"advisory","confidence":null,"note":"Third-party advisory: www.vulncheck.com"},{"id":169526,"url":"https://github.com/DifuseHQ/Kalmia/issues/35","title":"Kalmia issue #35: Security Report","kind":"issue","source":"analyst","publisher":null,"text":null,"published_at":null,"relation":"describes","confidence":null,"note":null},{"id":169527,"url":"https://github.com/DifuseHQ/Kalmia/releases","title":"Kalmia releases (latest v0.2.0)","kind":"release","source":"analyst","publisher":null,"text":null,"published_at":null,"relation":"mentions","confidence":null,"note":null}],"disclosures":[],"exploit_sources":[],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}