CVE-2026-32685
Last modified
CVE-2026-32685 is a medium-severity vulnerability rated 4.6/10 on the CVSS scale. 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. EPSS estimates a 0.15% chance of exploitation in the next 30 days.
Description
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.
Metrics
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-32685?
How severe is CVE-2026-32685?
How do I fix CVE-2026-32685?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-32679The installers of LiveOn Meet Client for Windows (Downloader…8.4
- CVE-2026-3268A vulnerability was detected in psi-probe PSI Probe up to 5.…4.3
- CVE-2026-32680The installer of RATOC RAID Monitoring Manager for Windows a…8.5
- CVE-2026-32682When NGINX Gateway Fabric is configured using GRPCRoutes, an…7.1
- CVE-2026-32683Some EZVIZ products utilize older versions of cloud feature …5.3
- CVE-2026-32684The application does not impose strict enough restrictions o…2.9
- CVE-2026-32686Uncontrolled Resource Consumption vulnerability in ericmj de…6.9
- CVE-2026-32687Improper Neutralization of Special Elements used in an SQL C…7.8
- CVE-2026-32688Allocation of Resources Without Limits or Throttling vulnera…7.5
- CVE-2026-32689Allocation of Resources Without Limits or Throttling vulnera…8.7
- CVE-2026-3269A flaw has been found in psi-probe PSI Probe up to 5.3.0. Th…6.5
- CVE-2026-32690Secrets in Variables saved as JSON dictionaries were not pro…3.7
Are you affected by CVE-2026-32685?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
