High severity · published Feb 26, 2026
CVE-2026-28216
hoppscotch has IDOR in updateUserEnvironment / deleteUserEnvironment
8.3
CVSS
0.4%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
Low
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 39% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
HO
hoppscotch · hoppscotch
< 2026.2.0 · source: vendor, NVD
Affected product
HO
hoppscotch
hoppscotch
More from hoppscotch
10.0
CVE-2026-50160
Mass Assignment via Onboarding Endpoint Allows Unauthenticated JWT_SECRET Overwrite
9.6
CVE-2026-34931
hoppscotch: Improper loopback redirect_uri validation in device-login flow
9.3
CVE-2026-34932
hoppscotch: Stored XSS via mock server responses on backend origin
9.1
CVE-2026-28215
hoppscotch Vulnerable to Unauthenticated Onboarding Config Takeover
8.8
CVE-2023-34097
Database password exposed in logs in hoppscotch