/

CVE-2026-86806

Severity:

HIGH RISK

(7.3)

Server-Side Request Forgery (CWE-918) in GeoLibre Library

CVE-2026-86806

Deferred

Vulnerability type

Category:

Server-Side Request Forgery

CWE:

CWE-918

Impact:

Unauthorized server-side network requests and potential access to restricted resources

Severity:

HIGH RISK

(7.3)

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

A server-side request forgery vulnerability in GeoLibre can allow a remote attacker to influence requests made by the application through the affected root-checking logic.

The issue becomes risky when attacker-controlled input reaches _is_within_roots and the server can access internal, local, or otherwise restricted network resources.

Affected context

The vulnerability affects GeoLibre deployments using versions up to 2.3.0 where remotely supplied input can reach the _is_within_roots function. Risk depends on how the application uses this check, whether it makes outbound requests based on the result, and what internal or external resources are reachable from the server.

Exploit preconditions

  • Attack surface: A remotely accessible GeoLibre feature or application endpoint that processes attacker-influenced resource locations
  • Required access: Ability to submit or control input consumed by the affected request-handling path
  • Trigger point: Evaluation of attacker-influenced data by _is_within_roots
  • Why exploitation is possible: Insufficient validation of resource locations may allow the server to make requests outside the intended trust boundary

Why this happens

The underlying bug is an inadequate server-side validation of whether a requested resource belongs to an approved root or location. When this decision can be influenced by crafted remote input, the application may be induced to access destinations that were not intended to be reachable by users.

This behavior maps to CWE-918: Server-Side Request Forgery, in which a server uses attacker-controlled or insufficiently constrained input to initiate requests to internal, local, or otherwise restricted resources.

Potential impact

  • The server may make requests to internal network services
  • Sensitive metadata or service responses could be exposed
  • Internal administrative interfaces may be reached
  • Network segmentation controls could be weakened
  • The vulnerable service could be used as a pivot for further attacks

General mitigation guidance

Mitigation generally focuses on enforcing a strict server-side destination policy and reducing trust in client-supplied resource locations.

Common defensive patterns include:

  • Allowing only explicitly approved schemes, hosts, ports, and canonicalized paths
  • Resolving and validating destinations after normalization, including redirect targets
  • Using positive allowlists instead of blocklists for outbound destinations
  • Separating public request handling from sensitive internal network segments
  • Restricting outbound connectivity through network policy or egress controls
  • Running the affected service with only the privileges and network access it requires
  • Applying consistent validation before any outbound request is created

How teams detect issues like this

Organizations commonly detect SSRF risks through:

  • Static analysis rules for outbound requests built from user-controlled input
  • Code review checks for URL parsing, path canonicalization, redirects, and root-boundary validation
  • Tests covering alternative address representations, redirects, local interfaces, and internal network ranges
  • Egress monitoring for unexpected connections to private, loopback, link-local, or cloud-metadata addresses
  • Policy enforcement that limits permitted outbound schemes, destinations, and ports

Automated security review tools can help identify request sinks and missing validation, but findings should be confirmed against the deployment's network architecture.

Sources

SourceLink
github.comgithub.com/opengeos/GeoLibre/
github.comgithub.com/opengeos/GeoLibre/commit/b745f62e29fa37364686525a21eee5e5c0f8a369
github.comgithub.com/opengeos/GeoLibre/issues/1573
github.comgithub.com/opengeos/GeoLibre/pull/1571
github.comgithub.com/opengeos/GeoLibre/releases/tag/v2.4.0
vuldb.comvuldb.com/cve/CVE-2026-86806
vuldb.comvuldb.com/submit/911055
vuldb.comvuldb.com/vuln/399812
vuldb.comvuldb.com/vuln/399812/cti

Frequently asked

questions

Yes, the described attack can be initiated remotely when a publicly reachable application path accepts input that reaches the affected logic.

Not necessarily. Authentication requirements depend on the specific endpoint and deployment configuration; the essential prerequisite is control over input processed by the vulnerable request path.

Enforce strict allowlists for destinations, canonicalize and validate resource locations before use, and prevent redirects or alternate address forms from bypassing those checks.

Combine secure URL and path handling with outbound network restrictions, least-privilege service accounts, targeted SSRF tests, and monitoring for unexpected internal-resource requests.

Find out what's already
exploitable in your codebase.