CVE-2026-85396
Last modified
CVE-2026-85396 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. rubyzip versions before 3.4.0 contain a path traversal vulnerability in Zip::Entry#extract that fails to properly validate extraction paths using prefix comparison without trailing separators. Attackers can craft archive entries with names like ../upload_backup/owned.sh to write files outside the intended extraction directory into sibling paths sharing the destination prefix..
Description
rubyzip versions before 3.4.0 contain a path traversal vulnerability in Zip::Entry#extract that fails to properly validate extraction paths using prefix comparison without trailing separators. Attackers can craft archive entries with names like ../upload_backup/owned.sh to write files outside the intended extraction directory into sibling paths sharing the destination prefix.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/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
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| rubyzip | rubyzip | < 3.4.0 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-85396?
How severe is CVE-2026-85396?
How do I fix CVE-2026-85396?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-85390Checkmate through 3.11.0 omits the isAllowed role guard midd…7.1
- CVE-2026-85391Peppermint through 0.5.5 contains a hardcoded JWT signing se…9.8
- CVE-2026-85392Peppermint through 0.5.5 contains an authorization bypass vu…4.3
- CVE-2026-85393node-forge through 1.4.0 fails to validate element count in …7.5
- CVE-2026-85394python-jose through 3.5.0 fails to properly validate asymmet…9.1
- CVE-2026-85395UnoPim before 2.1.3 fails to include integration store, upda…7.1
- CVE-2026-85397A vulnerability was determined in code-projects Hospital Inf…7.3
- CVE-2026-85398A vulnerability was identified in code-projects Hospital Inf…7.3
- CVE-2026-85399A security flaw has been discovered in code-projects Hospita…7.3
- CVE-2026-8540Type Confusion in V8 in Google Chrome prior to 148.0.7778.16…8.8
- CVE-2026-85401A weakness has been identified in Dolibarr up to 21.0.4/22.0…6.3
- CVE-2026-85402A vulnerability was detected in code-projects Doctor Appoint…7.3
Are you affected by CVE-2026-85396?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
