GHSA-x83w-23jp-g6pw: OpenSearch Security plugin DLS Not Applied On Documents Vulnerability

MODERATE
CVSS 5.3
CWE-863
Published
Advisory Summary

GHSA-x83w-23jp-g6pw is a MODERATE (CVSS 5.3) dls not applied on documents vulnerability (CWE-863: Incorrect Authorization) affecting OpenSearch Security plugin libraries in the Maven ecosystem. The issue involves dls not applied on documents linked by has_child or has_parent relation. Remediation is available by upgrading affected packages to version 2.19.4.0, 3.2.0.0.

GHSA-x83w-23jp-g6pw at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-x83w-23jp-g6pw
Severity MODERATE
CVSS v3.1 Base Score 5.3
CWE Classification CWE-863: Incorrect Authorization
Affected Product OpenSearch Security plugin
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 5.3

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

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

How to Fix GHSA-x83w-23jp-g6pw

To remediate this vulnerability, upgrade all affected OpenSearch Security plugin 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.opensearch.plugin:opensearch-security fixed: 2.19.4.0
<dependency>
    <groupId>org.opensearch.plugin</groupId>
    <artifactId>opensearch-security</artifactId>
    <version>2.19.4.0</version>
</dependency>
org.opensearch.plugin:opensearch-security fixed: 3.2.0.0
<dependency>
    <groupId>org.opensearch.plugin</groupId>
    <artifactId>opensearch-security</artifactId>
    <version>3.2.0.0</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.opensearch.plugin

How to Check if You Are Affected

To determine whether your Java application is affected by GHSA-x83w-23jp-g6pw, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.opensearch.plugin

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

Note: The mvn dependency:tree -Dincludes=org.opensearch.plugin 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-863: Incorrect Authorization, where the product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. In OpenSearch Security plugin, 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

### Description A flaw was identified in the OpenSearch Security plugin's document-level security (DLS) implementation. DLS restrictions were not correctly applied to search queries that use has_parent or has_child join relations. This could allow an authenticated user to access document contents that should have been restricted by DLS rules. ### Impact An authenticated user with access to an index containing parent/child join relations could bypass DLS restrictions on documents linked by those relations, potentially accessing restricted document contents. This only affects clusters that use both DLS and the `join` field type on the same index. ### Patches This issue is fixed in OpenSearch `2.19.4` and `3.2.0`. ### Workarounds Avoid using the `join` field type on indices that are subject to DLS rules.

GHSA-x83w-23jp-g6pw Affected OpenSearch Security plugin Versions

2 component(s)
Fixed Versions:
2.19.4.03.2.0.0
Product / Package Ecosystem Affected Versions Fixed Version
org.opensearch.plugin:opensearch-security
Maven
≥ 1.0.0
< 2.19.4.0
2.19.4.0
org.opensearch.plugin:opensearch-security
Maven
≥ 3.0.0
< 3.2.0.0
3.2.0.0

References

Frequently Asked Questions

What is GHSA-x83w-23jp-g6pw?
GHSA-x83w-23jp-g6pw is a security vulnerability in OpenSearch Security plugin involving DLS not applied on documents linked by has_child or has_parent relation under CWE-863: Incorrect Authorization.
Which OpenSearch Security plugin versions are affected?
Affected versions include releases prior to 2.19.4.0, 3.2.0.0 across affected packages: org.opensearch.plugin:opensearch-security.
What version fixes GHSA-x83w-23jp-g6pw?
Upgrading to 2.19.4.0, 3.2.0.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is opensearch-security affected?
Yes, org.opensearch.plugin:opensearch-security is affected in releases prior to 2.19.4.0, 3.2.0.0. Upgrade your dependency to 2.19.4.0, 3.2.0.0 or later.
What is the CVSS score of GHSA-x83w-23jp-g6pw?
GHSA-x83w-23jp-g6pw has a CVSS v3.1 base score of 5.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with GHSA-x83w-23jp-g6pw?
GHSA-x83w-23jp-g6pw is classified under CWE-863: Incorrect Authorization (The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.).
How can I check Maven dependencies for GHSA-x83w-23jp-g6pw?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.opensearch.plugin'. 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-x83w-23jp-g6pw",
  "modified" : "2026-05-07T00:08:34Z",
  "published" : "2026-05-07T00:08:34Z",
  "aliases" : [ ],
  "summary" : "OpenSearch Security plugin: DLS not applied on documents linked by has_child or has_parent relation",
  "details" : "### Description\n\nA flaw was identified in the OpenSearch Security plugin's document-level security (DLS) implementation. DLS restrictions were not correctly applied to search queries that use has_parent or has_child join relations. This could allow an authenticated user to access document contents that should have been restricted by DLS rules.\n\n### Impact\n\nAn authenticated user with access to an index containing parent/child join relations could bypass DLS restrictions on documents linked by those relations, potentially accessing restricted document contents. This only affects clusters that use both DLS and the `join` field type on the same index.\n\n### Patches\n\n This issue is fixed in OpenSearch `2.19.4` and `3.2.0`.\n\n### Workarounds\n\nAvoid using the `join` field type on indices that are subject to DLS rules.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.opensearch.plugin:opensearch-security"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.0.0"
      }, {
        "fixed" : "2.19.4.0"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 2.19.3"
    }
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.opensearch.plugin:opensearch-security"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.0.0"
      }, {
        "fixed" : "3.2.0.0"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 3.1.0"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/opensearch-project/security/security/advisories/GHSA-x83w-23jp-g6pw"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/opensearch-project/security"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-863" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-05-07T00:08:34Z",
    "nvd_published_at" : null
  }
}