Read the docs
TI-2026-58877 Aliases CVE-2026-86071GHSA-89m4-43j5-vhhx

Junrar: LocalFolderExtractor mkdir escape allows directory creation outside extraction root

Priority LOW 18CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
High
Impact type
—
Confidentiality · integrity · availability
None · Low · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00362 30th percentileScored 2026-11-07
Fix Fixed junrar (junrar): 7.6.1com.github.junrar:junrar (Maven): 7.6.1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
junrarjunrarbefore 7.6.17.6.1Patch availableCNA
—com.github.junrar:junrar (Maven)before 7.6.17.6.1Patch availableGHSA-89m4-43j5-vhhx
  • junrar Vendorjunrar Affected before 7.6.1 Fixed in 7.6.1 Patch available CNA
  • com.github.junrar:junrar (Maven) Vendor— Affected before 7.6.1 Fixed in 7.6.1 Patch available GHSA-89m4-43j5-vhhx

Remediation

  • Fix · CNA junrar (junrar) Fixed in 7.6.1
  • Fix · GHSA-89m4-43j5-vhhx com.github.junrar:junrar (Maven) Fixed in 7.6.1 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-86071
  2. 2026-10-03 Alias added: GHSA-89m4-43j5-vhhx

References

  • TI-2026-74659 Infinite CPU loop in Junrar RAR4 extraction through RarVM jumps CVSS 3.1HIGH 7.5

Sources