CVE-2026-142651
WhoDB: Unauthenticated host file read through forged profile trust
- Severity
- 8.6HighNetwork attack, no privileges, no user interactionCVSS 3.1, CVE List
- Exploitation
- None reported
- Exploit chance
- 0.83% in 30 daysPercentile58thEPSS, scored
- Listed fix
0.0.0-20260929145727-cf6828f1a57ffor github.com/ clidey/ whodb/ core From GitHub Advisories and OSV
Overview
WhoDB is an open source database management tool. From 0.47.0 until 0.134.0, legacy Bearer and Token cookie credentials decode attacker-controlled data into Credentials.IsProfile, allowing an unauthenticated requester to forge profile trust and pass allowAllFiles through the shared GORM connection parser to the MySQL driver. An attacker operating a MySQL server reachable from the WhoDB host can use LOAD DATA LOCAL INFILE handling to receive a chosen file readable by the WhoDB process without an account, session, CSRF token, or user interaction. Exposed files may contain configuration, database credentials, API keys, or other host secrets. This issue is fixed in version 0.134.0.
CVSS 3.1 vector
Exploitability
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
Impact
- Scope
- Changed
- Confidentiality
- High
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:NExploit chance over time
Scored once so far, on . The trend appears after a second daily score.
Affected
Packages 1
| Package | Affected | Fixed |
|---|---|---|
github.com/clidey/whodb/coreGo | 0.0.0-20250216100606-65ab5cd3ca8f up to 0.0.0-20260929145727-cf6828f1a57f | 0.0.0-20260929145727-cf6828f1a57f |
Products 1
Exploits
Sources link exploit code, tools that only detect the flaw and other work on it, and most don’t say which a link is.
| Link | Source | Date |
|---|---|---|
| googlesky/CVE-2026-142651 | PoC in GitHub | 2026-12-04 |
Sources
CVE List Score usedCVSS 3.18.6
WhoDB: Unauthenticated host file read through forged profile trust
WhoDB is an open source database management tool. From 0.47.0 until 0.134.0, legacy Bearer and Token cookie credentials decode attacker-controlled data into Credentials.IsProfile, allowing an unauthenticated requester to forge profile trust and pass allowAllFiles through the shared GORM connection parser to the MySQL driver. An attacker operating a MySQL server reachable from the WhoDB host can use LOAD DATA LOCAL INFILE handling to receive a chosen file readable by the WhoDB process without an account, session, CSRF token, or user interaction. Exposed files may contain configuration, database credentials, API keys, or other host secrets. This issue is fixed in version 0.134.0.
- Record
CVE-2026-142651- CVSS 3.1
- 8.6 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N - Weakness
- CWE-73, CWE-863
- Updated
- 2026-12-03
EUVDEUVD-2026-143462CVSS 3.18.6
WhoDB is an open source database management tool. From 0.47.0 until 0.134.0, legacy Bearer and Token cookie credentials decode attacker-controlled data into Credentials.IsProfile, allowing an unauthenticated requester to forge profile trust and pass allowAllFiles through the shared GORM connection parser to the MySQL driver. An attacker operating a MySQL server reachable from the WhoDB host can use LOAD DATA LOCAL INFILE handling to receive a chosen file readable by the WhoDB process without an account, session, CSRF token, or user interaction. Exposed files may contain configuration, database credentials, API keys, or other host secrets. This issue is fixed in version 0.134.0.
- Record
EUVD-2026-143462- CVSS 3.1
- 8.6 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N - Updated
- 2026-12-03
GitHub AdvisoriesGHSA-2mwr-p8j5-rm33CVSS 3.18.6
WhoDB: Unauthenticated host file read through forged profile trust
Summary
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.
Affected path
The 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.
When 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.
The attack does not require a WhoDB account, an existing session, a CSRF token, or user interaction.
Maintainer validation
The maintainers reproduced the complete data path against the vulnerable code:
- An unauthenticated Bearer credential containing
IsProfile: trueandallowAllFiles: truewas accepted. allowAllFilesreached the MySQL driver configuration.- A controlled MySQL server requested a chosen local file and received its contents byte-for-byte.
The issue is confirmed in releases through 0.131.0. The vulnerable profile-option path first appears in 0.47.0.
Impact
This 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.
Remediation
Commit 06d0670caeffee82bef5b1c9721ae1ccc39cbbcd fixes the reported route by:
- clearing client-supplied
IsProfilebefore any credential processing; - restoring profile trust only through server-side saved-profile resolution; and
- restricting client overrides of stored profiles to supported database selection, preventing connection targets, secrets, TLS paths, and advanced DSN options from being replaced.
Focused authentication and MySQL tests pass on the fixed code.
Credit
Reported by Lee Zhi Yang (Xeraaaaaaa).
- Record
GHSA-2mwr-p8j5-rm33- CVSS 3.1
- 8.6 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N - Weakness
- CWE-73, CWE-863
- Updated
- 2026-12-03
NVDCVSS 3.18.6
WhoDB is an open source database management tool. From 0.47.0 until 0.134.0, legacy Bearer and Token cookie credentials decode attacker-controlled data into Credentials.IsProfile, allowing an unauthenticated requester to forge profile trust and pass allowAllFiles through the shared GORM connection parser to the MySQL driver. An attacker operating a MySQL server reachable from the WhoDB host can use LOAD DATA LOCAL INFILE handling to receive a chosen file readable by the WhoDB process without an account, session, CSRF token, or user interaction. Exposed files may contain configuration, database credentials, API keys, or other host secrets. This issue is fixed in version 0.134.0.
- Record
CVE-2026-142651- CVSS 3.1
- 8.6 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N - Weakness
- CWE-73, CWE-863
- Updated
- 2026-12-03
OSVCVSS 3.18.6
WhoDB: Unauthenticated host file read through forged profile trust
WhoDB is an open source database management tool. From 0.47.0 until 0.134.0, legacy Bearer and Token cookie credentials decode attacker-controlled data into Credentials.IsProfile, allowing an unauthenticated requester to forge profile trust and pass allowAllFiles through the shared GORM connection parser to the MySQL driver. An attacker operating a MySQL server reachable from the WhoDB host can use LOAD DATA LOCAL INFILE handling to receive a chosen file readable by the WhoDB process without an account, session, CSRF token, or user interaction. Exposed files may contain configuration, database credentials, API keys, or other host secrets. This issue is fixed in version 0.134.0.
- Record
CVE-2026-142651- CVSS 3.1
- 8.6 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N - Weakness
- CWE-73, CWE-863
- Updated
- 2026-12-04
OSVGHSA-2mwr-p8j5-rm33CVSS 3.18.6
WhoDB: Unauthenticated host file read through forged profile trust
Summary
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.
Affected path
The 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.
When 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.
The attack does not require a WhoDB account, an existing session, a CSRF token, or user interaction.
Maintainer validation
The maintainers reproduced the complete data path against the vulnerable code:
- An unauthenticated Bearer credential containing
IsProfile: trueandallowAllFiles: truewas accepted. allowAllFilesreached the MySQL driver configuration.- A controlled MySQL server requested a chosen local file and received its contents byte-for-byte.
The issue is confirmed in releases through 0.131.0. The vulnerable profile-option path first appears in 0.47.0.
Impact
This 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.
Remediation
Commit 06d0670caeffee82bef5b1c9721ae1ccc39cbbcd fixes the reported route by:
- clearing client-supplied
IsProfilebefore any credential processing; - restoring profile trust only through server-side saved-profile resolution; and
- restricting client overrides of stored profiles to supported database selection, preventing connection targets, secrets, TLS paths, and advanced DSN options from being replaced.
Focused authentication and MySQL tests pass on the fixed code.
Credit
Reported by Lee Zhi Yang (Xeraaaaaaa).
- Record
GHSA-2mwr-p8j5-rm33- CVSS 3.1
- 8.6 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N - Weakness
- CWE-73, CWE-863
- Updated
- 2026-12-03
History
Recorded by Every CVE
| Day | Changed | Sources |
|---|---|---|
| Exploit links, key facts | CVE List, NVD, PoC in GitHub | |
| Published date | EUVD | |
| Published date | EUVD | |
| Affected packages, references | OSV | |
| Affected packages, other IDs, key facts, references | GitHub Advisories | |
| Other IDs, published date | EUVD, NVD | |
| First indexed | CVE List |
Upstream dates may differ.
References
github.com/clidey/whodb/security/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/advisories/GHSA-2mwr-p8j5-rm33
github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142651.json
nvd.nist.gov/vuln/detail/CVE-2026-142651
github.com/clidey/whodb