CVE-2026-32685
CVE.org · Published
- Record status
- Published
- Identifier year (not publication year)
- 2026
- Source publication
- Source updated
- Imported by cveboard
- Source snapshot
- cve_2026-10-24_midnight_baseline ·
CNA source text (English)
Path Traversal in gleam docs build via documentation.pages Allows Arbitrary File Read and Write
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 until 1.17.0.
Scoped product and version facts
Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.
Exploitation unknown; this catalogue does not assess exploitation.
Gleam
- Vendor
- Gleam
- Product
- Gleam
- Platforms
- Unknown
- Default status
unaffected- Package
- gleam
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 1.16.0 | affected | semver | 1.17.0 | Unavailable | None listed |
Gleam
- Vendor
- Gleam
- Product
- Gleam
- Platforms
- Unknown
- Default status
unaffected- Package
- gleam-lang/gleam
- Package collection
- https://github.com
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 1.16.0 | affected | semver | 1.17.0 | Unavailable | None listed |
| 61ed8deb6572b5591ad17d6302c1a38607522f16 | affected | git | 81570611906b6b0039c948037094d09a68700f3a | Unavailable | None listed |
Gleam
- Vendor
- Gleam
- Product
- Gleam
- Platforms
- Unknown
- Default status
unaffected- Package
- gleam-lang/gleam
- Package collection
- https://ghcr.io
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| v1.16.0-elixir | affected | other | v1.17.0-elixir | Unavailable | None listed |
| v1.16.0-erlang | affected | other | v1.17.0-erlang | Unavailable | None listed |
| v1.16.0-node | affected | other | v1.17.0-node | Unavailable | None listed |
| v1.16.0-node-slim | affected | other | v1.17.0-node-slim | Unavailable | None listed |
| v1.16.0-elixir-slim | affected | other | v1.17.0-elixir-slim | Unavailable | None listed |
| v1.16.0-erlang-slim | affected | other | v1.17.0-erlang-slim | Unavailable | None listed |
| v1.16.0-erlang-alpine | affected | other | v1.17.0-erlang-alpine | Unavailable | None listed |
| v1.16.0-elixir-alpine | affected | other | v1.17.0-elixir-alpine | Unavailable | None listed |
| v1.16.0-node-alpine | affected | other | v1.17.0-node-alpine | Unavailable | None listed |
| v1.16.0-scratch | affected | other | v1.17.0-scratch | Unavailable | None listed |