CVE-2026-50160: Hoppscotch <= 2026.4.1 - Mass Assignment JWT_SECRET Overwrite
- Template: CVE-2026-50160
- Name: Hoppscotch <= 2026.4.1 - Mass Assignment JWT_SECRET Overwrite
- Description: Hoppscotch self-hosted backend <= 2026.4.1 contains a broken authentication caused by mass assignment via unauthenticated POST /v1/onboarding/config endpoint, letting unauthenticated attackers overwrite JWT_SECRET to forge tokens and fully compromise the server, exploit requires attacker to access fresh instance before onboarding completes or when no users exist.
- Impact: Unauthenticated attackers can forge JWT tokens and fully compromise the server, including administrator access.
- Remediation: Update to version 2026.5.0 or later.
- Severity: critical
- Authors: str4k3r
- Tags: cve, cve2026, hoppscotch, mass-assignment, jwt
- References: https://github.com/hoppscotch/hoppscotch/security/advisories/GHSA-j542-4rch-8hwf, https://nvd.nist.gov/vuln/detail/CVE-2026-50160, https://github.com/hoppscotch/hoppscotch/pull/6171
- Cves: CVE-2026-50160
- Verified: yes
- Max requests: 2
- Directory: http/cves
- Path: http/cves/2026/CVE-2026-50160.yaml
- Digest: 4b0a00483046022100a772de36717365fa1c71fc72efeab4041e95c8dbef1b3e207bc7a0b44dc82e60022100c4ec8a6b20f1f2c5b6ed66e2e06eee7912bddae6287e8bf5581d61bef253d7a8
- Created at: 2026-08-13T08:19:27Z
- Updated at: 2026-11-24T02:03:42Z
- Age in days: 103
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-50160.yaml
Classification
- Cwe: CWE-915
- Cvss score: 10
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
- Epss score: 0.01701
- Epss percentile: 0.77829
- Not known: cpe
Metadata
- Fofa-query: title="Hoppscotch"
- Max-request: 2
- Product: hoppscotch
- Shodan-query: http.title:"Hoppscotch"
- Vendor: hoppscotch
- Verified: yes
Products
| Product | Indexed | Url |
|---|---|---|
| hoppscotch:hoppscotch | yes | /v1/products/hoppscotch/hoppscotch |
Labels
- Name: Hoppscotch - Authentication Bypass
- Impact: Unauthenticated attackers can forge JWT tokens and fully compromise the server, including administrator access.
- Remediation: Update to version 2026.5.0 or later.
- Vulnerability type: broken_authentication
- Vulnerability impact: remote_code_execution, privilege_escalation
- Requirement type: none
- Labels source: projectdiscovery
- From cve: CVE-2026-50160
- Not known: requirements
```yaml
id: CVE-2026-50160
info:
name: Hoppscotch <= 2026.4.1 - Mass Assignment JWT_SECRET Overwrite
author: str4k3r
severity: critical
description: |
Hoppscotch self-hosted backend <= 2026.4.1 contains a broken authentication caused by mass assignment via unauthenticated POST /v1/onboarding/config endpoint, letting unauthenticated attackers overwrite JWT_SECRET to forge tokens and fully compromise the server, exploit requires attacker to access fresh instance before onboarding completes or when no users exist.
impact: |
Unauthenticated attackers can forge JWT tokens and fully compromise the server, including administrator access.
remediation: |
Update to version 2026.5.0 or later.
reference:
- https://github.com/hoppscotch/hoppscotch/security/advisories/GHSA-j542-4rch-8hwf
- https://nvd.nist.gov/vuln/detail/CVE-2026-50160
- https://github.com/hoppscotch/hoppscotch/pull/6171
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
cvss-score: 10.0
cve-id: CVE-2026-50160
epss-score: 0.01701
epss-percentile: 0.77829
cwe-id: CWE-915
metadata:
verified: true
max-request: 2
vendor: hoppscotch
product: hoppscotch
shodan-query: http.title:"Hoppscotch"
fofa-query: title="Hoppscotch"
tags: cve,cve2026,hoppscotch,mass-assignment,jwt
flow: http(1) && http(2)
http:
- raw:
- |
GET /v1/onboarding/status HTTP/1.1
Host: {{Hostname}}
Accept: application/json
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(body, "canReRunOnboarding")'
- 'contains(body, "\"onboardingCompleted\":false") || contains(body, "\"canReRunOnboarding\":true")'
condition: and
internal: true
- raw:
- |
POST /v1/onboarding/config HTTP/1.1
Host: {{Hostname}}
Content-Type: application/json
Accept: application/json
{"CVE_2026_50160_DETECT":"true"}
matchers:
- type: dsl
dsl:
- 'status_code == 400'
- 'contains(body, "VITE_ALLOWED_AUTH_PROVIDERS")'
- '!contains(body, "should not exist")'
condition: and
digest: 4b0a00483046022100a772de36717365fa1c71fc72efeab4041e95c8dbef1b3e207bc7a0b44dc82e60022100c4ec8a6b20f1f2c5b6ed66e2e06eee7912bddae6287e8bf5581d61bef253d7a8:922c64590222798bb761d5b6d8e72950
```