CVE-2026-138056
6.9medium
SonicJs-Org SonicJS auth.ts AuthManager.verifyToken hard-coded key
- Severity
- 6.9medium CVSS:4.0 by VulDB
- Exploit likelihood
- 0.36% (higher than 32% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulDB
Description
A vulnerability was determined in SonicJs-Org SonicJS up to 3.0.1. This impacts the function AuthManager.verifyToken of the file packages/core/src/middleware/auth.ts. Executing a manipulation can lead to use of hard-coded cryptographic key . It is possible to launch the attack remotely. The exploit has been publicly disclosed and may be utilized. A patch should be applied to remediate this issue. Vendor confirmed remediation by adding a bootstrap.ts security check that logs a warning in development and throws a hard error in production when JWT_SECRET is missing or still the default value.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| SonicJs-Org SonicJS | 3.0.0, 3.0.1 | CVE List |
All scores
| VulDB | 6.9medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P |
| VulDB | 7.3high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C |
| VulDB | 7.3high CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C |
| VulDB | 7.5high CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:C |
Classification
References
| https://vuldb.com/vuln/444971 | technical-description, vdb-entry | |
| https://vuldb.com/vuln/444971/cti | permissions-required, signature | |
| https://vuldb.com/cve/CVE-2026-138056 | third-party-advisory | |
| https://vuldb.com/submit/1069059 | third-party-advisory | |
| https://github.com/SonicJs-Org/sonicjs/issues/1043 | exploit, issue-tracking | |
| https://github.com/SonicJs-Org/sonicjs/issues/1043#issuecomment-6425433099 | issue-tracking | |
| https://github.com/SonicJs-Org/sonicjs/ | product | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-138056 changed 2026-11-30 | CVE Terms of Use |
| NVD | CVE-2026-138056 changed 2026-11-30 | Public domain |