CVSS 4.0
5.9 mediumCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NMedium (5.9) in gleam gleam. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NExplain CVE-2026-103061 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-103061?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-103061?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-103061 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| Gleam | from 0.32.4 before 1.19.2 |
| Gleam | from v0.32.4-elixir before v1.19.2-elixir |
| Gleam | from v0.32.4-erlang before v1.19.2-erlang |
| Gleam | from v0.32.4-node before v1.19.2-node |
| Gleam | from v0.32.4-node-slim before v1.19.2-node-slim |
| Gleam | from v0.32.4-elixir-slim before v1.19.2-elixir-slim |
| Gleam | from v0.32.4-erlang-slim before v1.19.2-erlang-slim |
| Gleam | from v0.32.4-erlang-alpine before v1.19.2-erlang-alpine |
| Gleam | from v0.32.4-elixir-alpine before v1.19.2-elixir-alpine |
| Gleam | from v0.32.4-node-alpine before v1.19.2-node-alpine |
| Gleam | from v0.32.4-scratch before v1.19.2-scratch |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| openSUSE | Tumbleweed | gleam | 1.19.2-1.1 | openSUSE-SU-2026:12454-1 |
From the distributions' data via OSV.dev: SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: openSUSE.
Red Hat rates this Important.
An IMPORTANT severity path traversal flaw was found in the Gleam build tool (gleam). Gleam reads a Hex package release's OTP application name from the hex.pm release API when it downloads dependencies and uses it, without validation, as the package's build directory name. A malicious package publisher could set this publisher-controlled metadata field to path traversal sequences or an absolute path; when a project that depends on such a release directly or transitively is built and the dependency fails to compile, Gleam recursively deletes the directory the name resolves to, allowing deletion of arbitrary directories and files accessible to the user running the build. The deletion is triggered by gleam build, gleam check, gleam run, gleam test, and gleam export, but not by gleam deps download alone, and for a pure Gleam package no publisher code runs. Exploitation requires a developer or CI process to build a project containing a malicious dependency, which is why Red Hat scores this flaw as IMPORTANT with a local attack vector (CVSS 3.1 score 7.1, CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H), whereas the upstream CVEORG record assigns a CVSS 4.0 score of 5.9 (MODERATE), treating the flaw as network-exploitable with attacker participation and user interaction required and impact limited to availability.
Within Red Hat's product scope, gleam is affected as a build-time dependency of gjs in Red Hat Enterprise Linux rhel-br-9 streams and mozjs60 in Red Hat Enterprise Linux 8 streams, of firefox and thunderbird in Red Hat In-Vehicle OS, and of community (Fedora and EPEL) components including icecat, firefox, mozjs115, mozjs128, mozjs140, seamonkey, and thunderbird. firefox and thunderbird as shipped in Red Hat Enterprise Linux 7, 8, 9, and 10 are not affected because the vulnerable gleam component is not present in those builds. Fixes for the affected products are being pursued through the responsible maintainers.
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability. Upstream, the issue is fixed in Gleam 1.19.2, which validates the OTP application name used to form dependency build directories; users who build projects with Gleam directly should upgrade to Gleam 1.19.2 or later. Note that hex.pm has rejected application names that are not plain directory names for releases published since 2026-10-12, so only dependency releases published before that date can carry a malicious application name. For affected Red Hat products, updated packages will be provided through the respective product streams.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | firefox | Not affected | |
| Red Hat Enterprise Linux 10 | thunderbird | Not affected | |
| Red Hat Enterprise Linux 7 | firefox | Not affected | |
| Red Hat Enterprise Linux 8 | firefox | Not affected | |
| Red Hat Enterprise Linux 8 | mozjs60 | Affected | |
| Red Hat Enterprise Linux 8 | thunderbird | Not affected | |
| Red Hat Enterprise Linux 9 | firefox | Not affected | |
| Red Hat Enterprise Linux 9 | thunderbird | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-103061.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.