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

- Severity: Medium 6.9 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 32% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-28T16:00:13.988Z
- Modified: 2026-11-30T16:17:18.760Z
- Weaknesses: CWE-320, CWE-321
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: VulDB

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

(As written by CVE List.)

## Affected

- SonicJs-Org SonicJS: 3.0.0; 3.0.1

## Every score

- VulDB: CVSS:4.0 6.9 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`
- VulDB: 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/E:P/RL:O/RC:C`
- VulDB: CVSS:3.0 7.3 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C`
- VulDB: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:C`

## References

- <https://github.com/SonicJs-Org/sonicjs/issues/1043> (exploit, issue-tracking)
- <https://vuldb.com/vuln/444971> (technical-description, vdb-entry)
- <https://vuldb.com/vuln/444971/cti> (permissions-required, signature)
- <https://vuldb.com/cve/CVE-2026-138056> (third-party-advisory)
- <https://vuldb.com/submit/1069059> (third-party-advisory)
- <https://github.com/SonicJs-Org/sonicjs/issues/1043#issuecomment-6425433099> (issue-tracking)
- <https://github.com/SonicJs-Org/sonicjs/> (product)

## Sources

- CVE List: [CVE-2026-138056](https://www.cve.org/CVERecord?id=CVE-2026-138056), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-138056](https://nvd.nist.gov/vuln/detail/CVE-2026-138056), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-138056 · Whole record: https://cve.day/CVE-2026-138056.json · Rebuilt by cve.day 2026-11-30T16:32:24.853Z
