Vulnerability Description
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.
Related Weaknesses (CWE)
References
- https://docs.search-guard.com/latest/changelog-searchguard-flx-3_1_2
- https://search-guard.com/cve-advisory/
FAQ
What is CVE-2025-12148?
CVE-2025-12148 is a documented vulnerability. 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 d...
How severe is CVE-2025-12148?
CVSS scoring is not yet available for CVE-2025-12148. Check NVD for updates.
Is there a patch for CVE-2025-12148?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.