CVE-2026-28216

Source
https://cve.org/CVERecord?id=CVE-2026-28216
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-28216.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-28216
Aliases
  • GHSA-72rv-vc3j-5vqr
Published
2026-02-26T22:36:50.539Z
Modified
2026-02-28T06:40:49.139328Z
Severity
  • 8.3 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L CVSS Calculator
Summary
hoppscotch has IDOR in updateUserEnvironment / deleteUserEnvironment
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-639"
    ],
    "cna_assigner": "GitHub_M",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/28xxx/CVE-2026-28216.json"
}
References

Affected packages

Git / github.com/hoppscotch/hoppscotch

Affected ranges

Type
GIT
Repo
https://github.com/hoppscotch/hoppscotch
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

2023.*
2023.12.0
2023.12.1
2023.12.2
2023.12.3
2023.12.4
2023.12.5
2023.12.6
2023.4.0
2023.4.1
2023.4.2
2023.4.3
2023.4.4
2023.4.5
2023.4.6
2023.4.7
2023.4.8
2023.8.0
2023.8.1
2023.8.2
2023.8.3
2023.8.4
2024.*
2024.10.0
2024.10.1
2024.10.2
2024.11.0
2024.12.0
2024.12.1
2024.12.2
2024.3.0
2024.3.1
2024.3.2
2024.3.3
2024.3.4
2024.6.0
2024.6.1
2024.7.0
2024.7.1
2024.7.2
2024.8.0
2024.8.1
2024.8.2
2024.8.3
2024.9.0
2024.9.1
2024.9.2
2024.9.3
2025.*
2025.1.0
2025.1.1
2025.10.0
2025.10.1
2025.11.0
2025.11.1
2025.11.2
2025.12.0
2025.12.1
2025.2.0
2025.2.1
2025.2.2
2025.2.3
2025.3.0
2025.3.1
2025.3.2
2025.4.0
2025.4.1
2025.4.2
2025.5.0
2025.5.1
2025.5.2
2025.5.3
2025.5.4
2025.6.0
2025.6.1
2025.7.0
2025.7.1
2025.8.0
2025.8.1
2025.9.0
2025.9.1
2025.9.2
2026.*
2026.1.0
2026.1.1
v0.*
v0.1.0
v1.*
v1.0.0
v1.10.0
v1.12.0
v1.5.0
v1.8.0
v1.9.0
v1.9.5
v1.9.7
v1.9.9
v2.*
v2.0.0
v2.1.0
v2.2.0
v2.2.1
v3.*
v3.0.0
v3.0.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-28216.json"