{"id":"CVE-2026-49467","published":"2026-08-12T17:02:26Z","modified":"2026-08-14T21:52:13Z","title":"TOTP enrollment hijack: password gate skipped due to unawaited promise","vendor":"smp46","product":"pingvin-share-x","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00617,"percentile":0.50504,"provenance":"source"},"cwes":[{"id":"CWE-303","name":"Incorrect Implementation of Authentication Algorithm"},{"id":"CWE-304","name":"Missing Critical Step in Authentication"}],"references":[{"url":"https://github.com/smp46/pingvin-share-x/security/advisories/GHSA-59q6-jvp6-w282","tags":["x_refsource_CONFIRM"]}],"priority":{"score":16.3,"factors":[{"name":"EPSS percentile","points":10.1},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"smp46","affectedVersions":[{"vendor":"smp46","product":"pingvin-share-x","versions":[">= 1.5.0, < 1.18.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-08-14T21:52:03.631125Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-57356","exploited":false,"provenance":"source"}}