CVE-2026-138056
published medium CVSS 4.0 · 6.9SonicJs-Org SonicJS auth.ts AuthManager.verifyToken hard-coded key
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SonicJs-Org | — | SonicJS3.0.0 · 3.0.1 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.3 | high | VulDB · cna | 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 | — |
| 3.0 | 7.3 | high | VulDB · cna | 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 | — |
| 2.0 | 7.5 | high | VulDB · cna | AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:C | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| SonicJs-Org | SonicJS | 3.0.0 (affected)3.0.1 (affected) | VulDB · cna |
Weaknesses
2- CWE-321 Use of Hard-coded Cryptographic Key
- CWE-320 Key Management Error
References
7- https://github.com/SonicJs-Org/sonicjs/
- https://github.com/SonicJs-Org/sonicjs/issues/1043
- https://github.com/SonicJs-Org/sonicjs/issues/1043#issuecomment-6425433099
- CVE-2026-138056 | CVE Analysis and Report https://vuldb.com/cve/CVE-2026-138056
- Submit #1069059 | SonicJs-Org sonicjs dc5b6787a4bd5a295caaf7a16053cc45af37be4d (main HEAD 2026-10-28), constant identical at 3.0.0 Use of Hard-coded Cryptographic Key https://vuldb.com/submit/1069059
- VDB-444971 | SonicJs-Org SonicJS auth.ts AuthManager.verifyToken hard-coded key https://vuldb.com/vuln/444971
- VDB-444971 | CTI Indicators (IOB, IOC, TTP, IOA) https://vuldb.com/vuln/444971/cti
Provider assertions
2VulDB · cna
SonicJs-Org SonicJS auth.ts AuthManager.verifyToken hard-coded key
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8ab889788560dc15290162d3446564ea63842bacf61f71026d6b2884a339bb23
- Ingested
- 30 Nov 2026, 18:37:20 UTC
- Source record
- Official CVE record