CVE-2025-12148

MEDIUM CVSS 4.0: 6.0 EPSS 0.28%
Updated Oct 08, 2026
In Search
Parameter Value
CVSS 6.0 (MEDIUM)
Affected Versions 1.0.0 — 3.1.1
Type CWE-732 (Incorrect Permission Assignment), CWE-200 (Information Exposure)
Vendor In Search
Public PoC No

In Search Guard versions 3.1.1 and earlier, Field Masking (FM) rules are improperly enforced on fields of type IP (IP Address). While the content of these fields is properly redacted in the _source document returned by search operations, the results do return documents (hits) when searching based on a specific IP values. This allows to reconstruct the original contents of the field.

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

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
Present
Additional conditions required
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
None
No data modification
Availability
None
No disruption

CVSS Vector v4.0

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Floragunn Search_Guard_Flx
cpe:2.3:a:floragunn:search_guard_flx:*:*:*:*:*:*:*:*
1.0.0 <= 3.1.1