{"id":"CVE-2026-35041","revision":"1ab50c9ee11f47aab041ad68ec637225","records":[{"revision":"1ab50c9ee11f47aab041ad68ec637225","observedAt":"2026-10-25T08:17:35.884+00:00","statement":{"source":"nvd","id":"CVE-2026-35041","aliases":[],"title":"fast-jwt provides fast JSON Web Token (JWT) implementation. From 5.0.0 to 6.2.0, a denial-of-service condition exists in fast-jwt when the allowedAud verification option is configured using a regular expression. Because the aud claim is att…","description":"fast-jwt provides fast JSON Web Token (JWT) implementation. From 5.0.0 to 6.2.0, a denial-of-service condition exists in fast-jwt when the allowedAud verification option is configured using a regular expression. Because the aud claim is attacker-controlled and the library evaluates it against the supplied RegExp, a crafted JWT can trigger catastrophic backtracking in the JavaScript regex engine, resulting in significant CPU consumption during verification. This vulnerability is fixed in 6.2.1.","state":0,"publishedAt":"2026-04-09T16:16:27.383+00:00","modifiedAt":"2026-06-17T10:40:00.727+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:N/A:H","score":4.2,"severity":"MEDIUM"},{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"severity":"MEDIUM"}],"references":["https://github.com/nearform/fast-jwt/commit/b0be0ca161593836a153d5180ca5358ad9b5de94","https://github.com/nearform/fast-jwt/pull/595","https://github.com/nearform/fast-jwt/releases/tag/v6.2.1","https://github.com/nearform/fast-jwt/security/advisories/GHSA-cjw9-ghj4-fwxf"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-35041","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Analyzed","weaknesses":["CWE-1333"],"productCriteria":["cpe:2.3:a:nearform:fast-jwt:*:*:*:*:*:node.js:*:*"],"sourceDates":{"published":"2026-04-09T16:16:27.383","lastModified":"2026-06-17T10:40:00.727"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-35041","identifiers":["CVE-2026-35041"]},"retained":false,"historicalAffected":[]}],"coverage":[]}