TOTP enrollment hijack: password gate skipped due to unawaited promise
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-49467
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 8 Nov 2026, 02:41 UTC · Revision 1
Source evidence
TOTP enrollment hijack: password gate skipped due to unawaited promise
core-osv · Original sourcePublished 12 Aug 2026, 17:02 UTC
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.
osv:CVE-2026-49467
Complete source record
{
"id": "11843ffe72198c0a2468190e69260d1c965efbeb818a0399f186f50fa968e1c4",
"url": "https://osv.dev/vulnerability/CVE-2026-49467",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "TOTP enrollment hijack: password gate skipped due to unawaited promise",
"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.",
"evidence": "osv:CVE-2026-49467",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-49467",
"aliases": [
"CVE-2026-49467",
"GHSA-59q6-jvp6-w282"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/smp46/pingvin-share-x",
"type": "GIT",
"events": [
{
"introduced": "468b25828bf550b5a7913739849badc7be96fbfd"
},
{
"fixed": "7819dd0ca78e27af70e2bbf46221410548dfecb4"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "1.5.0"
},
{
"fixed": "1.18.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
}
]
}
}
],
"versions": [
"v1.18.0",
"v1.17.0",
"v1.16.3",
"v1.16.2",
"v1.16.0",
"v1.15.2",
"v1.15.1",
"v1.15.0",
"v1.14.1",
"v1.13.4",
"v1.13.2",
"v1.13.1",
"v1.11.1",
"v1.11.0",
"v1.10.4",
"v1.10.3",
"v1.10.2",
"v1.10.1",
"v1.10.0",
"v1.9.1",
"v1.9.0",
"v1.8.2",
"v1.8.1",
"v1.8.0",
"v1.7.2",
"v1.7.1",
"v1.7.0",
"v1.6.1",
"v1.6.0",
"v1.5.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-49467.json"
}
}
],
"modified": "2026-10-28T02:30:52.978889316Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49467.json",
"https://github.com/smp46/pingvin-share-x/security/advisories/GHSA-59q6-jvp6-w282",
"https://nvd.nist.gov/vuln/detail/CVE-2026-49467"
],
"provider_metadata": {
"cwe_ids": [
"CWE-303",
"CWE-304"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49467.json"
}
},
"related_cves": [
{
"value": "CVE-2026-49467",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 521883,
"published_at": "2026-08-12T17:02:26.556+00:00"
}