CVE-2026-142651: WhoDB: Unauthenticated host file read through forged profile trust
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.
References
- github.com/advisories/GHSA-2mwr-p8j5-rm33
- github.com/clidey/whodb/commit/06d0670caeffee82bef5b1c9721ae1ccc39cbbcd
- github.com/clidey/whodb/commit/cf6828f1a57fda2ef7889a9e755cc2dffc4b3516
- github.com/clidey/whodb/releases/tag/0.134.0
- github.com/clidey/whodb/security/advisories/GHSA-2mwr-p8j5-rm33
- nvd.nist.gov/vuln/detail/CVE-2026-142651
Code Behaviors & Features
Detect and mitigate CVE-2026-142651 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →