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

目标: 1000 元 · 已筹: 1310

100%

CVE-2026-42795— Hex Package 导出符号链接漏洞,允许嵌入项目根目录外文件

AI 预测 5.5 利用难度: 较易

可能的 ATT&CK 技术 1AI

T1565.001 · Stored Data Manipulation

影响版本矩阵 13

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

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

漏洞信息

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

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

Vulnerability Title
Symlink Following in Hex Package Export Allows Embedding Files Outside Project Root
来源: 美国国家漏洞数据库 NVD
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.
来源: 美国国家漏洞数据库 NVD
CVSS Information
N/A
来源: 美国国家漏洞数据库 NVD
Vulnerability Type
在文件访问前对链接解析不恰当(链接跟随)
来源: 美国国家漏洞数据库 NVD

受影响产品

厂商产品影响版本CPE订阅
GleamGleam 0.10.0-rc1 ~ 1.17.0 cpe:2.3:a:gleam-lang:gleam:*:*:*:*:*:*:*:*
GleamGleam 0.10.0-rc1 ~ 1.17.0 cpe:2.3:a:gleam-lang:gleam:*:*:*:*:*:*:*:*
GleamGleam 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-43965build/packages/packages.toml路径穿越漏洞导致任意目录删除
CVE-2026-32685gleam docs build 路径遍历漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2026-42795

暂无评论


发表评论