cve.bz

CVE-2026-138056 SonicJs-Org SonicJS auth.ts AuthManager.verifyToken hard-coded key

5.5 medium

Medium (5.5) in sonicjs-org sonicjs.

On this page
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.

Severity

CVSS 4.0

5.5 medium
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

CVSS 3.1

7.3 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
CWEs
CWE-320 Key Management Errors
CWE-321 Use of Hard-coded Cryptographic Key
OWASP Top 10
A04:2025 Cryptographic Failures
Published
Modified
Assigned by
VulDB (CNA)
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Ask an AI about this CVE

Show the promptExplain CVE-2026-138056 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-138056?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-138056?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-138056 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
SonicJs-Org SonicJS3.0.0
SonicJs-Org SonicJS3.0.1

History

  1. Score 6.9 → 5.5 medium
  2. The NVD deferred its analysis

Changes since this site first stored the record. The same for every record: /api/public/changes.

References

Check your stackJSON