{
  "affected": [
    {
      "ranges": [
        {
          "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"
              }
            ]
          },
          "events": [
            {
              "introduced": "30449b05f9435c117496423e6ee85e7f074054e8"
            },
            {
              "last_affected": "7cb10cdd6a47a3d593118c296ff693e4fec09593"
            }
          ],
          "repo": "https://github.com/sonicjs-org/sonicjs",
          "type": "GIT"
        }
      ],
      "versions": [
        "3.0.0",
        "3.0.1"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulDB",
    "cwe_ids": [
      "CWE-320",
      "CWE-321"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138056.json"
  },
  "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.",
  "id": "CVE-2026-138056",
  "modified": "2026-11-28T17:45:56.462434172Z",
  "published": "2026-11-28T16:00:13.988Z",
  "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"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "SonicJs-Org SonicJS auth.ts AuthManager.verifyToken hard-coded key"
}