{"id":"CVE-2026-138056","summary":"SonicJs-Org SonicJS auth.ts AuthManager.verifyToken hard-coded key","details":"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\r . 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.","modified":"2026-11-28T18:00:10.200136503Z","published":"2026-11-28T16:00:13.988Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138056.json","cna_assigner":"VulDB","cwe_ids":["CWE-320","CWE-321"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138056.json"},{"type":"WEB","url":"https://github.com/SonicJs-Org/sonicjs/"},{"type":"REPORT","url":"https://github.com/SonicJs-Org/sonicjs/issues/1043"},{"type":"REPORT","url":"https://github.com/SonicJs-Org/sonicjs/issues/1043#issuecomment-6425433099"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138056"},{"type":"ADVISORY","url":"https://vuldb.com/cve/CVE-2026-138056"},{"type":"ADVISORY","url":"https://vuldb.com/submit/1069059"},{"type":"ADVISORY","url":"https://vuldb.com/vuln/444971"},{"type":"REPORT","url":"https://vuldb.com/vuln/444971/cti"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/sonicjs-org/sonicjs","events":[{"introduced":"30449b05f9435c117496423e6ee85e7f074054e8"},{"last_affected":"7cb10cdd6a47a3d593118c296ff693e4fec09593"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"3.0.0"},{"last_affected":"3.0.0"}],"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion"},{"range":[{"introduced":"3.0.1"},{"last_affected":"3.0.1"}],"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion"}]}}],"versions":["3.0.0","3.0.1","v3.0.1","v3.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138056.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}