CVE-2026-28216

HIGH
中文标题:
(暂无数据)
英文标题:
hoppscotch has IDOR in updateUserEnvironment / deleteUserEnvironment
CVSS分数: 8.3
发布时间: 2026-02-26 22:36:50
漏洞类型: (暂无数据)
状态: PUBLISHED
数据质量分数: 0.40
数据版本: v3
漏洞描述
中文描述:

(暂无数据)

英文描述:

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
标签:
(暂无数据)
受影响产品
厂商 产品 版本 版本范围 平台 CPE
hoppscotch hoppscotch < 2026.2.0 - - cpe:2.3:a:hoppscotch:hoppscotch:<_2026.2.0:*:*:*:*:*:*:*
hoppscotch hoppscotch * - - cpe:2.3:a:hoppscotch:hoppscotch:*:*:*:*:*:*:*:*
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
https://github.com/hoppscotch/hoppscotch/security/advisories/GHSA-72rv-vc3j-5vqr x_refsource_CONFIRM
cve.org
访问
https://github.com/hoppscotch/hoppscotch/releases/tag/2026.2.0 x_refsource_MISC
cve.org
访问
CVSS评分详情
3.1 (cna)
HIGH
8.3
CVSS向量: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
机密性
HIGH
完整性
HIGH
可用性
LOW
时间信息
发布时间:
2026-02-26 22:36:50
修改时间:
2026-02-26 22:36:50
创建时间:
2026-02-27 06:00:01
更新时间:
2026-02-28 06:00:03
利用信息
暂无可利用代码信息
数据源详情
数据源 记录ID 版本 提取时间
CVE cve_CVE-2026-28216 2026-02-27 03:19:47 2026-02-26 22:00:01
NVD nvd_CVE-2026-28216 2026-02-27 02:00:05 2026-02-26 22:00:03
版本与语言
当前版本: v3
主要语言: EN
支持语言:
EN
安全公告
暂无安全公告信息
变更历史
v3 NVD
2026-02-28 06:00:03
affected_products_count: 1 → 2
查看详细变更
  • affected_products_count: 1 -> 2
v2 NVD
2026-02-27 06:00:03
data_sources: ['cve'] → ['cve', 'nvd']
查看详细变更
  • data_sources: ['cve'] -> ['cve', 'nvd']