CVSS 4.0
8.7 highCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:NHigh (8.7) in rubyzip rubyzip. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in rubyzip 3.4.0.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:NCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:Nrubyzip (RubyGems): fixed in 3.4.0Explain CVE-2026-85396 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-85396?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-85396?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-85396 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 |
|---|---|
| rubyzip | before 3.4.0 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-47m2-wp7j-p9vc | RubyGems | rubyzip | <3.4.0 | 3.4.0 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13 | ruby-zip | no fix listed | DEBIAN-CVE-2026-85396 |
| Debian | 14 | ruby-zip | 3.4.0+dfsg-1 | DEBIAN-CVE-2026-85396 |
| Ubuntu | 16.04:LTS, 18.04:LTS, 20.04:LTS and 3 more | ruby-zip | no fix listed | UBUNTU-CVE-2026-85396 |
| Azure Linux | 3 | rubygem-rubyzip | no fix listed | AZL-99087 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.
Red Hat rates this Important.
This vulnerability is rated as Important severity because successful exploitation allows an attacker to overwrite arbitrary files outside intended extraction targets, potentially compromising system integrity or facilitating code execution. In Red Hat environments such as the Red Hat 3scale API Management platform, rubyzip is embedded to handle compressed archives. Exploitation depends on an application processing attacker-supplied archives without isolating directory prefixes or validating unpacked entry destinations.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat 3scale API Management Platform 2 | 3scale-amp2/backend-rhel8 | Not affected | |
| Red Hat 3scale API Management Platform 2 | 3scale-amp2/system-rhel8 | Not affected | |
| Red Hat 3scale API Management Platform 2 | 3scale-amp2/system-rhel9 | Not affected | |
| Red Hat 3scale API Management Platform 2 | 3scale-amp2/toolbox-rhel9 | 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-85396.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.