Read the docs
TI-2026-22551 Aliases CVE-2026-28216

hoppscotch has IDOR in updateUserEnvironment / deleteUserEnvironment

Priority HIGH 71CWE-639Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Security bypass
Confidentiality · integrity · availability
High · High · Low
Fix status
Fixed

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

Summary

hoppscotch is an open source API development ecosystem. Prior to version 2026.2.0, any logged-in user can read, modify or delete another user's personal environment by ID. `user-environments.resolver.ts:82-109`, `updateUserEnvironment` mutation uses `@UseGuards(GqlAuthGuard)` but is missing the `@GqlUser()` decorator entirely. The user's identity is never extracted, so the service receives only the environment ID and performs a `prisma.userEnvironment.update({ where: { id } })` without any ownership filter. `deleteUserEnvironment` does extract the user but the service only uses the UID to check if the target is a global environment. Actual delete query uses WHERE { id } without AND userUid. hoppscotch environments store API keys, auth tokens and secrets used in API requests. An authenticated attacker who obtains another user's environment ID can read their secrets, replace them with malicious values or delete them entirely. The environment ID format is CUID, which limits mass exploitation but insider threat and combined info leak scenarios are realistic. Version 2026.2.0 fixes the issue.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00444 38th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed hoppscotch (hoppscotch): 2026.2.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
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
hoppscotchhoppscotchbefore 2026.2.02026.2.0Patch availableCNA
  • hoppscotch Vendorhoppscotch Affected before 2026.2.0 Fixed in 2026.2.0 Patch available CNA

CPE configurations NVD · 1

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

Remediation

  • Fix · CNA hoppscotch (hoppscotch) Fixed in 2026.2.0

Timeline

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

References

  • TI-2026-36924 Mass Assignment via Onboarding Endpoint Allows Unauthenticated JWT_SECRET Overwrite CVSS 3.1CRITICAL 10.0
  • 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-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