CVE-2026-138056 | SonicJs-Org SonicJS up to 3.0.1 auth.ts AuthManager.verifyToken hard-coded key (Issue 1043)
A vulnerability categorized as critical has been discovered 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
.
This vulnerability is registered as CVE-2026-138056. It is possible to launch the attack remotely. Furthermore, an exploit is available.
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.