Vulnerabilities in pkg:golang/github.com/clidey/whodb/core
PACKAGECVE-2026-142651 is a HIGH (CVSS 8.6) unauthenticated host file read through vulnerability (CWE-73: External Control of File Name or Path) affecting WhoDB libraries in the Go ecosystem. The issue involves unauthenticated host file read through forged profile trust. Remediation is available by upgrading affected packages to version 0.0.0-20260929145727-cf6828f1a57f.
pkg:golang/github.com/clidey/whodb/core
Vulnerability advisories affecting package pkg:golang/github.com/clidey/whodb/core. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-2mwr-p8j5-rm33 | CVE-2026-142651 | HIGH | WhoDB: Unauthenticated host file read through forged profile trust |
| GHSA-c7w4-9wv8-7x7c | CVE-2025-24787 | HIGH | WhoDB allows parameter injection in DB connection URIs leading to local file inclusion |
| GHSA-9r4c-jwx3-3j76 | CVE-2025-24786 | CRITICAL | WhoDB has a path traversal opening Sqlite3 database |
| GHSA-5pf6-cq2v-23ww | - | HIGH | WhoDB Allows Unbounded Memory Consumption in Authentication Middleware Can Lead to Denial of Service |
CVE-2026-142651 at a Glance
Security Impact
CVSS: 8.6
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N).
How to Fix CVE-2026-142651
To remediate this vulnerability, upgrade all affected WhoDB dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/clidey/whodb/core to 0.0.0-20260929145727-cf6828f1a57f
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/clidey/whodb/core
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-142651, inspect your project dependencies for WhoDB:
inspect dependencies for github.com/clidey/whodb/core
Analyze the terminal output to locate any version of WhoDB in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.0.0-20260929145727-cf6828f1a57f), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-73: External Control of File Name or Path, where the product allows user input to control or influence paths or file names that are used in filesystem operations. In WhoDB, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-142651 Affected WhoDB Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/clidey/whodb/core
|
Go |
≥ 0.0.0-20250216100606-65ab5cd3ca8f
< 0.0.0-20260929145727-cf6828f1a57f
|
0.0.0-20260929145727-cf6828f1a57f
|
References
Frequently Asked Questions
What is CVE-2026-142651?
Which WhoDB versions are affected?
What version fixes CVE-2026-142651?
Is github.com/clidey/whodb/core affected?
What is the CVSS score of CVE-2026-142651?
What CWE is associated with CVE-2026-142651?
How can I check Go dependencies for CVE-2026-142651?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2mwr-p8j5-rm33",
"modified" : "2026-12-03T17:52:26Z",
"published" : "2026-12-03T17:52:26Z",
"aliases" : [ "CVE-2026-142651" ],
"summary" : "WhoDB: Unauthenticated host file read through forged profile trust",
"details" : "## Summary\n\nWhoDB 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`.\n\nAn 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.\n\nThis 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.\n\n## Affected path\n\nThe legacy credential middleware decoded attacker-supplied JSON directly into `Credentials`, including `IsProfile`. Inline credentials skipped server-side profile resolution, so the attacker-supplied trust flag survived.\n\nWhen `IsProfile` was true, the shared GORM connection parser copied otherwise-unrecognized advanced options into the MySQL DSN. This allowed `allowAllFiles=true` to enable unrestricted handling of MySQL `LOCAL INFILE` requests.\n\nThe attack does not require a WhoDB account, an existing session, a CSRF token, or user interaction.\n\n## Maintainer validation\n\nThe maintainers reproduced the complete data path against the vulnerable code:\n\n1. An unauthenticated Bearer credential containing `IsProfile: true` and `allowAllFiles: true` was accepted.\n2. `allowAllFiles` reached the MySQL driver configuration.\n3. A controlled MySQL server requested a chosen local file and received its contents byte-for-byte.\n\nThe issue is confirmed in releases through `0.131.0`. The vulnerable profile-option path first appears in `0.47.0`.\n\n## Impact\n\nThis permits unauthenticated disclosure of files readable by the WhoDB process. Depending on deployment configuration, those files may include application configuration, environment-backed secrets, database credentials, API keys, or other host data.\n\n## Remediation\n\nCommit `06d0670caeffee82bef5b1c9721ae1ccc39cbbcd` fixes the reported route by:\n\n- clearing client-supplied `IsProfile` before any credential processing;\n- restoring profile trust only through server-side saved-profile resolution; and\n- restricting client overrides of stored profiles to supported database selection, preventing connection targets, secrets, TLS paths, and advanced DSN options from being replaced.\n\nFocused authentication and MySQL tests pass on the fixed code.\n\n## Credit\n\nReported by Lee Zhi Yang ([Xeraaaaaaa](https://github.com/Xeraaaaaaa)).",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/clidey/whodb/core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.0.0-20250216100606-65ab5cd3ca8f"
}, {
"fixed" : "0.0.0-20260929145727-cf6828f1a57f"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/clidey/whodb/security/advisories/GHSA-2mwr-p8j5-rm33"
}, {
"type" : "WEB",
"url" : "https://github.com/clidey/whodb/commit/06d0670caeffee82bef5b1c9721ae1ccc39cbbcd"
}, {
"type" : "WEB",
"url" : "https://github.com/clidey/whodb/commit/cf6828f1a57fda2ef7889a9e755cc2dffc4b3516"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/clidey/whodb"
}, {
"type" : "WEB",
"url" : "https://github.com/clidey/whodb/releases/tag/0.134.0"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-73", "CWE-863" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-12-03T17:52:26Z",
"nvd_published_at" : null
}
}