# 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

- Severity: Medium 5.7 (CVSS:3.1, scored by GitHub) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2025-08-01T18:15:00.000Z
- Modified: 2025-08-01T19:00:20.275Z
- Weaknesses: CWE-200

## 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.

(As written by GitHub Advisory Database.)

## Affected

- org.opensearch.plugin:opensearch-security (Maven): before 2.19.3.0

## References

- <https://github.com/opensearch-project/security/security/advisories/GHSA-rrmm-wq7q-h4v5> (web)
- <https://github.com/opensearch-project/security> (package)

## Sources

- GitHub Advisory Database: [GHSA-rrmm-wq7q-h4v5](https://github.com/advisories/GHSA-rrmm-wq7q-h4v5), CC-BY-4.0, modified 2025-08-01

---

Page: https://cve.day/GHSA-rrmm-wq7q-h4v5 · Whole record: https://cve.day/GHSA-rrmm-wq7q-h4v5.json · Rebuilt by cve.day 2026-11-25T22:56:28.889Z
