SonicJS hard-coded cryptographic key in token verification
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-321.
Summary
SonicJS by SonicJs-Org up to and including 3.0.1 uses a hard-coded cryptographic key in AuthManager.verifyToken in packages/core/src/middleware/auth.ts, CWE-321. A remote attacker with no privileges and no user interaction can exploit this weakness to compromise token verification. A public proof-of-concept exploit is linked in the references.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| SonicJs-Org | SonicJS | 3.0.0; 3.0.1 | — | No fix listed | CNA |
- SonicJS VendorSonicJs-Org Affected 3.0.0; 3.0.1 Fixed in — No fix listed CNA
Remediation
The sources list no fixed version for SonicJS. The vendor confirmed remediation by adding a bootstrap.ts security check that warns in development and throws an error in production when JWT_SECRET is missing or still the default value.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
Timeline
- 2026-11-28 Threatist record created from CVE-2026-138056
- 2026-11-28 Alias added: GHSA-wrw7-xpcc-fw6v
- 2026-11-30 CISA SSVC decision points changed
References
More SonicJs-Org vulnerabilities
- TI-2026-83182 Missing authorization in SonicJS content write API CVSS 4.0HIGH 7.1
Sources
- CVE-2026-138056 · CVE Program
- CVE-2026-138056 · NVD
- FIRST EPSS
- GHSA-wrw7-xpcc-fw6v · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences