TOTP enrollment hijack: password gate skipped due to unawaited promise
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA.
Summary
Pingvin Share X is a secure and easy self-hosted file sharing platform. A vulnerability in versions 1.5.0 through 1.18.0 allow an attacker to bypass password verification when managing Time-based One-Time Password (TOTP) settings. The root cause is a missing `await` keyword on calls to the asynchronous `verifyPassword` method in `authTotp.service.ts` and the `authenticateUser` method in `auth.service.ts`. In JavaScript, an unawaited `Promise` is always truthy. So the logic intended to throw a `ForbiddenException` when a password is incorrect. It never executes because the expression evaluates the existence of the `Promise` object rather than its resolved boolean result. The vulnerability is fixed in version 1.18.1 by ensuring all asynchronous authentication calls are properly awaited. There are no official workarounds. If a user is locked out, an administrator must manually reset the user's TOTP status in the database.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA pingvin-share-x (smp46) Fixed in 1.18.1
Timeline
- 2026-10-02 Threatist record created from CVE-2026-49467
More smp46 vulnerabilities
- TI-2026-70100 Account takeover in Pingvin Share X via OAuth email linking CVSS 4.0CRITICAL 9.2
- TI-2026-32175 Pingvin Share X: TOTP Authentication Bypass via Password-only Login CVSS 3.1CRITICAL 9.1
- TI-2026-70530 Rate limit bypass in Pingvin Share X via spoofed X-Forwarded-For CVSS 4.0MEDIUM 6.9
- TI-2026-70531 Ineffective authentication rate limiting in Pingvin Share X CVSS 4.0MEDIUM 6.9
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences