GHSA-x83w-23jp-g6pw: OpenSearch Security plugin DLS Not Applied On Documents Vulnerability
MODERATEGHSA-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
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).
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.
<dependency>
<groupId>org.opensearch.plugin</groupId>
<artifactId>opensearch-security</artifactId>
<version>2.19.4.0</version>
</dependency>
<dependency>
<groupId>org.opensearch.plugin</groupId>
<artifactId>opensearch-security</artifactId>
<version>3.2.0.0</version>
</dependency>
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
GHSA-x83w-23jp-g6pw Affected OpenSearch Security plugin Versions
2 component(s)| 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?
Which OpenSearch Security plugin versions are affected?
What version fixes GHSA-x83w-23jp-g6pw?
Is opensearch-security affected?
What is the CVSS score of GHSA-x83w-23jp-g6pw?
What CWE is associated with GHSA-x83w-23jp-g6pw?
How can I check Maven dependencies for GHSA-x83w-23jp-g6pw?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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
}
}