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.
The issue has been resolved in OpenSearch 3.0.0 and OpenSearch 2.19.3.
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.
{ "severity": "MODERATE", "github_reviewed": true, "github_reviewed_at": "2025-08-01T18:15:00Z", "nvd_published_at": null, "cwe_ids": [ "CWE-200" ] }