MEDIUM · 7.5
CVE-2026-138056
SonicJs-Org SonicJS auth.ts AuthManager.verifyToken hard-coded key
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.
Details
- Severity
- MEDIUM 7.5
- KEV
- no
- EPSS
- 0.00362 (percentile 0.2228), as of 2026-11-30
- Fix
- unknown
- Published
- First seen
- Updated
CVSS scores
| Version | Score | Severity | Vector | Source |
|---|---|---|---|---|
| 4.0 | 6.9 | medium | 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 | cve.org |
| 3.1 | 7.3 | high | 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 | cve.org |
| 3.0 | 7.3 | high | 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 | cve.org |
| 2.0 | 7.5 | high | AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:C | cve.org |
| 4.0 | 5.5 | medium | 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X | nvd |
| 3.1 | 7.3 | high | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L | nvd |
| 2.0 | 7.5 | high | AV:N/AC:L/Au:N/C:P/I:P/A:P | nvd |
Affected products
| Product | Versions | Fixed in |
|---|---|---|
| sonicjs / sonicjs | =3.0.0, =3.0.1 | |
| sonicjs / sonicjs |
Sources
- osv · license: CC-BY-4.0 · first seen · https://osv.dev/vulnerability/CVE-2026-138056
- cve.org · license: CVE Terms of Use · first seen · https://www.cve.org/CVERecord?id=CVE-2026-138056
- nvd · license: Public domain (NIST NVD) · first seen · https://nvd.nist.gov/vuln/detail/CVE-2026-138056
Timeline
- UPDATED (9 hours ago)affected_added: [map[ecosystem: product:sonicjs vendor:sonicjs]]
- SCORE (9 hours ago)severity: unknown → medium
- NEW (1 day ago)