# Path Traversal in gleam docs build via documentation.pages Allows Arbitrary File Read and Write

CVE record · `CVE-2026-32685`

- **Identifiers:** `CVE-2026-32685`
- **State:** Confirmed
- **Severity:** CVSS 4.6 Medium
- **Critical:** No
- **CNA:** EEF
- **Weakness (CWE):** [CWE-22](https://cwe.mitre.org/data/definitions/22.html)
- **Tags:** [Path traversal](https://agentprime.io/advisories/tag/path-traversal.md)
- **Technologies:** [Gleam](https://agentprime.io/advisories/technology/gleam.md)
- **Published:** 2 Jun 2026
- **Updated:** 8 Sept 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: EEF) at 2 Jun 2026, 13:41 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Gleam. Product: Gleam.
  - affected: `1.16.0 to before 1.17.0` (semver)
  - Other versions: unaffected
  - Package name: `gleam`
  - purl: `pkg:software-id/gleam.run/gleam`
- Vendor: Gleam. Product: Gleam.
  - affected: `1.16.0 to before 1.17.0` (semver)
  - affected: `61ed8deb6572b5591ad17d6302c1a38607522f16 to before 81570611906b6b0039c948037094d09a68700f3a` (git)
  - Other versions: unaffected
  - Package name: `gleam-lang/gleam`
  - Collection: `https://github.com`
  - purl: `pkg:github/gleam-lang/gleam`
- Vendor: Gleam. Product: Gleam.
  - affected: `v1.16.0-elixir to before v1.17.0-elixir` (other)
  - affected: `v1.16.0-erlang to before v1.17.0-erlang` (other)
  - affected: `v1.16.0-node to before v1.17.0-node` (other)
  - affected: `v1.16.0-node-slim to before v1.17.0-node-slim` (other)
  - affected: `v1.16.0-elixir-slim to before v1.17.0-elixir-slim` (other)
  - affected: `v1.16.0-erlang-slim to before v1.17.0-erlang-slim` (other)
  - affected: `v1.16.0-erlang-alpine to before v1.17.0-erlang-alpine` (other)
  - affected: `v1.16.0-elixir-alpine to before v1.17.0-elixir-alpine` (other)
  - affected: `v1.16.0-node-alpine to before v1.17.0-node-alpine` (other)
  - affected: `v1.16.0-scratch to before v1.17.0-scratch` (other)
  - Other versions: unaffected
  - Package name: `gleam-lang/gleam`
  - Collection: `https://ghcr.io`
  - purl: `pkg:oci/gleam?repository_url=ghcr.io/gleam-lang`

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 4.6 Medium, CVSS 4.0: `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N`, from CNA (EEF)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0023, the 13th percentile, on 9 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 2 Jun 2026. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2026-32685](https://www.cve.org/CVERecord?id=CVE-2026-32685)
- [NVD: CVE-2026-32685](https://nvd.nist.gov/vuln/detail/CVE-2026-32685)

### References from the CNA

- <https://github.com/gleam-lang/gleam/security/advisories/GHSA-wjx8-7w8m-p4v7> (vendor-advisory, related)
- <https://cna.erlef.org/cves/CVE-2026-32685.html> (related)
- <https://osv.dev/vulnerability/EEF-CVE-2026-32685> (related)
- <https://github.com/gleam-lang/gleam/commit/81570611906b6b0039c948037094d09a68700f3a> (patch)
- <https://github.com/gleam-lang/gleam/commit/c9230cd3045de8fd8481dae3a4557c0146df1430> (patch)

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2026-32685>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2026-32685/>. Everything for agents: <https://agentprime.io/llms.txt>.
