CVE-2026-28216: hoppscotch has IDOR in updateUserEnvironment / deleteUserEnvironment

Published Feb 26, 2026
·
Updated

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.

Affected Software

2 affected components
hoppscotch/hoppscotch<2026.2.0
hoppscotch hoppscotch<2026.2.0

Event History

Feb 26, 2026
CVE Published
via MITRE·10:36 PM
Data Sourced
via MITRE·10:36 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:16 PM
DescriptionSeverityWeaknessAffected Software
Jun 27, 58142
Event
via FIRST·08:22 PM

Frequently Asked Questions

1

What is the severity of CVE-2026-28216?

CVE-2026-28216 is classified as a medium severity vulnerability due to its potential for information disclosure and unauthorized access.

2

How do I fix CVE-2026-28216?

To remediate CVE-2026-28216, update to Hoppscotch version 2026.2.0 or later.

3

What type of vulnerability is CVE-2026-28216?

CVE-2026-28216 is an Insecure Direct Object Reference (IDOR) vulnerability.

4

Who is affected by CVE-2026-28216?

Any logged-in user of Hoppscotch versions prior to 2026.2.0 is at risk from CVE-2026-28216.

5

What can an attacker do with CVE-2026-28216?

An attacker exploiting CVE-2026-28216 can read, modify, or delete another user's personal environment.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203