Read the docs

SonicJS hard-coded cryptographic key in token verification

Priority HIGH 70CWE-320Published · Updated

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

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00362 22nd percentileScored 2026-11-30
Public exploit Yes 1 exploit referenceTagged by the CNA
Fix No fix listed No fixed version in the sources yet

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

VendorProductAffected versionsFixed inStatusSource
SonicJs-OrgSonicJS3.0.0; 3.0.1—No fix listedCNA
  • SonicJS VendorSonicJs-Org Affected 3.0.0; 3.0.1 Fixed in — No fix listed CNA

CPE names CNA · 1

CPEVersionsRoleVendor
cpe:2.3:a:sonicjs:sonicjs:*:*:*:*:*:*:*:*——Sonicjs
  • cpe:2.3:a:sonicjs:sonicjs:*:*:*:*:*:*:*:* Versions — — ·Sonicjs

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

  1. 2026-11-28 Threatist record created from CVE-2026-138056
  2. 2026-11-28 Alias added: GHSA-wrw7-xpcc-fw6v
  3. 2026-11-30 CISA SSVC decision points changed

References

  • TI-2026-83182 Missing authorization in SonicJS content write API CVSS 4.0HIGH 7.1

Sources