Overview
Wanderer is a self-hosted trail database used to store and share adventure logs. In versions prior to 0.20.0, the download API accepts a JSON body with a url field and forwards it directly to an internal fetch routine, returning the response to the caller. This behavior enables server-side request forgery that can be triggered without authentication.
Technical details
The vulnerability is triggered by sending an unauthenticated POST request to /api/v1/trail/download with a JSON payload containing a malicious url. When the environment variable PUBLIC_PRIVATE_INSTANCE is not set to true, the server calls event.fetch() with the attacker-controlled URL and returns the fetched data, allowing requests to internal services, cloud metadata endpoints, and other network resources.
Impact
An attacker can enumerate internal services, steal sensitive data from internal APIs, or cause denial-of-service conditions on backend components. All deployments of Wanderer that run versions earlier than 0.20.0 with the default configuration are exposed.
Recommended actions
- Patch to version 0.20.0 or later.
- Mitigate by setting PUBLIC_PRIVATE_INSTANCE to true.
- Restrict network access so the application cannot reach internal services such as db:8090 or search:7700.
- Monitor logs for unexpected outbound requests originating from the /api/v1/trail/download endpoint.
Detection
Review web server access logs for POST requests to /api/v1/trail/download and inspect the payloads for url fields. Correlate these with outbound network logs to identify any connections to internal IP ranges, cloud metadata endpoints, or unexpected ports. Alert on responses that contain internal service data or error messages indicating failed internal fetches.
Reference: NVD entry for CVE-2026-71495