๐Ÿ” CVE Alert

CVE-2026-28216

HIGH 8.3

hoppscotch has IDOR in updateUserEnvironment / deleteUserEnvironment

CVSS Score
8.3
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-639
Vendor hoppscotch
Product hoppscotch
Published Feb 26, 2026
Last Updated Feb 27, 2026
Stay Ahead of the Next One

Get instant alerts for hoppscotch hoppscotch

Be the first to know when new high vulnerabilities affecting hoppscotch hoppscotch are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
Low

Affected Versions

hoppscotch / hoppscotch
< 2026.2.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/hoppscotch/hoppscotch/security/advisories/GHSA-72rv-vc3j-5vqr github.com: https://github.com/hoppscotch/hoppscotch/releases/tag/2026.2.0