/

CVE-2026-50870

Severity:

HIGH RISK

(7.5)

Information Disclosure (CWE-200) in Whoogle Config API

CVE-2026-50870

Deferred

Vulnerability type

Category:

Information Disclosure

CWE:

CWE-200

Impact:

Exposure of Sensitive Information

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

An information disclosure flaw in the configuration endpoint of whoogle-search v1.2.3 exposes sensitive data when handling crafted GET requests.

An attacker who can reach this endpoint may obtain configuration details or secrets that should not be publicly accessible, increasing the risk of further compromise.

Affected context

This vulnerability appears in deployments of Ben Busby whoogle-search v1.2.3 where the configuration endpoint is reachable over HTTP(S).

It is most relevant when instances are exposed to untrusted networks, such as the public internet, or when network segmentation does not restrict access to internal management endpoints.

Misconfigured reverse proxies, overly permissive firewall rules, or default deployments that do not lock down administrative or configuration routes can all contribute to the issue being exploitable.

Exploit preconditions

  • Attack surface: The whoogle-search HTTP(S) interface, specifically the configuration endpoint.
  • Required access: Network access to the whoogle instance; no special privileges are implied by the description.
  • Trigger point: A crafted GET request sent to the configuration endpoint, potentially manipulating query parameters or paths.
  • Why exploitation is possible: The endpoint returns configuration or environment data without sufficiently filtering, masking, or enforcing access control, allowing untrusted callers to observe sensitive values.

Why this happens

The underlying issue aligns with CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.

The configuration endpoint likely returns diagnostic or configuration content that was designed for internal or administrative use, but it does so without adequate authentication, authorization, or data minimization.

As a result, information that should remain confidential—such as configuration flags, internal URLs, or secrets stored in environment variables—can be retrieved using simple HTTP GET requests from unauthorized clients.

Potential impact

  • Attackers may retrieve configuration values that reveal internal service URLs, keys, or tokens.
  • Sensitive environment variables or application secrets can be exposed and reused for further attacks.
  • Internal network structure or deployment details may be mapped, aiding lateral movement or targeting.
  • Privacy guarantees of a self-hosted search instance may be weakened if logging or proxy configuration is disclosed.

General mitigation guidance

A robust mitigation strategy focuses on tightening access controls and limiting what the configuration endpoint exposes by default.

Recommended patterns include:

  • Requiring strong authentication and authorization for any configuration or diagnostic endpoints.
  • Implementing data minimization: only return non-sensitive, necessary fields and mask any secret-like values.
  • Separating public APIs from administrative interfaces and placing the latter behind VPNs or restricted management networks.
  • Applying the principle of least privilege to runtime configuration, avoiding embedding long-lived secrets directly in process-visible settings where possible.
  • Providing secure-by-default deployment templates that keep configuration endpoints disabled or restricted unless explicitly enabled.

How teams detect issues like this

Detection typically combines code-centric and operational approaches:

  • Static code review to identify endpoints that expose configuration or environment data without access control checks.
  • Automated scanning for routes returning unusually verbose JSON, YAML, or HTML dumps of internal state.
  • Log analysis to detect suspicious or repeated requests to configuration or diagnostic paths from untrusted sources.
  • Security testing and API fuzzing that exercise management endpoints and verify that sensitive fields are redacted or inaccessible.

Sources

SourceLink
gist.github.comgist.github.com/pyuysig/b15055668de5fa09d08448ce830bba10

Frequently asked

questions

Yes, if the whoogle-search instance is reachable from an attacker-controlled network and the configuration endpoint is exposed, the flaw can typically be exploited remotely with crafted HTTP requests.

The description suggests that only basic network access to the application is required—no prior authentication or local system access is assumed, though actual deployments may differ if operators restrict the endpoint.

Restrict access to the configuration endpoint through authentication, authorization, and network controls, and redesign the endpoint to return only non-sensitive data with all secret-like values redacted or removed.

Treat configuration and diagnostic endpoints as sensitive surfaces, enforce access control by default, apply data minimization to all responses, and incorporate security review and automated tests that explicitly verify no secrets or internal details are exposed over public APIs.

Find out what's already
exploitable in your codebase.