Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. com.github.junrar/junrar
  4. ›
  5. CVE-2026-86071

CVE-2026-86071: Junrar: LocalFolderExtractor mkdir escape allows directory creation outside extraction root

September 17, 2026

LocalFolderExtractor validates only the final canonical file path before extraction. However, makeFile() creates intermediate directories one path segment at a time without checking whether each created directory remains inside the destination folder.

A malicious RAR entry can make the final file path resolve inside the extraction destination, while causing intermediate mkdir() calls to create attacker-chosen directories outside the extraction root.

This is an extraction root escape via unchecked intermediate directory creation. The default impact is directory creation outside the intended destination, not unconditional arbitrary file content write.

References

  • github.com/advisories/GHSA-89m4-43j5-vhhx
  • github.com/junrar/junrar/commit/e6e333b195a1e3ad271a18fd79d8ac1eb5289343
  • github.com/junrar/junrar/releases/tag/v7.6.1
  • github.com/junrar/junrar/security/advisories/GHSA-89m4-43j5-vhhx
  • nvd.nist.gov/vuln/detail/CVE-2026-86071

Code Behaviors & Features

Detect and mitigate CVE-2026-86071 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 7.6.1

Fixed versions

  • 7.6.1

Solution

Upgrade to version 7.6.1 or above.

Impact 3.7 LOW

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

maven/com.github.junrar/junrar/CVE-2026-86071.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 22 Sep 2026 12:19:30 +0000.