개요
이 취약점이 무엇인지
Path traversal vulnerability in Gleam's handling of custom documentation pages allows arbitrary file read and file write outside the intended documentation output directory.
The documentation.pages entries from gleam.toml are incorporated into filesystem paths without sufficient validation or confinement to the intended project and documentation output directories. The documentation.pages[].path field can be used to write generated documentation files outside the intended build/dev/docs/<package>/ output directory. The documentation.pages[].source field can be used to read files outside the project directory and embed their contents into generated documentation output.
An attacker who can convince a victim to run gleam docs build on an untrusted project, or with untrusted gleam.toml content, can cause local files readable by the victim to be included in generated documentation artifacts, and can cause generated documentation files to be written outside the intended docs output directory.
This issue affects gleam: from 1.16.0 before 1.17.0.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| GleamGleam | v1.16.0-elixir | ≤ | 취약 | < | v1.17.0-elixir | v1.17.0-elixir이상 |
| v1.16.0-erlang | ≤ | 취약 | < | v1.17.0-erlang | v1.17.0-erlang이상 | |
| v1.16.0-node | ≤ | 취약 | < | v1.17.0-node | v1.17.0-node이상 | |
| v1.16.0-node-slim | ≤ | 취약 | < | v1.17.0-node-slim | v1.17.0-node-slim이상 | |
| v1.16.0-elixir-slim | ≤ | 취약 | < | v1.17.0-elixir-slim | v1.17.0-elixir-slim이상 | |
| v1.16.0-erlang-slim | ≤ | 취약 | < | v1.17.0-erlang-slim | v1.17.0-erlang-slim이상 | |
| v1.16.0-erlang-alpine | ≤ | 취약 | < | v1.17.0-erlang-alpine | v1.17.0-erlang-alpine이상 | |
| v1.16.0-elixir-alpine | ≤ | 취약 | < | v1.17.0-elixir-alpine | v1.17.0-elixir-alpine이상 | |
| v1.16.0-node-alpine | ≤ | 취약 | < | v1.17.0-node-alpine | v1.17.0-node-alpine이상 | |
| v1.16.0-scratch | ≤ | 취약 | < | v1.17.0-scratch | v1.17.0-scratch이상 | |
| 1.16.0 | ≤ | 취약 | < | 1.17.0 | 1.17.0이상 | |
할당 기관(CNA) 레코드 기준 (NVD 분석 전). 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
기타6
- cna.erlef.org/cves/CVE-2026-32685.html
- github.com/gleam-lang/gleam/commit/61ed8deb6572b5591ad17d6302c1a38607522f16
- github.com/gleam-lang/gleam/commit/81570611906b6b0039c948037094d09a68700f3a
- github.com/gleam-lang/gleam/commit/c9230cd3045de8fd8481dae3a4557c0146df1430
- github.com/gleam-lang/gleam/security/advisories/GHSA-wjx8-7w8m-p4v7