CVE-2026-41245
Junrar: Path Traversal (Zip-Slip) via Sibling Directory Name Prefix
Description
Summary
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.
Example
Given an extraction directory set to /tmp/extract, a crafted archive with an entry with the filename as ../extract_evil/file.txt would be actually extracted to /tmp/extract_evil/file.txt.
Details
The createDirectory() and createFile() methods inLocalFolderExtractor validate extraction paths using a string prefix.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| com.github.junrar » junrar | < 7.5.10 | 7.5.10 |
Blast radius
70% of the dependent artifacts (1,882) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 1,080 |
| 2 hops | 11,069 |
| 3 hops | 18,577 |
| 4 hops | 28,775 |
| 5 hops | 50,545 |
| 6 hops | 41,449 |
Most used dependents
- org.apache.camel.springboot » camel-core-starter558 usages
- org.apache.tika » tika-parsers480 usages
- org.apache.camel.springboot » camel-spring-boot-starter478 usages
- org.xwiki.platform » xwiki-platform-oldcore449 usages
- org.apache.camel.quarkus » camel-quarkus-maven-plugin302 usages
- org.apache.tika » tika-parsers-standard-package178 usages
- org.apache.camel.quarkus » camel-quarkus-package-maven-plugin152 usages
- org.apache.jmeter » ApacheJMeter_core149 usages
- org.opencms » opencms-core134 usages
- org.alfresco » alfresco-repository121 usages
- org.jahia.server » jahia-impl120 usages
- org.onehippo.cms7 » hippo-cms-api119 usages
- org.xwiki.platform » xwiki-platform-test-docker101 usages
- com.agentsflex » agents-flex-core96 usages
- fr.paris.lutece » lutece-core94 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2026-41245 | nvd.nist.gov |
| Package | junrar/junrar | github.com |
| Web | junrar/junrar advisory GHSA-hf5p-q87m-crj7 | github.com |
| Web | junrar/junrar commit d77e9a8 | github.com |
| Web | junrar/junrar release v7.5.10 | github.com |
