CVE Professor
›
Back
CVE-2026-59247

CVE-2026-59247 — Gleam — CWE-345

HIGH CVSS 7.6 NVD

CVE-2026-59247 is a HIGH severity security vulnerability (CWE-345) (CVSS 7.6/10) affecting Gleam. Technical vector analysis shows that an attacker can exploit this flaw remotely over the network without authentication (PR:N) requiring user interaction, resulting in complete compromise of system confidentiality and integrity (C:H/I:H).

📄 Official NVD / MITRE Original Record Text

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 29.07.2026
ISO Date 2026-07-29
CVSS Version v4.0
Source NVD
CVSS v4.0 Vector Metrics
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/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
Attack Vector Network AV:N
Attack Complexity Low AC:L
Attack Reqs. Present AT:P
Privileges Req. None PR:N
User Interaction Passive UI:P
Vuln. Conf. High VC:H
Vuln. Integrity High VI:H
Vuln. Avail. None VA:N
Subseq. Conf. None SC:N
Subseq. Integ. None SI:N
Subseq. Avail. None SA:N
Scope X S:X
AI Security Analysis & Remediation
🤖 Generating Deep AI Security Analysis…
Analyzing CVSS vector & CWE weakness structure…

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-59247
CVSS 7.6/10 · HIGH · 29.07.2026
CWE: CWE-345
Vector: 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/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
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🎯 WHAT IS THIS VULNERABILITY?
Summary: 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::…

⚡ ATTACK CHAIN
Remotely over internet | no authentication required | user interaction required | low complexity.

🌍 REAL WORLD IMPACT
All confidential data readable/stealable; data can be modified or deleted.

🛡️ REMEDIATION
→ Apply the vendor-released patch immediately.
→ Pre-patch: put service behind VPN or apply IP allowlist.
→ Add WAF rule, create IDS alert for anomalous traffic.

⚠️ URGENCY
⚠️ This week (7 days) — High risk, anonymous remote.

────────────────────────────────────────
[Kural Tabanlı Otomatik Güvenlik Analizi]

Target Reconnaissance Queries (FOFA & Shodan)
CVSS Score
7.6 / 10 · CVSS HIGH
Weakness Types (CWE)
CWE-345
Related CVEs
6.9
CVE-2026-133188
MISP contains a vulnerability in the cryptographic signature verification of protected events. When a MISP ins
6.9
CVE-2026-47278
Frappe is a full-stack web application framework. Prior to 15.108.0 and 16.18.3, the add_comment handler in fr
6.3
CVE-2026-133190
MISP, a threat intelligence sharing platform, contains a vulnerability in its cryptographic key management for
5.3
CVE-2026-132607
Insufficient verification of data authenticity in the decryption component of Amazon S3 Encryption Client for
3.1
CVE-2026-131289
In Splunk SOAR versions below 8.8.0, a user who holds a role that can edit and run playbooks in Splunk SOAR co
8.0
CVE-2026-62340
X-Road is open-source data exchange layer software. Prior to .8.2, 7.7.3, and 7.6.5, the Security Server write