{"uuid": "e8c069fd-42e9-442b-98e6-8db5c9c5ac57", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2026-107722", "type": "seen", "source": "https://gist.github.com/alon710/15273fb5d12305b113736e384312b6e1", "content": "# CVE-2026-107722: CVE-2026-107722: Algorithm Confusion via Non-Whitespace Prefix Bypass in fast-jwt\n\n&gt; **CVSS Score:** 9.8\n&gt; **Published:** 2026-10-08\n&gt; **Full Report:** https://cvereports.com/reports/CVE-2026-107722\n\n## Summary\nA critical cryptographic vulnerability in fast-jwt versions 6.2.x prior to 6.3.0 allows unauthenticated remote attackers to execute an asymmetric-to-symmetric algorithm confusion attack due to incomplete validation of leading non-whitespace prefixes.\n\n## TL;DR\nIncomplete key sanitization in fast-jwt allows RSA-to-HMAC algorithm confusion, enabling complete authentication bypass.\n\n## Exploit Status: POC\n\n## Technical Details\n\n- **CWE ID**: CWE-347\n- **Attack Vector**: Network (AV:N)\n- **CVSS Score**: 9.8 (Critical)\n- **Impact**: Complete Authentication Bypass\n- **Exploit Status**: Proof-of-Concept (PoC) available in test suite\n- **KEV Status**: Not Listed\n\n## Affected Systems\n\n- fast-jwt Node.js library\n- **fast-jwt**: &gt;= 6.2.0 &lt; 6.3.0 (Fixed in: `6.3.0`)\n\n## Mitigation\n\n- Upgrade fast-jwt to 6.3.0 or higher\n- Configure an explicit algorithm allowlist in verifier options\n\n**Remediation Steps:**\n1. Verify the installed fast-jwt version in package.json\n2. Execute 'npm install fast-jwt@6.3.0' to update the dependency\n3. Audit JWT verifier configurations and enforce explicit algorithm parameters\n\n## References\n\n- [GitHub Security Advisory GHSA-ww5h-9m49-7xx4](https://github.com/nearform/fast-jwt/security/advisories/GHSA-ww5h-9m49-7xx4)\n- [GitHub Pull Request #632](https://github.com/nearform/fast-jwt/pull/632)\n- [Fix Commit d96bbc6](https://github.com/nearform/fast-jwt/commit/d96bbc6c5336055a6dbfa318fdbab01197264cfa)\n\n\n---\n*Generated by [CVEReports](https://cvereports.com/reports/CVE-2026-107722) - Automated Vulnerability Intelligence*", "creation_timestamp": "2026-10-09T12:30:30.000000Z"}