GHSA-rrmm-wq7q-h4v5: OpenSearch unauthorized data access on fields protected by field masking for fields of type ip, geo_point, geo_shape, xy_point, xy_shape
Impact OpenSearch versions 2.19.2 and earlier improperly apply field masking rules on fields of the types ip, geopoint, geoshape, xypoint, xyshape. While the content of these fields is properly redacted in the source document returned by search operations, the original unredacted values remain available to search queries. This allows to reconstruct the original field contents using range queries.
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 masking rules on fields of the types ip, geo_point, geo_shape, xy_point, xy_shape. While the content of these fields is properly redacted in the _source document returned by search operations, the original unredacted values remain available to search queries. This allows to reconstruct the original field contents using range queries.
Additionally, the content of fields of type geo_point, geo_shape, xy_point, xy_shape is returned in an unredacted form if requested via the fields option of the search API.
Patches
The issue has been resolved in OpenSearch 3.0.0 and OpenSearch 2.19.3.
Workarounds
If you cannot upgrade immediately, you can avoid the problem by using field level security (FLS) protection on fields of the affected types instead of field masking.
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 entriesGHSA-22vx-2x23-98w6
OpenSearch vulnerable to improper authorization for Rollover Requests
low2.2May 7, 2026GHSA-83x9-vc3c-hghc
OpenSearch has a bypass of REST Layer Authorization Using Malformed Paths
low3.7May 7, 2026GHSA-x5hg-x4gv-j98m
OpenSearch has ineffective TLS certificate hostname verification
low2.2May 7, 2026GHSA-x83w-23jp-g6pw
OpenSearch Security plugin: DLS not applied on documents linked by has_child or has_parent relation
medium5.3May 7, 2026GHSA-2rjv-cv85-xhgm
OpenSearch unauthorized data access on fields protected by field level security if field is a member of an object
medium5.7Aug 1, 2025
