Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-41245

CVE-2026-41245: Junrar Path Traversal Vulnerability

CVE-2026-41245 is a path traversal vulnerability in Junrar_project Junrar that allows attackers to write arbitrary files to sibling directories. This article covers technical details, affected versions, impact, and mitigation.

Published: April 23, 2026

CVE-2026-41245 Overview

CVE-2026-41245 is a path traversal vulnerability affecting Junrar, an open source Java RAR archive library. The vulnerability exists in the LocalFolderExtractor component, which fails to properly sanitize file paths when extracting RAR archives. This flaw allows an attacker to write arbitrary files with attacker-controlled content into sibling directories when a specially crafted RAR archive is extracted.

Critical Impact

Attackers can craft malicious RAR archives that, when extracted by vulnerable applications using Junrar, write arbitrary files outside the intended extraction directory, potentially leading to code execution or system compromise.

Affected Products

  • Junrar versions prior to 7.5.10
  • Java applications using Junrar as a dependency for RAR extraction
  • Any software integrating the LocalFolderExtractor class from vulnerable Junrar versions

Discovery Timeline

  • 2026-04-20 - CVE-2026-41245 published to NVD
  • 2026-04-23 - Last updated in NVD database

Technical Details for CVE-2026-41245

Vulnerability Analysis

This path traversal vulnerability stems from insufficient validation of file paths contained within RAR archive entries. When the LocalFolderExtractor class processes archive entries for extraction, it fails to properly sanitize relative path components such as ../ (dot-dot-slash) sequences. This allows malicious archives to specify paths that escape the intended extraction directory and write files to arbitrary locations on the filesystem.

The impact is significant as it enables integrity attacks against the target system. An attacker can overwrite configuration files, inject malicious code into executable locations, or plant web shells in accessible directories. The vulnerability is remotely exploitable in scenarios where applications automatically process user-uploaded RAR files.

Root Cause

The root cause is improper input validation (CWE-22: Improper Limitation of a Pathname to a Restricted Directory) in the LocalFolderExtractor component. The extraction logic does not adequately validate or canonicalize file paths from archive entries before writing files to the filesystem. Path components such as ../ or absolute paths embedded in the archive are processed without verification that the resulting path remains within the intended extraction directory.

Attack Vector

The attack is network-based and requires no authentication or user interaction. An attacker creates a malicious RAR archive containing entries with path traversal sequences (e.g., ../../../etc/cron.d/malicious). When a vulnerable application extracts this archive using Junrar's LocalFolderExtractor, the files are written to locations outside the intended extraction directory based on the malicious paths specified in the archive.

The vulnerability is particularly dangerous in web applications that accept RAR file uploads and automatically extract them, file processing services, or any automated archive handling systems using Junrar.

Detection Methods for CVE-2026-41245

Indicators of Compromise

  • Unexpected file creation or modification outside of designated extraction directories
  • RAR archives containing entries with ../ path sequences or absolute paths
  • Application logs showing file writes to sensitive system directories during archive extraction
  • Presence of suspicious files in sibling or parent directories of normal extraction locations

Detection Strategies

  • Implement file integrity monitoring on sensitive directories to detect unauthorized writes
  • Review application dependencies for Junrar versions prior to 7.5.10
  • Monitor for RAR archive processing that results in file operations outside expected paths
  • Deploy application-level logging to track archive extraction activities and destination paths

Monitoring Recommendations

  • Enable detailed logging for file system operations in applications processing RAR archives
  • Implement alerts for archive extraction operations that attempt path traversal
  • Use software composition analysis (SCA) tools to identify vulnerable Junrar dependencies
  • Monitor web application firewalls for uploads containing archives with suspicious entry names

How to Mitigate CVE-2026-41245

Immediate Actions Required

  • Upgrade Junrar to version 7.5.10 or later immediately
  • Audit applications using Junrar to identify all affected instances
  • Review file systems for any evidence of exploitation or unauthorized file modifications
  • Implement input validation at the application level as an additional defense layer

Patch Information

The vulnerability is fixed in Junrar version 7.5.10. The patch implements proper path canonicalization and validation to ensure extracted files cannot escape the designated extraction directory.

For patch details, see the GitHub Commit Update and GitHub Release v7.5.10. Full security details are available in the GitHub Security Advisory GHSA-hf5p-q87m-crj7.

Workarounds

  • Validate archive entry paths before extraction to reject entries containing ../ or absolute paths
  • Implement chroot or container-based isolation for archive extraction processes
  • Use allowlisting to restrict file extensions and paths that can be extracted
  • Disable automatic archive extraction for untrusted sources until patching is complete
bash
# Maven dependency update example
# Update pom.xml to use patched version:
# <dependency>
#     <groupId>com.github.junrar</groupId>
#     <artifactId>junrar</artifactId>
#     <version>7.5.10</version>
# </dependency>

# Verify current Junrar version in your project
mvn dependency:tree | grep junrar

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechJunrar

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-22
  • Technical References
  • GitHub Release v7.5.10
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Security Advisory GHSA-hf5p-q87m-crj7
  • Related CVEs
  • CVE-2026-28208: Junrar Path Traversal Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English