CVE-2026-28208 Junrar has arbitrary file write due to backslash path traversal bypass in LocalFolderExtractor on Linux/Unix

Medium 5.9 Published Updated

Attackers can write arbitrary files via crafted RAR archives in Junrar, potentially leading to remote code execution on Linux/Unix systems.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-28208?

CVE-2026-28208 is a medium-severity path traversal vulnerability in junrar, published on 26 Feb 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Junrar is an open source java RAR archive library. Prior to version 7.5.8, a backslash path traversal vulnerability in `LocalFolderExtractor` allows an attacker to write arbitrary files with attacker-controlled content anywhere on the filesystem when a crafted RAR archive is extracted on Linux/Unix. This can often lead to remote code execution (e.g., overwriting shell profiles, source code, cron jobs, etc). Version 7.5.8 has a fix for the issue.

Weakness: CWE-22

Which versions are affected by CVE-2026-28208?

2 open source packages ship an affected version, including com.github.junrar:junrar. It affects 1 product.

PackageAffectedFixed in
com.github.junrar:junrar MavenAll versions7.5.8
com.github.junrar:junrar MavenAll versions7.5.8

Products include Junrar Project Junrar.

How do I fix CVE-2026-28208?

Upgrade com.github.junrar:junrar to 7.5.8 or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-28208 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-28208 exists.

Sources

Also known as ECHO-40b2-f523-98e1, GHSA-j273-m5qq-6825.

Is CVE-2026-28208 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free