CVE-2026-49467
published high CVSS 3.1 · 8.8TOTP enrollment hijack: password gate skipped due to unawaited promise
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| smp46 | — | pingvin-share-x>= 1.5.0, < 1.18.1 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| smp46 | pingvin-share-x | >= 1.5.0, < 1.18.1 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-303 CWE-303: Incorrect Implementation of Authentication Algorithm
- CWE-304 CWE-304: Missing Critical Step in Authentication
References
1Provider assertions
2GitHub_M · cna
TOTP enrollment hijack: password gate skipped due to unawaited promise
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1ac23a0cfcd97c2f91e1c656f37b724d6ae1c200b619ef1261ccc83d463bead6
- Ingested
- 23 Sep 2026, 09:17:57 UTC
- Source record
- Official CVE record