# CVE-2026-49467: TOTP enrollment hijack: password gate skipped due to unawaited promise

- Severity: High 8.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.62%, higher than 44% of CVEs (2026-11-30)
- Published: 2026-08-12T17:02:26.556Z
- Modified: 2026-10-24T16:10:00.153Z
- Weaknesses: CWE-303, CWE-304
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: 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.

(As written by CVE List.)

## Affected

- smp46 pingvin-share-x: >= 1.5.0, < 1.18.1

## References

- <https://github.com/smp46/pingvin-share-x/security/advisories/GHSA-59q6-jvp6-w282>

## Sources

- CVE List: [CVE-2026-49467](https://www.cve.org/CVERecord?id=CVE-2026-49467), CVE Terms of Use, modified 2026-08-14
- NVD: [CVE-2026-49467](https://nvd.nist.gov/vuln/detail/CVE-2026-49467), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-49467 · Whole record: https://cve.day/CVE-2026-49467.json · Rebuilt by cve.day 2026-11-25T22:59:32.604Z
