Skip to main content

HashiCorp cap EUVDEUVD-2026-125776

| CVE-2026-19194 MEDIUM
Improper Handling of Case Sensitivity (CWE-178)
2026-11-13 HashiCorp GHSA-qj95-qjqr-92xf
5.9
CVSS 3.1 · Vendor: HashiCorp
View

Attack ChainAIDerived

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

  1. Access
    Obtain JWT signed by trusted key
  2. Delivery
    Inject non-canonical claim names
  3. Exploit
    Validator checks wrong claim representation
  4. Execution
    Downstream reads attacker-controlled value
  5. Impact
    Authorization decision bypassed

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Case sensitivity handling
Exploitation Conditions

Exploitation requires the attacker to supply claims inside a JWT that is signed by a key the application already trusts - i.e. the attacker must be able to procure or influence a validly-signed token, not forge one. The specific trigger is the use of non-canonical claim names (CWE-178, case/normalization handling): the flaw only matters when the downstream application reads authorization-relevant claims under a name or form different from the one cap validated. Limiting factors: the attack is gated by the need for a trusted-key-signed token and by whether the consuming application actually makes authorization decisions on the affected claims, which accounts for the AC:H and PR:H rating; applications on cap 0.14.0 or later are not affected. Updating to cap 0.14.0 is the fix stated by the vendor.

Impact

This is a moderate-severity, hard-to-exploit integrity/authorization flaw rather than a drop-everything emergency. The input CVSS 3.1 vector (AV:N/AC:H/PR:H/UI:N, score 5.9) and the vuln.today 'this_month' decision label agree: high attack complexity and a privilege requirement temper the network reach. No EPSS score was supplied, there is no CISA KEV listing, and the only reference is HashiCorp's own advisory - so there is no public exploit identified at time of analysis and no signal of active exploitation. The two main signals (CVSS and the 'this_month' priority) are consistent and point to a 'patch on a normal cadence' issue, not a widespread-exploitation crisis. The notable caveat: the confirmed description states exploitation requires attacker-controlled claims in a JWT already signed by a trusted key, which is a meaningful precondition the raw CVSS score does not convey - real-world risk depends heavily on whether an attacker can obtain such a token in a given deployment.

Exploit ScenarioDerived

In an application that uses hashicorp/cap to validate JWTs, an attacker who can obtain a token signed by a trusted key crafts claims using non-canonical (e.g. differently-cased or otherwise non-normalized) claim names. The validation layer checks one representation of the claim while the downstream application reads a different, unvalidated representation, causing an authorization decision to be made on attacker-chosen values. No public exploit code is identified at time of analysis; only the vendor advisory exists.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 13, 2026

HashiCorp's cap JWT validation library (versions before 0.14.0) can be induced to validate claims under one claim name while a downstream application reads authorization-relevant values under a different, non-canonical form of that name, so downstream authorization decisions may be made on values that cap never actually checked. Exploitation requires the attacker to supply claims inside a JWT signed by a key the application already trusts - the attacker cannot forge a token, only influence its claim names - and the flaw only bites where the consuming application makes authorization decisions on the affected claims, which is why it is rated moderate severity (CVSS 5.9, AC:H, PR:H per the published vector, PR:L per this assessment) rather than an emergency. No public exploit code and no active exploitation (CISA KEV) were identified at time of analysis, and HashiCorp has released cap 0.14.0 as the fix.

RemediationAI

Upgrade the HashiCorp cap library to version 0.14.0, which the vendor states is the complete fix for this claims validation bypass (HCSEC-2026-60, https://discuss.hashicorp.com/t/hcsec-2026-60-cap-jwt-claims-validation-bypass-using-non-canonical-claim-names/78258); note that because cap is a shared library, the upgrade must be propagated to every downstream application and vendored copy rather than applied once at a single host. For applications that cannot move to 0.14.0 immediately, the exposure is conditional: the flaw only manifests where the consuming code reads an authorization-relevant claim under a name or form that differs from the canonical name cap validated, so auditing and normalizing those claim lookups - enforcing exact, canonical, case-consistent claim names in the authorization path - removes the gap for that code path, at the cost of touching application logic and any tokens already issued under non-canonical claim names. Rotating or reissuing tokens whose claim names are non-canonical reduces the population of tokens that can trigger the confusion, but does not substitute for the library update. Restricting who can obtain tokens signed by trusted keys limits the attacker prerequisite but does not address the underlying bypass.

Affected VersionsENISA

Shared library 0 <0.14.0

Affected Packages

euvd shared_library fix: 0.14.0

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 component is cap, a JWT validation library distributed by HashiCorp as a shared library (the CPE maps to hashicorp:shared_library rather than to a single named product). The root cause class is CWE-178, Improper Handling of Case Sensitivity: the advisory describes the flaw as a claims validation bypass using non-canonical claim names, meaning the library and the consuming application can disagree about which claim name a value belongs to when case or normalization differences are in play. cap validates the token on the canonical name, while the downstream application looks up the claim under a differently-cased or differently-normalized name and gets a value that was never subject to validation. The vulnerability therefore sits in the boundary between the library and its consumers rather than in JWT signature verification itself: signature checking still works, and the attacker must already hold a validly signed token, but the integrity guarantee cap is supposed to provide over the claims it validated does not extend to the claim form the application actually reads. The specific claim names and normalization forms affected are not enumerated in the available sources, and the trigger conditions for a given deployment depend on how that deployment performs claim lookups.

Know when Shared Library 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 (HashiCorp) PRIMARY 5.9 MEDIUM
AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N
vuln.today AI 6.8 MEDIUM

Network-delivered token but AC:H because it requires a non-canonical-claim mismatch in the consumer; PR:L since the attacker must hold a trusted-key-signed JWT; C/I:H from authorization bypass, A:N.

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

Primary rating from Vendor (HashiCorp).

CVSS VectorVendor: HashiCorp

Attack Vector
Network
Attack Complexity
High
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

1
Patch available
Nov 13, 2026 - 23:35 EUVD

DescriptionCVE.org

The HashiCorp cap JWT validation library before version 0.14.0 is vulnerable to a claims validation bypass that may cause downstream applications to make authorization decisions using claim values different from those validated. Exploitation requires attacker-controlled claims in a JWT signed by a key trusted by the application. This vulnerability (CVE-2026-19194) is fixed in cap 0.14.0.

Threat Intelligence Overview

EPSS Score
0.3%
Top 80% exploitable
Prevalence
Medium
Go OIDC/JWT auth library used in HashiCorp products and third-party Go services
Social Media
1
Sightings
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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Total

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
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