/

CVE-2026-46487

Severity:

HIGH RISK

(7.5)

Missing Authorization Checks (CWE-862) in GeoNetwork Search

CVE-2026-46487

Received

Vulnerability type

Category:

Missing Authorization Checks

CWE:

CWE-862

Impact:

Unauthorized disclosure of metadata records

Severity:

HIGH RISK

(7.5)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

GeoNetwork's Elasticsearch-backed search proxy may omit access-control filters when a client request leaves out the query field. An unauthenticated attacker using the public search API could then retrieve indexed metadata that is not intended to be publicly visible.

Affected context

The issue affects GeoNetwork deployments using the Elasticsearch-backed search proxy in the affected release ranges. When a search request omits its query field, the proxy can forward it without applying group visibility, draft exclusion, record ownership, or portal-specific filters.

Exploit preconditions

  • Attack surface: GeoNetwork's public search API
  • Required access: No authentication is required if the API is publicly reachable
  • Trigger point: A search request with an omitted query field
  • Why exploitation is possible: The proxy can skip injecting access-control filters before forwarding the request to Elasticsearch

Why this happens

The search proxy does not reliably apply authorization filters when the query field is absent. This is a missing authorization check, mapped to CWE-862, because access to indexed records is not consistently restricted according to visibility, ownership, draft status, and portal policy.

Potential impact

  • An attacker could retrieve metadata records that should not be publicly visible.
  • Private or draft records may be exposed through the public search API.
  • Record ownership and group visibility boundaries may be bypassed.
  • The confidentiality of indexed catalog contents may be reduced.

General mitigation guidance

Defensive approaches focus on enforcing authorization independently of optional client-supplied query fields.

  • Apply access-control filters on every search path, including requests with missing or empty query fields.
  • Use secure-by-default behavior that denies or safely constrains requests when required query data is absent.
  • Derive visibility and ownership constraints from trusted server-side identity and policy data rather than client input.
  • Restrict access to Elasticsearch so clients cannot bypass the application's authorization layer.
  • Apply least-privilege access to search services and index credentials.

How teams detect issues like this

  • Review search-proxy code paths for conditional filter injection tied to optional request fields.
  • Use static analysis and code review checks to identify search requests that reach Elasticsearch without authorization constraints.
  • Test requests with omitted, empty, and malformed query fields against records with different visibility and ownership settings.
  • Enforce API policies requiring server-side authorization checks for every search request, regardless of query shape.

Sources

SourceLink
github.comgithub.com/geonetwork/core-geonetwork/commit/1916412d38999f2eff68bad2dfccd69340d20f3f
github.comgithub.com/geonetwork/core-geonetwork/commit/6c756c63cd1fa942f3832d99c64380c69c5e8be9
github.comgithub.com/geonetwork/core-geonetwork/releases/tag/4.2.16
github.comgithub.com/geonetwork/core-geonetwork/releases/tag/4.4.11
github.comgithub.com/geonetwork/core-geonetwork/security/advisories/GHSA-582q-v28r-7cxr

Frequently asked

questions

Yes, an unauthenticated attacker may be able to exploit it remotely through the public search API when the affected request condition is met.

The described attack does not require authentication if the public search API is reachable.

Ensure the server applies authorization filters to every search request, including requests with an omitted query field, and fail safely when required inputs are absent.

Test authorization across optional and unusual request shapes, keep policy decisions server-side, and enforce review or automated checks that prevent unfiltered queries from reaching the search backend.

Find out what's already
exploitable in your codebase.