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.
Published: 2026-08-10
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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

Although no EPSS score is available and the issue is not listed in the CISA KEV catalog, 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.

Generated by OpenCVE AI on August 10, 2026 at 11:20 UTC.

Remediation

No vendor fix or workaround currently provided.

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 August 10, 2026 at 11:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 10 Aug 2026 10:30:00 +0000

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

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-08-10T10:33:15.995Z

Reserved: 2026-03-02T21:14:39.533Z

Link: CVE-2026-28672

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-10T11:30:16Z

Weaknesses
  • CWE-77

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