GHSA-rrmm-wq7q-h4v5 Impact OpenSearch versions 2.19.2 and earlier improperly apply field masking rules on fields of the types `ip`, `geo_point`, `geo_shape`

Not scored Published

Attackers can bypass field masking to read original values of specific geospatial and IP fields in OpenSearch, exposing sensitive data.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is GHSA-rrmm-wq7q-h4v5?

GHSA-rrmm-wq7q-h4v5 is a vulnerability in org.opensearch.plugin:opensearch-security, published on 1 Aug 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

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.

Which versions are affected by GHSA-rrmm-wq7q-h4v5?

2 open source packages ship an affected version, including org.opensearch.plugin:opensearch-security.

PackageAffectedFixed in
org.opensearch.plugin:opensearch-security MavenAll versions2.19.3.0
org.opensearch.plugin:opensearch-security MavenAll versions2.19.3.0

How do I fix GHSA-rrmm-wq7q-h4v5?

Upgrade org.opensearch.plugin:opensearch-security to 2.19.3.0 or later.

Is GHSA-rrmm-wq7q-h4v5 being exploited?

There is no known exploitation of GHSA-rrmm-wq7q-h4v5 in the wild and no public exploit code.

Sources

Is GHSA-rrmm-wq7q-h4v5 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free