Skip to main content

Junrar CVE-2026-41245

| EUVDEUVD-2026-23872 HIGH
Path Traversal (CWE-22)
2026-04-20 GitHub_M
7.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft RAR archive with path traversal
  2. Delivery
    Host or deliver malicious archive
  3. Exploit
    Application extracts archive using vulnerable Junrar
  4. Execution
    Arbitrary files written to sibling directories
  5. Persist
    Attacker-controlled code or config reaches execution context
  6. Impact
    Application behavior altered or compromised

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The vulnerability requires the following specific conditions: (1) A Java application must use Junrar library version prior to 7.5.10, (2) the application must extract RAR archives to the filesystem using the LocalFolderExtractor component (the standard extraction method), and (3) the attacker must be able to supply or control the RAR archive being extracted. The attacker does not need authentication or direct filesystem access - they only need to provide a crafted RAR file to the application (e.g., via file upload, email attachment, or compromised package repository). Exploitation does not require user interaction from the application operator, and does not require any special configuration of Junrar itself. The high complexity (AC:H) in CVSS likely reflects that successful exploitation requires precise knowledge of the target filesystem layout to traverse to an impactful sibling directory; however, in many deployments (e.g., where Junrar extracts to a predictable location), this knowledge is easily obtainable. No special platform, runtime version, or non-default configuration is required - any Java 8+ runtime executing Junrar 7.5.9 or earlier is vulnerable if it processes untrusted RAR files.

Impact

This vulnerability presents moderate-to-significant real-world risk despite a CVSS score of 5.9 (medium). The CVSS vector AV:N/AC:H/PR:N/UI:N indicates network-reachable exploitation with high complexity but no authentication or user interaction required - the AC:H factor is likely due to the need for a specially-crafted RAR archive and the specific filesystem layout required for exploitation impact. The vulnerability is NOT confirmed in active exploitation per available data (no KEV status provided, no public exploit code referenced), but the straightforward nature of path traversal flaws and public disclosure via GitHub suggest PoC development is likely. Real-world impact depends heavily on deployment context: if Junrar is used in a service that processes user-uploaded RAR files, or in build pipelines extracting dependencies, the risk is significant. If usage is limited to extracting known-good archives, risk is lower. The inability to impact confidentiality or availability (C:N, A:N per CVSS) limits scope compared to RCE, but arbitrary file write enables downstream attacks: injecting malicious JAR files into classpath directories, overwriting configuration files, or replacing executable scripts. Organizations using Junrar should prioritize patching if they extract untrusted RAR files; those extracting only internal/verified archives can defer. No conflict between CVSS and description.

Exploit ScenarioDerived

An attacker crafts a malicious RAR archive containing an entry with a path like ../../../malicious.jar or ../config/override.properties. When a Java application using vulnerable Junrar extracts this archive to a directory like /app/uploads/, the path traversal allows the attacker to write files to /app/config/ or other sibling/parent locations. If the application's classpath includes these directories, the attacker can inject a malicious JAR to achieve code execution on the next application restart or class loading event. Alternatively, overwriting application configuration files allows the attacker to alter behavior without code execution.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 20, 2026

Path traversal in Junrar library versions prior to 7.5.10 allows remote attackers to write arbitrary files into sibling directories by extracting a crafted RAR archive, enabling unauthorized file creation and potential code injection. The vulnerability requires high attack complexity (AC:H) but no authentication or user interaction, affecting any Java application using vulnerable Junrar versions to process untrusted RAR files. Vendor-released patch: version 7.5.10.

RemediationAI

Update Junrar to version 7.5.10 or later immediately. For Maven users, update the dependency in pom.xml to <version>7.5.10</version> or higher; for Gradle users, update implementation 'com.github.junrar:junrar:7.5.10' or later. The patch is available directly from GitHub at https://github.com/junrar/junrar/releases/tag/v7.5.10 and the commit resolving the vulnerability is documented at https://github.com/junrar/junrar/commit/d77e9a83eb721cd51f9c23d7869d0e6ad7f952d7. If immediate upgrade is not possible, restrict Junrar usage to extracting RAR files from trusted sources only, and avoid extracting archives in directories where maliciously-created sibling files could impact application functionality (e.g., do not extract to the classpath root or configuration directories). This is a compensating control with significant limitations - it does not prevent exploitation if the source of RAR files cannot be fully guaranteed. Additionally, monitor the extraction directory and parent directories for unexpected file creation, though this detects attacks only after they occur. Patch deployment is the only reliable mitigation.

Affected VersionsENISA

junrar < 7.5.10

Affected Packages

maven com.github.junrar:junrar fix: 7.5.10
euvd junrar fix: 7.5.10

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in maven, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Junrar is a Java library for reading and extracting RAR archive format files. The vulnerability exists in the LocalFolderExtractor component, which handles the extraction of archived files to the filesystem. The root cause is classified as CWE-22 (Improper Limitation of a Pathname to a Restricted Directory - Path Traversal), meaning the library fails to properly validate or sanitize file paths extracted from the RAR archive before writing them to disk. An attacker can craft a RAR archive with specially-formed internal path entries (e.g., using directory traversal sequences like '../' or absolute paths) that, when extracted, bypass intended directory restrictions and allow files to be written outside the intended extraction directory into sibling or parent directories. This is a common class of vulnerability in archive extraction libraries where path validation is insufficient.

Know when Junrar gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Red Hat 9.3 HIGH

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

Lifecycle Timeline

5
Severity Changed
Jun 30, 2026 - 03:24 NVD
MEDIUM HIGH
CVSS changed
Jun 30, 2026 - 03:24 NVD
5.9 (MEDIUM) 7.5 (HIGH)
Patch released
Apr 23, 2026 - 13:35 nvd
Patch available
Patch available
Apr 20, 2026 - 16:01 EUVD
CVE Published
Apr 20, 2026 - 15:15 nvd
MEDIUM 5.9

DescriptionNVD

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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 90% exploitable
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy