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: 9.8 Critical
EPSS: 1.3% Low
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

EPSS score of 1% 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.

Generated by OpenCVE AI on August 24, 2026 at 16:27 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 24, 2026 at 16:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 17 Aug 2026 19:00:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:apache:ranger:*:*:*:*:*:*:*:*

Wed, 12 Aug 2026 16:30:00 +0000

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'}


Tue, 11 Aug 2026 15:45:00 +0000

Type Values Removed Values Added
First Time appeared Apache
Apache ranger
Vendors & Products Apache
Apache ranger

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

cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-08-12T15:49:07.214Z

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

Link: CVE-2026-28672

cve-icon Vulnrichment

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

cve-icon NVD

Status : Analyzed

Published: 2026-08-10T11:17:25.190

Modified: 2026-08-17T18:48:49.103

Link: CVE-2026-28672

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-24T16:30:07Z

Weaknesses
  • CWE-77

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