Validating CVE-2026-120705 remediation without running an exploit

A patch ticket can close when a package manager reports success while the running service still uses an old layer. For CVE-2026-120705, verification needs evidence from the build, runtime, configuration and network boundary. The organization can collect that evidence without sending malicious XML to a production GeoServer.

The official flaw is an unauthenticated XML injection in the WFS 2.0 GetFeatureById stored query. The ID value can alter an XML template, and the parser can resolve XInclude or external entities. The advisory gives fixed GeoServer and GeoTools versions and a service-security mitigation.

Verify the build artifact

Confirm the intended GeoServer release is present in the deployed image or installation directory. Record the build identifier and container digest. Check the running process start time and the artifact that the service manager actually launched.

Review the affected org.geoserver:gs-wfs-core range and the fixed version that matches the release line. For custom applications, check org.geotools:gt-metadata and its transitive dependencies. A GeoServer upgrade that includes a fixed GeoTools package may not fix a separate application that embeds the old library.

Inspect service configuration

Determine whether WFS is enabled and whether anonymous clients can reach it. Review GeoServer service security, the global service settings and any proxy or gateway policy that rewrites or forwards OGC requests.

The vendor mitigation is to restrict or disable WFS for anonymous users through service security. If the business requires public WFS, verify that the fixed release is active and that anonymous layers are intentional. Check alternate hostnames, API gateways and internal load balancers, because configuration can differ by route.

Confirm the dependency resolver

The advisory says the fix uses the GeoServer entity resolver and GeoTools PreventLocalEntityResolver redirect checks. Where the organization has a test suite for GeoServer or an embedded GeoTools service, add a unit test that parses XML containing an external resource under the hardened resolver.

The test should assert that the resource is not fetched and that the parser rejects the unsafe input according to policy. Keep it in an isolated test environment with non-sensitive fixtures. A successful unit test provides repeatable evidence without touching production files or internal services.

Review boundary controls

Verify the effective egress policy for the GeoServer host. Confirm that the service cannot reach cloud metadata addresses, unrelated administrative networks or destinations outside its role. Review proxy allowlists and DNS behavior. A restrictive network policy does not remove the vulnerability, but it limits the consequence of a missed parser path.

Check logging coverage for WFS requests, Illegal property name errors, file access by the service account and outbound connections. Test that the alerts would find a simulated log event without generating a real SSRF request. A detection rule that exists but never receives data has not been validated.

Check historical exposure

The patch verification should include the period before the fix. Search WFS access logs for GetFeatureById requests and unusual ID parameters. Compare the results with endpoint and network telemetry. If anonymous layer publication was enabled, review the possibility that returned content appeared in error responses.

The ZoomEye Search for app="GeoServer" returned 59,018 product matches at 2026-11-28T09:27:26+08:00, and the CVE-specific Filter returned 0. Use those observations to scope public product discovery. Do not treat them as proof that an internal build was patched or vulnerable.

Record the result

Store the release version, dependency versions, service policy, route coverage, egress policy and log review in one asset record. Name the owner and the completion condition. A valid completion statement is specific: the running artifact is on a fixed release, anonymous WFS follows policy, the ingress path is known and the monitoring checks are active.

The legal and operational requirement for a live exploit test will vary. The safer default is to prove the fixed state through version and resolver tests, then use logs and network evidence to determine whether the vulnerable period left signs of exploitation.

References