Command Injection Affecting org.apache.ranger:unixusersync package, versions [0.6.0,2.9.0)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
2.63% (85th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGAPACHERANGER-22283243
  • published8 Nov 2026
  • disclosed10 Aug 2026
  • creditUnknown

Introduced: 10 Aug 2026

CVE-2026-28672  (opens in a new tab)
CWE-77  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade org.apache.ranger:unixusersync to version 2.9.0 or higher.

Overview

Affected versions of this package are vulnerable to Command Injection via the buildUnixUserList function in UnixUserGroupBuilder. An attacker who can influence a username in Unix group-member data can execute arbitrary OS commands by having synchronization process a username containing shell metacharacters, which the function concatenates into an id -G command passed to bash -c. This path is used when NSS is enabled and group-member enumeration is enabled.

CVSS Base Scores

version 4.0
version 3.1