NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Maven

GHSA-2rjv-cv85-xhgm: OpenSearch unauthorized data access on fields protected by field level security if field is a member of an object

mediumCVSS 3.1 5.7

Impact OpenSearch versions 2.19.2 and earlier improperly apply Field Level Security (FLS) rules on fields which are not at the top level of the source document tree (i.e., which are members of a JSON object). If an FLS exclusion rule (like ~object) is applied to an object valued attribute in a source document, the object is properly removed from the source document in search and get results.

Published Aug 1, 2025

Affected packages

org.opensearch.plugin:opensearch-security

Ecosystem
Maven
Affected
< 2.19.3.0
Fixed in
2.19.3.0
Check
mvn dependency:tree -Dincludes=org.opensearch.plugin:opensearch-security

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Impact

OpenSearch versions 2.19.2 and earlier improperly apply Field Level Security (FLS) rules on fields which are not at the top level of the source document tree (i.e., which are members of a JSON object).

If an FLS exclusion rule (like ~object) is applied to an object valued attribute in a source document, the object is properly removed from the _source document in search and get results. However, any member attribute of that object remains available to search queries. This allows to reconstruct the original field contents using range queries.

Patches

The issue has been resolved in OpenSearch 3.0.0 and OpenSearch 2.19.3.

Workarounds

If FLS exclusion rules are used for object valued attributes (like ~object), add an additional exclusion rule for the members of the object (like ~object.*).

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Maven vulnerabilities

All Maven entries