# Insufficient verification of Hex package metadata in Gleam

CVE record · `CVE-2026-59247`

- **Identifiers:** `CVE-2026-59247`
- **State:** Confirmed
- **Severity:** CVSS 7.6 High
- **Critical:** No
- **CNA:** EEF
- **Weakness (CWE):** [CWE-345](https://cwe.mitre.org/data/definitions/345.html)
- **Tags:** [CWE-345](https://agentprime.io/advisories/tag/cwe-345.md)
- **Technologies:** [gleam](https://agentprime.io/advisories/technology/gleam.md)
- **Published:** 29 Jul 2026
- **Updated:** 8 Sept 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: EEF) at 29 Jul 2026, 14:24 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-lang. Product: gleam.
  - affected: `0.18.0 to before 1.18.0` (semver)
  - Other versions: unaffected
  - Package name: `gleam.run/gleam`
  - Collection: `https://gleam.run`
  - purl: `pkg:software-id/gleam.run/gleam`
- Vendor: gleam-lang. Product: gleam.
  - affected: `0.18.0 to before 1.18.0` (semver)
  - affected: `8447b78cc844ff4aec44eea23dbd68d1fea11f11 to before c9c0d48c123c8abae6db8dd61b25ccb427ed3d35` (git)
  - Other versions: unaffected
  - Package name: `gleam-lang/gleam`
  - Collection: `https://github.com`
  - purl: `pkg:github/gleam-lang/gleam`
- Vendor: gleam-lang. Product: gleam.
  - affected: `v0.18.0-elixir to before v1.18.0-elixir` (other)
  - affected: `v0.18.0-elixir-slim to before v1.18.0-elixir-slim` (other)
  - affected: `v0.18.0-elixir-alpine to before v1.18.0-elixir-alpine` (other)
  - affected: `v0.18.0-erlang to before v1.18.0-erlang` (other)
  - affected: `v0.18.0-erlang-slim to before v1.18.0-erlang-slim` (other)
  - affected: `v0.18.0-erlang-alpine to before v1.18.0-erlang-alpine` (other)
  - affected: `v0.18.0-node to before v1.18.0-node` (other)
  - affected: `v0.18.0-node-slim to before v1.18.0-node-slim` (other)
  - affected: `v0.18.0-node-alpine to before v1.18.0-node-alpine` (other)
  - affected: `v1.6.0-scratch to before v1.18.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

- 7.6 High, CVSS 4.0: `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`, from CNA (EEF)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0018, the 7th 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 29 Jul 2026. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://github.com/gleam-lang/gleam/security/advisories/GHSA-4vvc-458m-r82g> (vendor-advisory, related)
- <https://cna.erlef.org/cves/CVE-2026-59247.html> (related)
- <https://osv.dev/vulnerability/EEF-CVE-2026-59247> (related)
- <https://github.com/gleam-lang/gleam/commit/c9c0d48c123c8abae6db8dd61b25ccb427ed3d35> (patch)
- <https://github.com/hexpm/specifications/blob/main/registry-v2.md> (related)

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-59247>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

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