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

目标: 1000 元 · 已筹: 1336

100%

CVE-2026-42795— gleam 安全漏洞

一分钟漏洞结论

影响对象
Gleam Gleam
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

gleam是Gleam开源的一个类型安全的可扩展系统构建语言。 Gleam 0.10.0-rc1版本至1.17.0版本存在安全漏洞,该漏洞源于符号链接跟随问题,可能导致项目根目录外的文件被嵌入生成的包tarball中。

AI 预测 5.5 利用难度: 较易 EPSS 0.13% · P3

可能的 ATT&CK 技术 1 AI

T1565.001 · Stored Data Manipulation

影响版本矩阵 13

厂商产品 版本范围状态
Gleam Gleam 0.10.0-rc1< 1.17.0 affected
0.10.0-rc1< 1.17.0 affected
c82a2d83bd0c06cafdc196820deb3f89a9b3ff7c< 6435a5528b9ae0449e2f32be579641ec485f6866 affected
v0.10.0-rc1-elixir< v1.17.0-elixir affected
v0.10.0-rc1-erlang< v1.17.0-erlang affected
v0.10.0-rc1-node< v1.17.0-node affected
v0.10.0-rc1-node-slim< v1.17.0-node-slim affected
v0.10.0-rc1-elixir-slim< v1.17.0-elixir-slim affected
… +5 条更多
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
Symlink Following in Hex Package Export Allows Embedding Files Outside Project Root
来源: CVE Program / CVE List V5
Vulnerability Description
Symlink following vulnerability in Gleam's Hex package export allows files outside the project root to be embedded in the generated package tarball. The file collection helpers (gleam_files, native_files, private_files) in compiler-cli/src/fs.rs use follow_links(true) when walking publishable directories such as src/ and priv/. The collected paths are added to the package archive via add_path_to_tar in compiler-cli/src/publish.rs without verifying that the resolved target remains within the project root. A symlink placed under a publishable directory will cause gleam export hex-tarball or gleam publish to embed the contents of the symlink target into the generated Hex package. An attacker with write access to the project repository can place a symlink in src/ or priv/ pointing to an arbitrary file. When a maintainer or CI pipeline runs gleam publish or gleam export hex-tarball, local files readable by the publisher (such as secrets, tokens, or SSH keys) are silently embedded into the published package artifact. This issue affects Gleam from 0.10.0-rc1 until 1.17.0.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
来源: CVE Program / CVE List V5
Vulnerability Type
在文件访问前对链接解析不恰当(链接跟随)
来源: CVE Program / CVE List V5
Vulnerability Title
gleam 安全漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
gleam是Gleam开源的一个类型安全的可扩展系统构建语言。 Gleam 0.10.0-rc1版本至1.17.0版本存在安全漏洞,该漏洞源于符号链接跟随问题,可能导致项目根目录外的文件被嵌入生成的包tarball中。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
Gleam Gleam 0.10.0-rc1 ~ 1.17.0 cpe:2.3:a:gleam-lang:gleam:*:*:*:*:*:*:*:*
Gleam Gleam 0.10.0-rc1 ~ 1.17.0 cpe:2.3:a:gleam-lang:gleam:*:*:*:*:*:*:*:*
Gleam Gleam v0.10.0-rc1-elixir ~ v1.17.0-elixir cpe:2.3:a:gleam-lang:gleam:*:*:*:*:*:*:*:*

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

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

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

登录查看更多情报信息。

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

CVE-2026-42795 厂商安全公告 (3)

同批安全公告 · Gleam · 2026-06-02 · 共 3 条

CVE-2026-43965 gleam 安全漏洞
CVE-2026-32685 gleam 安全漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2026-42795

暂无评论


发表评论