CVE-2026-41245

Junrar: Path Traversal (Zip-Slip) via Sibling Directory Name Prefix

Published Apr 20, 2026 CVSS 3.1 · 5.9 Medium EPSS < 1% KEV · Not listed
Description
Junrar is an open source java RAR archive library. Prior to version 7.5.10, a path traversal vulnerability in `LocalFolderExtractor` allows an attacker to write arbitrary files with attacker-controlled content into sibling directories when a crafted RAR archive is extracted. Version 7.5.10 fixes the issue.

Analysis

AI-generated

Technical impact

The vulnerability is a path traversal flaw, designated CWE-22, located in the LocalFolderExtractor component of the Junrar Java library. An attacker can construct a RAR archive that contains a file whose member name begins with a sibling directory prefix. When the archive is extracted, the library writes the file into the sibling directory, allowing the attacker to create or overwrite arbitrary files with attacker-controlled data. Because the content is fully under the attacker’s control, the flaw can lead to unauthorized file writes, potentially overwriting existing files or placing new files where the application does not expect them.

Affected Systems

Affected systems include any Java application that incorporates junrar:junrar prior to version 7.5.10. Versions older than v7.5.10 are vulnerable. The issue is fixed in junrar 7.5.10 and later releases. The product is an open‑source RAR archive handling library used in projects that process compressed files.

Risk and Exploitability

The CVSS score of 5.9 classifies the vulnerability as medium severity, and there is no EPSS score indicating current exploitation probability. The flaw is not listed in the CISA KEV catalog. The most likely way to exploit the issue is by supplying a crafted RAR archive to an application that uses the vulnerable library, which is typically a local or vendor‑side operation. The impact is limited to the machine or container where extraction occurs, but can still result in unauthorized file creation or overwrite.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Junrar library to version 7.5.10 or later to eliminate the path traversal flaw
  • Configure the extraction process to validate and sanitize file paths, rejecting any RAR entries that reference sibling directories or use relative paths outside the intended extraction directory
  • Run the extraction operation in a sandboxed or restricted environment to limit the scope of any unauthorized file writes

Generated by OpenCVE AI on April 20, 2026 at 18:39 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-hf5p-q87m-crj7 Junrar: Path Traversal (Zip-Slip) via Sibling Directory Name Prefix
History
Type Values Removed Values Added
First Time appeared Junrar Project
Junrar Project junrar
CPEs cpe:2.3:a:junrar_project:junrar:*:*:*:*:*:*:*:*
Vendors & Products Junrar Project
Junrar Project junrar
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Junrar
Junrar junrar
Vendors & Products Junrar
Junrar junrar
Type Values Removed Values Added
Description Junrar is an open source java RAR archive library. Prior to version 7.5.10, a path traversal vulnerability in `LocalFolderExtractor` allows an attacker to write arbitrary files with attacker-controlled content into sibling directories when a crafted RAR archive is extracted. Version 7.5.10 fixes the issue.
Title Junrar: Path Traversal (Zip-Slip) via Sibling Directory Name Prefix
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 18, 2026, 12:05 PM
Reserved
Apr 18, 2026, 3:47 AM
Status
Modified
Published
Apr 20, 2026, 4:16 PM
Modified
Nov 11, 2026, 11:10 PM
Severity
Important
Public date
Apr 20, 2026, 3:15 PM