CVE-2026-32685Public exploit

File read and write via custom-page traversal

Published Jun 2, 2026 · Updated Jun 2, 2026

Path traversal in Gleam 1.16.0 before 1.17.0 allows attackers to read local files and write generated pages via untrusted projects. The documentation generator incorporates documentation.pages[].source and .path from gleam.toml into filesystem paths without confining reads to the project root or writes to the documentation output directory. Exploitation requires a victim or automation to run gleam docs build on a project using malicious custom-page entries; exposed files are limited to those readable or writable by that process.

CVSS severity4.6
Medium
EPSS probability0.23%
Next 30 days · Sep 16, 2026
Known exploitationUnconfirmed
Based on sourced intelligence
Hinoki checkNot available
Coverage for this vulnerability

See if you're affected

Explore vulnerability checks for your environment with Hinoki.

Book a demo

Summary

What happened

Path traversal in Gleam 1.16.0 before 1.17.0 allows attackers to read local files and write generated pages via untrusted projects. The documentation generator incorporates documentation.pages[].source and .path from gleam.toml into filesystem paths without confining reads to the project root or writes to the documentation output directory. Exploitation requires a victim or automation to run gleam docs build on a project using malicious custom-page entries; exposed files are limited to those readable or writable by that process.

The record

CVE
CVE-2026-32685
Published
Jun 2, 2026
Updated
Jun 2, 2026
Vendor
Gleam
Product
Gleam
Classifications
CWE-22, CAPEC-139, CAPEC-597, T1204.002
Attack vector
local
Privileges
unauthenticated

Timeline

How it unfolded

  1. Jun 2, 2026CVE publishedPublication date reported by the CVE source.
  2. Jun 2, 2026Record updatedLatest update available in the CVE record.

Exploitability

Present is not the same as exploitable

Compare your product and version with the public record. A matching version still requires validation against your environment.

Is a vulnerable build present?

Compare these published version ranges with your installed build and any vendor patches.

  1. Affected versionversion=1.16.0 <1.17.0
  2. Affected versionversion=61ed8deb6572b5591ad17d6302c1a38607522f16 <81570611906b6b0039c948037094d09a68700f3a
  3. Affected versionversion=v1.16.0-elixir-alpine <v1.17.0-elixir-alpine
  4. Affected versionversion=v1.16.0-elixir-slim <v1.17.0-elixir-slim
  5. Affected versionversion=v1.16.0-elixir <v1.17.0-elixir
  6. Affected versionversion=v1.16.0-erlang-alpine <v1.17.0-erlang-alpine
  7. Affected versionversion=v1.16.0-erlang-slim <v1.17.0-erlang-slim
  8. Affected versionversion=v1.16.0-erlang <v1.17.0-erlang
  9. Affected versionversion=v1.16.0-node-alpine <v1.17.0-node-alpine
  10. Affected versionversion=v1.16.0-node-slim <v1.17.0-node-slim
  11. Affected versionversion=v1.16.0-node <v1.17.0-node
  12. Affected versionversion=v1.16.0-scratch <v1.17.0-scratch

What conditions does exploitation require?

Attack vectorlocal
Required privilegesunauthenticated

What is affected?

Gleam · Gleamversion=1.16.0 <1.17.0; version=61ed8deb6572b5591ad17d6302c1a38607522f16 <81570611906b6b0039c948037094d09a68700f3a; version=v1.16.0-elixir-alpine <v1.17.0-elixir-alpine; version=v1.16.0-elixir-slim <v1.17.0-elixir-slim; version=v1.16.0-elixir <v1.17.0-elixir; version=v1.16.0-erlang-alpine <v1.17.0-erlang-alpine; version=v1.16.0-erlang-slim <v1.17.0-erlang-slim; version=v1.16.0-erlang <v1.17.0-erlang; version=v1.16.0-node-alpine <v1.17.0-node-alpine; version=v1.16.0-node-slim <v1.17.0-node-slim; version=v1.16.0-node <v1.17.0-node; version=v1.16.0-scratch <v1.17.0-scratch

Published CVSS scores

4.6GleamCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

CVSS describes severity. EPSS estimates exploitation probability.

Attacks

What attackers are doing with it

Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.

Daily unique IPsNo honeypot observations are available for this CVE in the selected window.

No observations available

Sep 9, 2026Sep 15, 2026
Latest reporting daySep 15, 2026
Latest daily unique IPsUnavailable
Prior 30-day averageUnavailable
SourceShadowserver honeypots (KEV)
Vectorlocal
Privilegesunauthenticated
Known exploitationUnconfirmed
Public exploitPublished

Weakness, pattern, technique

CWE-22Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
CAPEC-139Relative Path Traversal
CAPEC-597Absolute Path Traversal
T1204.002Malicious File

Public exploit references

Labels summarize the accepted research assessment. They do not indicate a test against your environment.

Technologies

Your stack

See the directory against your own environment.

Your stack

Check the software in your environment

Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.

Book a demo