All vulnerabilities

Go

CVE-2026-142651

WhoDB: Unauthenticated host file read through forged profile trust

Severity
High 8.6
Published
3 Dec 2026
Last changed
3 Dec 2026
Added to UpHeron
3 Dec 2026
Fixed in
0.0.0-20260929145727-cf6828f1a57f
Weakness
CWE-73Incorrect authorization (CWE-863)
Attack
Over the network · No login needed · No user action needed
Attacker can
Read data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
Also known as
GHSA-2mwr-p8j5-rm33
Sources
OSV.dev and GitHub

Description

WhoDB accepted a client-controlled IsProfile flag from legacy Bearer and Token cookie credentials. Setting this flag to true allowed an unauthenticated requester to pass arbitrary advanced MySQL connection options, including allowAllFiles=true, to go-sql-driver/mysql.

An attacker who can reach WhoDB and operate a MySQL server reachable from the WhoDB host can make the driver answer a LOAD DATA LOCAL INFILE request with a file from the WhoDB host. Files are limited to those readable by the WhoDB process, and their contents are sent to the attacker-controlled MySQL server.

This is a bypass of the trust boundary introduced while remediating CVE-2025-24787 / GHSA-c7w4-9wv8-7x7c. It has a distinct root cause and affected-version range, so it is tracked separately.

The maintainers reproduced the complete data path against the vulnerable code:

From the GitHub Advisory Database, CC BY 4.0. Shortened; the full text is there.

Affected software

SoftwareAffected versions
github.com/clidey/whodb/coreGo · osv:Go:github.com/clidey/whodb/core
  • From 0.0.0-20250216100606-65ab5cd3ca8f before 0.0.0-20260929145727-cf6828f1a57f

About github.com/clidey/whodb/core

This is the only vulnerability in github.com/clidey/whodb/core in our list.

References