Skip to main content

Juspay Hyperswitch CVE-2026-137583

| EUVDEUVD-2026-136490 HIGH
Use of Default Credentials (CWE-1392)
2026-11-26 VulnCheck
8.2
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Obtain merchant ID and transaction ID
  2. Delivery
    Craft forged payment_intent.succeeded event
  3. Exploit
    Sign with public default_secret HMAC
  4. Execution
    POST to Stripe webhook endpoint
  5. Impact
    Internal payment state forced to succeeded

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Default credential prevention
Exploitation Conditions

Exploitation requires the affected merchant's Stripe connector to be configured WITHOUT a webhook secret (connector_webhook_details.merchant_secret unset), which triggers the hardcoded 'default_secret' fallback in crates/hyperswitch_interfaces/src/webhooks.rs - merchants who explicitly configured a secret are not affected (the advisory's control case A2 showed no state change). The attacker must also know the merchant ID (the advisory notes it is exposed to clients via the publishable key plus payment client secret) and the payment's connector transaction ID, and a matching payment must be in the uncaptured requires_capture state. No authentication is required (PR:N), but the AC:H/AT:P preconditions above limit opportunistic attacks. Impact is bounded to flipping internal payment state to succeeded; per the advisory it does not capture funds or bypass separate merchant-side checks. The only complete fix is upgrading to v1.129.0, which errors instead of using the default fallback.

Impact

This is a genuine, prioritizable integrity flaw but narrower than its 8.2 score suggests at first glance. The CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:N/UI:N) marks it network-reachable and unauthenticated (PR:N), which is real: anyone who can reach the /webhooks endpoint can attempt it. However, AC:H plus AT:P reflect meaningful preconditions - the attacker must know the merchant ID and connector transaction ID, and the target merchant connector must have NO webhook secret configured so the hardcoded 'default_secret' fallback is used. Impact is strictly integrity (VI:H; VC:N/VA:N): the internal payment state is forced from requires_capture to succeeded. The GHSA advisory is explicit that this does NOT move money, capture a payment, or bypass separate merchant-side checks - downstream harm depends on a merchant integration that trusts the forged 'succeeded' state to fulfill an order. No EPSS score and no KEV listing are provided, so there is no evidence of widespread or automated exploitation; the vuln.today decision label is 'this_week' (not act_now/emergency). A public PoC reference exists in the GHSA advisory, but it is a synthetic, locally-mocked lab reproduction against v1.128.0, not a demonstrated real-world attack. Net: a credible this-week patch priority for anyone running Hyperswitch with unconfigured Stripe webhook secrets, not a drop-everything emergency. Note the input tag 'Information Disclosure' conflicts with the CVSS vector, which shows VC:N (no confidentiality impact) and VI:H - this is an integrity/authentication-bypass issue, not information disclosure.

Exploit ScenarioDerived

An attacker who learns a merchant ID (the advisory notes it is retrievable client-side using the publishable key and payment client secret) and a payment's connector transaction ID crafts a Stripe payment_intent.succeeded event and signs it with HMAC-SHA256 using the publicly known literal 'default_secret', which the router accepts as the fallback when no merchant webhook secret is configured. Posting this forged event to /webhooks/{merchant_id}/stripe flips the payment from requires_capture to succeeded with source_verified:true and no Stripe PSync check, potentially causing a trusting merchant integration to fulfill an unpaid order. A public, lab-based PoC with a replay script exists in the GHSA advisory (synthetic data, mocked Stripe), though the network vector carries AC:H/AT:P preconditions (known IDs and an unconfigured secret).

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.5% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 26, 2026

Juspay Hyperswitch releases before 1.129.0 fall back to the literal string 'default_secret' when a Stripe connector has no merchant webhook secret configured, letting an unauthenticated attacker who knows the merchant ID and the payment's connector transaction ID sign a crafted payment_intent.succeeded event that the router accepts as source-verified. Successful forgery moves an uncaptured payment from requires_capture to succeeded inside Hyperswitch without triggering a Stripe status-retrieval (PSync) call; the advisory's demonstrated impact stops at that internal state change and explicitly does not show fund capture or bypass of separate merchant-side checks. Exploitation is gated by preconditions - an unconfigured webhook secret, a valid merchant ID plus connector transaction ID, and a payment in the right state - which is why the assessed vector carries AC:H/AT:P, and the priority label is this_week; a public proof-of-concept reproduction exists in the advisory but was validated only against an isolated lab with a mocked Stripe endpoint, and no CISA KEV listing or confirmed active exploitation was identified at time of analysis.

