Read the docs
TI-2026-36924 Aliases CVE-2026-50160

Mass Assignment via Onboarding Endpoint Allows Unauthenticated JWT_SECRET Overwrite

Priority HIGH 82CWE-915Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Tampering
Confidentiality · integrity · availability
High · High · None
Fix status
No fix listed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-915.

Summary

Hoppscotch is an API development ecosystem. In self-hosted deployments of hoppscotch-backend from version 2026.4.1 and earlier, the unauthenticated POST /v1/onboarding/config endpoint is vulnerable to mass assignment. The global NestJS ValidationPipe is configured without whitelist: true, so extra properties on the request body that are not declared in SaveOnboardingConfigRequest are not stripped and are iterated in the service layer as if they were legitimate InfraConfig entries. Because keys such as JWT_SECRET and SESSION_SECRET are valid InfraConfigEnum values and are not explicitly rejected during validation, an unauthenticated attacker who can reach a fresh instance before onboarding completes (or when no users exist) can overwrite these values in the database. Overwriting JWT_SECRET gives the attacker control of the JWT signing key, allowing them to forge tokens for any user, including administrators, and results in full server compromise. The issue is fixed in hoppscotch 2026.5.0.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.01701 77th percentileScored 2026-11-07
Public exploit Yes 2 exploit referencesTagged by NVD
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
hoppscotchhoppscotchup to 2026.4.1—No fix listedCNA
  • hoppscotch Vendorhoppscotch Affected up to 2026.4.1 Fixed in — No fix listed CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:hoppscotch:hoppscotch:*:*:*:*:*:*:*:*before 2026.5.0Vulnerablehoppscotch
  • cpe:2.3:a:hoppscotch:hoppscotch:*:*:*:*:*:*:*:* Versions before 2026.5.0 Vulnerable ·hoppscotch

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-50160

References

  • TI-2023-16943 Database password exposed in logs in hoppscotch CVSS 3.1HIGH 8.8
  • TI-2026-27155 hoppscotch: Improper loopback redirect_uri validation in device-login flow CVSS 4.0HIGH 8.5
  • TI-2026-22551 hoppscotch has IDOR in updateUserEnvironment / deleteUserEnvironment CVSS 3.1HIGH 8.3
  • TI-2026-22552 IDOR in GraphQL userCollection Query Exposes Other Users' Private Collections CVSS 3.1MEDIUM 6.5
  • TI-2024-17953 Content spoofing - real Hoppscotch emails CVSS 3.1MEDIUM 5.4
  • TI-2026-22550 hoppscotch Vulnerable to Unauthenticated Onboarding Config Takeover CVSS 3.1CRITICAL 9.1
See all 11 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences