CVE-2026-28672

Apache Ranger: OS Command Injection via Username in UnixUserGroupBuilder

Published Aug 10, 2026 CVSS 3.1 · 9.8 Critical EPSS 2.6% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Apache Ranger has a command‑injection flaw where the UNIX user‑group builder incorporates the supplied username directly into an operating‑system command without proper sanitization. An attacker who can supply a crafted username may cause the Ranger server to execute arbitrary shell commands, compromising confidentiality, integrity, and availability of the system. The weakness is classified as CWE‑77 and is a classic example of improper neutralization of special elements.

Affected Systems

The vulnerability affects all released versions of Apache Ranger from 0.6 through 2.8, regardless of build or environment. Systems running these versions should verify their installation and determine whether the affected component is in use. 2.9 and later releases do not contain this flaw.

Risk and Exploitability

EPSS score of 3% and the issue is not listed in the CISA KEV catalog, the CVSS score of 9.8 indicates critical severity, and the potential for remote code execution makes the risk high. The likely attack vector is remote, via the Ranger REST interface or any client that can supply a username to the UnixUserGroupBuilder. Because the flaw permits arbitrary command execution, the impact is catastrophic if exploited. Immediate action is recommended to prevent an adversary from gaining control of the Ranger host.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest Apache Ranger release that patches the command‑injection bug (currently 2.9 or later).
  • Sanitize or validate all user‑supplied usernames before they are passed to the UnixUserGroupBuilder, ensuring no shell metacharacters are included.
  • If an immediate upgrade is not possible, restrict network access to the Ranger administration endpoints and monitor logs for suspicious command strings in username fields.

Generated by OpenCVE AI on September 24, 2026 at 19:39 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-6qc3-v8fv-fv9j Apache Ranger has a Command Injection vulnerability
History
Type Values Removed Values Added
CPEs cpe:2.3:a:apache:ranger:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Apache
Apache ranger
Vendors & Products Apache
Apache ranger
Type Values Removed Values Added
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.
Title Apache Ranger: OS Command Injection via Username in UnixUserGroupBuilder
Weaknesses CWE-77
References
Weaknesses
  • CWE-77

    Improper Neutralization of Special Elements used in a Command ('Command Injection')

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Aug 12, 2026, 3:49 PM
Reserved
Mar 2, 2026, 9:14 PM
Status
Analyzed
Published
Aug 10, 2026, 11:17 AM
Modified
Oct 23, 2026, 8:10 PM