CVE-2026-138056

7.3High

Published Nov 28, 2026 · NVD status: Deferred · AI triage by gemini-3.1-flash-lite

7.3CVSS

High

0CVSS v3.110

Attack vector
Network
Complexity
Low
Privileges
None
User action
None
Impact
Limited impact
Weakness
CWE-320, CWE-321

What an attacker gets

Remote attackers can bypass authentication and forge tokens because the application uses a hard-coded cryptographic key. No user interaction or authentication is required to exploit this.

Root cause

The application uses a hard-coded default value for the JWT_SECRET cryptographic key.

Affected versions

SonicJS up to 3.0.1

CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Fix & remediation

Upgrade to a version later than 3.0.1. Immediately set the JWT_SECRET environment variable to a strong, unique, and random string in your production configuration.

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD 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.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-138056

More fully triaged vulnerabilities you may want to check next.