CVE-2025-12147 Unauthorized access to fields protected by Field-Level Security (FLS) when those fields are members of an object
Attackers can bypass Field-Level Security to read protected object members in Search Guard FLX, 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
- None listed
What is CVE-2025-12147?
CVE-2025-12147 is a medium-severity vulnerability in floragunn Search Guard FLX, published on 29 Oct 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
In Search Guard FLX versions 3.1.1 and earlier, Field-Level Security (FLS) rules are improperly enforced on object-valued fields.
When an FLS exclusion rule (e.g., ~field) is applied to a field which contains an object as its value, the object is correctly removed from the _source returned by search operations. However, the object members (i.e., child attributes) remain accessible to search queries. This exposure allows adversaries to infer or reconstruct the original contents of the excluded object.
Workaround - If you cannot upgrade immediately and FLS exclusion rules are used for object valued attributes (like ~object), add an additional exclusion rule for the members of the object (like ~object.*).
Which versions are affected by CVE-2025-12147?
How do I fix CVE-2025-12147?
No fix has been published for CVE-2025-12147 yet. Limit exposure of the affected software until one is available.
Is CVE-2025-12147 being exploited?
There is no known exploitation of CVE-2025-12147 in the wild and no public exploit code.
Sources
Also known as GHSA-5pcq-rjhv-m338.