Every CVESearch/Get API key

GHSA-2rjv-cv85-xhgm

OpenSearch unauthorized data access on fields protected by field level security if field is a member of an object

5.7 MediumFix available

GHSA-2rjv-cv85-xhgm is a medium vulnerability (CVSS 5.7) in org.opensearch.plugin:opensearch-security, published August 1, 2025. No source lists public exploit code. Fixed in org.opensearch.plugin:opensearch-security 2.19.3.0.

Severity
5.7 MediumCVSS 3.1, GitHub Advisories
Exploit chance
UnscoredNo EPSS score yet
Exploitation
None knownNot on CISA’s or ENISA’s lists

Description

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.*).

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
Low
User interaction
Required

What an attacker can affect

Confidentiality
High
Integrity
None
Availability
None

Affected packages

Affected packages
PackageAffectedFixed
org.opensearch.plugin:opensearch-security
Maven
before 2.19.3.0
2.19.3.0
org.opensearch.plugin:opensearch-security
Maven
before 2.19.3.0, plus listed versions
2.1.0.02.10.0.02.11.0.02.11.1.02.12.0.0
Show 20 moreShow less
2.13.0.02.14.0.02.15.0.02.16.0.02.17.0.02.17.1.02.18.0.02.19.0.02.19.1.02.19.2.02.2.0.02.2.1.02.3.0.02.4.0.02.4.1.02.5.0.02.6.0.02.7.0.02.8.0.02.9.0.0
2.19.3.0

What each source reports

GitHub Advisories Score used5.7

OpenSearch unauthorized data access on fields protected by field level security if field is a member of an object

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.*).

Record
GHSA-2rjv-cv85-xhgm
CVSS 3.1
5.7 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N
Weakness
CWE-200
Updated
2026-11-02
OSV5.7

OpenSearch unauthorized data access on fields protected by field level security if field is a member of an object

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.*).

Record
GHSA-2rjv-cv85-xhgm
CVSS 3.1
5.7 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N
Weakness
CWE-200
Updated
2026-11-02

History

History
RecordedChangedSources
first indexedGitHub Advisories, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

References

MoveEnter Open