Vulnerabilities in pkg:maven/org.apache.ranger/ranger

PACKAGE
Advisory Identifier: GHSA-6qc3-v8fv-fv9j
Advisory Summary

CVE-2026-28672 is a CRITICAL (CVSS 9.8) apache ranger has a command vulnerability (CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')) affecting Ranger libraries in the Maven ecosystem. The issue involves apache ranger has a command injection vulnerability. Remediation is available in the latest vendor maintenance releases.

17 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.apache.ranger/ranger

17 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/org.apache.ranger/ranger. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-6qc3-v8fv-fv9j CVE-2026-28672 CRITICAL Apache Ranger has a Command Injection vulnerability
GHSA-g9gf-g5jq-9h3v CVE-2024-45479 CRITICAL Apache Ranger UI vulnerable to Server Side Request Forgery
GHSA-vrx2-mgr9-v67h CVE-2024-45478 MODERATE Apache Ranger has Stored Cross-site Scripting vulnerability in Edit Service Page
GHSA-qqg7-gcxw-gmj3 CVE-2015-5167 MODERATE Apache Ranger allows users to bypass intended access restrictions via the REST API
GHSA-7ccv-hhvc-62hg CVE-2015-0266 HIGH Apache Ranger allows users to bypass intended access restrictions via direct access to module URLs
GHSA-83m2-9g78-rrj4 CVE-2015-0265 MODERATE Apache Ranger Cross-site Scripting vulnerability
GHSA-22v7-w6c5-v4rr CVE-2016-0735 HIGH Apache Ranger Access Restriction Bypass
GHSA-89gw-cffj-mqg9 CVE-2022-45048 HIGH Apache Ranger code execution vulnerability in policy expressions
GHSA-758m-6g3q-g3hh CVE-2017-7676 CRITICAL Policy resource matcher in Apache Ranger before 0.7.1 ignores characters after '' wildcard character
GHSA-c99h-fgqm-6679 CVE-2018-11778 HIGH UnixAuthenticationService in Apache Ranger was updated to correctly handle user input to avoid Stack-based buffer overflow
GHSA-v7mf-qgxf-qmvf CVE-2016-8751 MODERATE Apache Ranger admin users can store some arbitrary javascript code to be executed when normal users login and access policies
GHSA-rf7q-xqm3-6923 CVE-2016-5395 MODERATE Apache Ranger allows remote authenticated administrators to inject arbitrary web script or HTML
GHSA-4rjf-mxfm-98h5 CVE-2016-2174 HIGH SQL injection vulnerability in the policy admin tool in Apache Ranger
GHSA-j84c-j8qm-g47r CVE-2016-0733 CRITICAL The Admin UI in Apache Ranger before 0.5.1 does not properly handle authentication requests that lack a password
GHSA-vhxc-8jjq-859j CVE-2016-6815 MODERATE Moderate severity vulnerability that affects org.apache.ranger:ranger
GHSA-ffjh-fjgg-mfpq CVE-2017-7677 MODERATE Moderate severity vulnerability that affects org.apache.ranger:ranger
GHSA-fpqp-v323-44xv CVE-2019-12397 MODERATE Cross-site scripting in Apache Ranger

CVE-2026-28672 at a Glance

CVE Identifier CVE-2026-28672
GHSA Identifier GHSA-6qc3-v8fv-fv9j
Severity CRITICAL
CVSS v3.1 Base Score 9.8
CWE Classification CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')
Affected Product Ranger
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 9.8

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2026-28672

To remediate this vulnerability, upgrade all affected Ranger dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.apache.ranger:ranger fixed: Latest secure release
<dependency>
    <groupId>org.apache.ranger</groupId>
    <artifactId>ranger</artifactId>
    <version>Latest secure release</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=org.apache.ranger

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2026-28672, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.apache.ranger

Analyze the terminal output to locate any version of Ranger in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.apache.ranger command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection'), where the product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component. In Ranger, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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.

CVE-2026-28672 Affected Ranger Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
org.apache.ranger:ranger
Maven
≥ 0.6.0
≤ 2.8.0

References

Frequently Asked Questions

What is CVE-2026-28672?
CVE-2026-28672 is a security vulnerability in Ranger involving Apache Ranger has a Command Injection vulnerability under CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection').
Which Ranger versions are affected?
Affected versions include releases prior to current release patches across affected packages: org.apache.ranger:ranger.
What version fixes CVE-2026-28672?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is ranger affected?
Yes, org.apache.ranger:ranger is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2026-28672?
CVE-2026-28672 has a CVSS v3.1 base score of 9.8 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2026-28672?
CVE-2026-28672 is classified under CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection') (The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.).
How can I check Maven dependencies for CVE-2026-28672?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.apache.ranger'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-6qc3-v8fv-fv9j",
  "modified" : "2026-09-02T14:31:58Z",
  "published" : "2026-08-10T12:31:50Z",
  "aliases" : [ "CVE-2026-28672" ],
  "summary" : "Apache Ranger has a Command Injection vulnerability",
  "details" : "Improper Neutralization of Special Elements used in a Command ('Command Injection') vulnerability in Apache Ranger.\n\nThis issue affects Apache Ranger: from 0.6 through 2.8.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.ranger:ranger"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.6.0"
      }, {
        "last_affected" : "2.8.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-28672"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/apache/ranger"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread/99ysjqcmz950o3jgm6pqx1wb696onzq7"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2026/08/09/2"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-77" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-09-02T14:31:58Z",
    "nvd_published_at" : "2026-08-10T11:17:25Z"
  }
}