Skip to main content
Network Thinking Solutions Logo

CVE-2026-59247

Insufficient Verification of Data Authenticity vulnerability in Gleam allows an adversary in the middle to substitute forged Hex package contents during dependency resolution.

All CVEs
CVE-2026-59247Published 7/29/2026

Insufficient Verification of Data Authenticity vulnerability in Gleam allows an adversary in the middle to substitute forged Hex package contents during dependency resolution.

Vendor advisory
CVSS7.6High

Overview

Insufficient Verification of Data Authenticity vulnerability in Gleam allows an adversary in the middle to substitute forged Hex package contents during dependency resolution. During dependency resolution Gleam fetches package metadata from the signature-verified Hex repository, which covers each release's dependency requirements and SHA-256 outer_checksum. After resolving versions, gleam_cli::dependencies::lookup_package makes a second request to the unsigned Hex API through gleam_core::hex::get_package_release and records the outer_checksum and dependency names from that JSON response into manifest.toml, instead of the values from the verified repository metadata. The Hex repository signature does not cover the API response. An adversary in the middle who can intercept TLS with a certificate trusted by the Gleam process (for example a TLS-inspecting proxy using a CA in the operating system trust store or added through GLEAM_CACERTS_PATH), and who can modify both the API release response and the corresponding repository tarball, can supply a package archive with a matching forged checksum without the Hex repository signing key. Gleam verifies the forged tarball against the forged checksum, accepts it, and extracts it as a dependency source, resulting in loss of integrity of the downloaded package contents. Only projects that resolve or update Hex dependencies are affected, which happens when the manifest is missing, a dependency is added or updated, or dependency requirements change. Builds that reuse an unchanged, known-good manifest.toml continue to verify tarballs against its pinned checksum. This issue affects gleam: from 0.18.0-rc1 before 1.18.0.

Published
7/29/2026
Last modified
11/20/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
Gleam
Gleam
≥ v0.18.0-rc1-elixir, < v1.18.0-elixir

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Gleam
Gleam
≥ v0.18.0-rc1-erlang, < v1.18.0-erlang

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Gleam
Gleam
≥ v0.18.0-rc1-node, < v1.18.0-node

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Gleam
Gleam
≥ v0.18.0-rc1-node-slim, < v1.18.0-node-slim

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Gleam
Gleam
≥ v0.18.0-rc1-elixir-slim, < v1.18.0-elixir-slim

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Gleam
Gleam
≥ v0.18.0-rc1-erlang-slim, < v1.18.0-erlang-slim

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Gleam
Gleam
≥ v0.18.0-rc1-erlang-alpine, < v1.18.0-erlang-alpine

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Gleam
Gleam
≥ v0.18.0-rc1-elixir-alpine, < v1.18.0-elixir-alpine

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Gleam
Gleam
≥ v0.18.0-rc1-node-alpine, < v1.18.0-node-alpine

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Gleam
Gleam
≥ v0.18.0-rc1-scratch, < v1.18.0-scratch

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Gleam
Gleam
≥ 0.18.0-rc1, < 1.18.0

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Gleam
Gleam
≥ 8447b78cc844ff4aec44eea23dbd68d1fea11f11, < c9c0d48c123c8abae6db8dd61b25ccb427ed3d35

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.6. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.