RemediationAI

Vendor-released patch: upgrade to Hyperswitch v1.129.0, which replaces the hardcoded fallback with a WebhookVerificationSecretNotFound error, so unsigned or default-key-signed webhook deliveries are rejected instead of being processed (release: https://github.com/juspay/hyperswitch/releases/tag/v1.129.0, fix commit: https://github.com/juspay/hyperswitch/commit/c22b88ba3f9863381be827ce6b707976a5ae94c3, advisory: https://github.com/juspay/hyperswitch/security/advisories/GHSA-3564-qj6x-6x89). If the upgrade cannot be applied immediately, the effective workaround is configuration rather than code: set an explicit connector_webhook_details.merchant_secret on every Stripe merchant connector so the fallback path is never taken - the advisory's control case A2 confirms that a merchant with a configured secret rejects events signed with 'default_secret' and falls back to PSync; the trade-off is that this must be done per merchant connector account and does nothing for connectors whose secret remains unset, and any connector using the shared default implementation still needs the patched build. Note that when the report was filed, the default branch still contained the fallback, so version confirmation against 1.129.0 or later is required rather than assuming the current release.

Affected VersionsENISA

hyperswitch 1.8.0 <1.129.0

Affected Packages

euvd hyperswitch fix: 1.129.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

Hyperswitch validates inbound connector webhooks through the IncomingWebhook trait, whose default get_webhook_source_verification_merchant_secret implementation in crates/hyperswitch_interfaces/src/webhooks.rs (lines 203-244 in v1.128.0) returned a hardcoded byte string 'default_secret' whenever connector_webhook_details was absent, instead of failing. Stripe webhook verification computes an HMAC-SHA256 over the timestamp and the exact raw request body and compares it to the Stripe-Signature header, so a public, attacker-computable key makes the signature check forgeable rather than merely weak. This is CWE-1392 (use of default credentials): a shipped, publicly documented literal is trusted as an authentication secret, and the fallback was introduced by PR #1732 in 2023 with comments asserting it would cause verification failure and a PSync fallback - the advisory demonstrates that a correctly computed HMAC over the literal passes source verification on the tested Stripe path instead. The fix commit c22b88ba3f9863381be827ce6b707976a5ae94c3 removes the fallback: the trait now returns ConnectorError::WebhookVerificationSecretNotFound when no secret is configured, adds a requires_secret() method to the DecodeMessage trait so bodies that need no secret are separated from verification, changes NoAlgorithm's VerifySignature from Ok(true) to Ok(false), and hardens the Facilitapay connector to error on missing webhook details rather than assuming a default. The advisory notes only the Stripe path was tested; other connectors relying on the shared default implementation may be affected but were not claimed.

Know when Hyperswitch 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.2 HIGH
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
vuln.today AI 5.9 MEDIUM

Network-reachable and unauthenticated (AV:N/PR:N), but AC:H because it requires a no-secret configuration plus knowledge of merchant and transaction IDs; only payment-state integrity is affected (I:H, C:N/A:N).

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

DescriptionCVE.org

Juspay Hyperswitch 1.8.0 before 1.129.0 uses a hardcoded default webhook secret that allows unauthenticated attackers to forge Stripe webhooks when no merchant webhook secret is configured. Attackers knowing a merchant ID and connector transaction ID can sign a crafted payment_intent.succeeded event with "default_secret" to mark uncaptured payments as succeeded.

Technical POC Analysis

CWE-1392 (Use of Default Credentials), as assigned in the CVE metadata; the GHSA itself lists no CWE.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

CVE-2026-137583 in Juspay Hyperswitch (versions before 1.129.0) allows an unauthenticated attacker to forge webhook events when a Stripe connector lacks a configured webhook secret, potentially altering payment states within Hyperswitch. This impacts merchants using Stripe with unconfigured webhook secrets, creating risk of incorrect payment statuses and financial reconciliation issues, though fund capture has not been demonstrated. Leadership should prioritize remediation due to the high severity and public proof-of-concept.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 66% exploitable
Prevalence
Low
niche self-hosted open-source payment orchestrator, specialized adopter base
Social Media
3
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 HIGH
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
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· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Medium

Priority Score

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

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