CVE-2026-86071
LOW 3.7CVSS 3.1Junrar: LocalFolderExtractor mkdir escape allows directory creation outside extraction root
Junrar is an open source Java RAR archive library. Prior to version 7.6.1, LocalFolderExtractor in src/main/java/com/github/junrar/LocalFolderExtractor.java can create directories outside the intended extraction root when processing a crafted archive entry. LocalFolderExtractor.createFile() validates only the final canonical file path, while LocalFolderExtractor.makeFile() creates intermediate path segments with unchecked mkdir() calls. An entry can therefore make the final path resolve inside the destination while causing intermediate directory creation outside it, enabling filesystem pollution or file-versus-directory squatting that can make later security-sensitive writes fail. The demonstrated impact is directory creation, not unconditional arbitrary file-content write. This issue is fixed in version 7.6.1.
- Published
- 16 Sep 2026
- Last modified
- 24 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-22
- Also known as
- GHSA-89m4-43j5-vhhx
- Sources
- NVDJSONOSV GHSA-89m4-43j5-vhhxJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Maven | com.github.junrar:junrar | < 7.6.1 | 7.6.1 |
References
- https://github.com/junrar/junrar/commit/e6e333b195a1e3ad271a18fd79d8ac1eb5289343 · WEB
- https://github.com/junrar/junrar/releases/tag/v7.6.1 · WEB
- https://github.com/junrar/junrar/security/advisories/GHSA-89m4-43j5-vhhx · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-86071 · ADVISORY
- https://github.com/junrar/junrar · PACKAGE
History
- 25 Nov 2026 21:05 UTC · NVD: first stored (published 16 Sep 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 17 Sep 2026)