Authentication Bypass in otpauth
Priority LOW 38CWE-287Published · Updated
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-287.
Summary
Versions of `otpauth` prior to 3.2.8 are vulnerable to Authentication Bypass. The package's `totp.validate()` function may return positive values for single digit tokens even if they are invalid. This may allow attackers to bypass the OTP authentication by providing single digit tokens. ## Recommendation Upgrade to version 3.2.8 or later.
Why it matters now
Fix Fixed otpauth (npm): 3.2.8
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | otpauth (npm) | before 3.2.8 | 3.2.8 | Patch available | GHSA-rmmc-8cqj-hfp3 |
- otpauth (npm) Vendor— Affected before 3.2.8 Fixed in 3.2.8 Patch available GHSA-rmmc-8cqj-hfp3
Remediation
- Fix · GHSA-rmmc-8cqj-hfp3 otpauth (npm) Fixed in 3.2.8 Advisory →
Timeline
- 2026-10-03 Threatist record created from GHSA-rmmc-8cqj-hfp3
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences