CVE-2026-28672 Apache Ranger: OS Command Injection via Username in UnixUserGroupBuilder

Critical 9.8 Published Updated

Attackers can execute arbitrary OS commands via crafted usernames in Apache Ranger, requiring an upgrade to mitigate.

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

What is CVE-2026-28672?

CVE-2026-28672 is a critical command injection vulnerability in Apache Ranger, published on 10 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Improper Neutralization of Special Elements used in a Command ('Command Injection') vulnerability in Apache Ranger.

This issue affects Apache Ranger: from 0.6 through 2.8.

Weakness: CWE-77

Which versions are affected by CVE-2026-28672?

2 open source packages ship an affected version, including org.apache.ranger:ranger. It affects 1 product.

PackageAffectedFixed in
org.apache.ranger:ranger MavenFrom 0.6.0 to 2.8.0None
org.apache.ranger:ranger MavenFrom 0.6.0 to 2.8.0None

Products include Apache Ranger.

How do I fix CVE-2026-28672?

No fix has been published for CVE-2026-28672 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2026-28672 being exploited?

There is no known exploitation of CVE-2026-28672 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-6qc3-v8fv-fv9j.

Is CVE-2026-28672 in your software?

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

Check your SBOMs for free