目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1336

100%

CVE-2026-75542— OAuth令牌交换授予不可访问组织仓库范围的漏洞

一分钟漏洞结论

影响对象
hexpm hexpm
利用判断
存在公开或 AI PoC,应优先验证
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

hexpm OAuth 令牌端点存在权限控制错误漏洞 该漏洞存在于 hexpm 的 OAuth 令牌端点中,允许拥有 (仓库)权限的 API 密钥读取其他组织的私有包。 当通过 OAuth 的 授权模式将 API 密钥交换为令牌时, 文件中的 函数存在逻辑缺陷:只要密钥持有 权限,且请求的作用域字符串以 开头,该函数就会无条件接受该作用域。在此过程中,系统从未将组织名称与当前主体(principal)进行验证匹配;而 函数仅重写字面意义上的 作用域,因此类似 的显式作用域会原封不动地通过验证。 此外,CDN 边缘节

CVSS 8.3 · High EPSS 0.36% · P29

可能的 ATT&CK 技术 1 AI

T1078.004 · Cloud Accounts

影响版本矩阵 2

厂商产品 版本范围状态
hexpm hexpm 2025-10-18< 2026-08-24 affected
71829cb6f6559bcceb1ef4e43a2fb8cdd3af654b< bf0fb9d208f0acfabf7a2f7467c8231659e322a8 affected
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2026-75542 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
OAuth token exchange grants repository scopes for organizations the principal cannot access
来源: CVE Program / CVE List V5
Vulnerability Description
Incorrect Authorization vulnerability in the OAuth token endpoint in hexpm hexpm allows an API key holding the repositories permission to read another organization's private packages. When an API key is exchanged for a token through the OAuth client_credentials grant, validate_scopes_against_key/2 in lib/hexpm_web/controllers/api/oauth_controller.ex admits a requested scope whenever the key carries the repositories permission and the scope string begins with repository:. The organization name is never resolved against the principal, and expand_repositories_scope/3 only rewrites the literal repositories scope, so an explicit repository:<name> passes through untouched. Both CDN edges authorize repository access from the token claim without querying the database, so the minted token is read access to that organization's private packages until it expires. This issue affects hex.pm: from 2025-10-18 before 2026-08-24.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N
来源: CVE Program / CVE List V5
Vulnerability Type
授权机制不正确
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
hexpm hexpm 2025-10-18 ~ 2026-08-24 cpe:2.3:a:hexpm:hexpm:*:*:*:*:*:*:*:*
hexpm hexpm 71829cb6f6559bcceb1ef4e43a2fb8cdd3af654b ~ bf0fb9d208f0acfabf7a2f7467c8231659e322a8 cpe:2.3:a:hexpm:hexpm:*:*:*:*:*:*:*:*

二、漏洞 CVE-2026-75542 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级
Qwen3.6-35B-A3B · 6745 chars
Pro+ 专属包含:
漏洞复现靶场录像(真实沙箱构建 + 触发,独家)
漏洞原理深度分析
触发条件与影响面
完整可执行 POC 代码
利用链与缓解建议
POC 打包下载
每月 100+ 条 AI 生成额度

三、漏洞 CVE-2026-75542 的情报信息

登录查看更多情报信息。

CVE-2026-75542 补丁与修复 (1)

CVE-2026-75542 厂商安全公告 (2)

CVE-2026-75542 其他参考 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-75542

暂无评论


发表评论