CVE-2026-49467: CWE-303: Incorrect Implementation of Authentication Algorithm in smp46 pingvin-share-x
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.
AI Analysis
Technical Summary
The vulnerability in Pingvin Share X arises from missing await keywords on asynchronous calls to verifyPassword and authenticateUser methods in the authentication services. Because JavaScript treats unawaited Promises as truthy, the intended password verification logic that throws a ForbiddenException on incorrect passwords never executes. This flaw allows attackers to bypass password verification when managing Time-based One-Time Password (TOTP) settings. The vulnerability affects versions 1.5.0 through 1.18.0 and is resolved in version 1.18.1 by ensuring all asynchronous authentication calls are properly awaited.
Potential Impact
An attacker with at least limited privileges can bypass password verification when managing TOTP settings, potentially allowing unauthorized changes to multi-factor authentication configurations. This can lead to full compromise of user accounts, impacting confidentiality, integrity, and availability of the affected system. The CVSS 3.1 score of 8.8 reflects high severity with network attack vector, low attack complexity, and no user interaction required.
Mitigation Recommendations
A fix is available in Pingvin Share X version 1.18.1, which properly awaits all asynchronous authentication calls to enforce password verification. Users should upgrade to version 1.18.1 or later. There are no official workarounds. If a user is locked out due to this issue, an administrator must manually reset the user's TOTP status in the database.
CVE-2026-49467: CWE-303: Incorrect Implementation of Authentication Algorithm in smp46 pingvin-share-x
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.
CVSS v3.1
Score 8.8high
Affected software
smp46
pingvin-share-x
pkg:github/smp46/pingvin-share-xRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in Pingvin Share X arises from missing await keywords on asynchronous calls to verifyPassword and authenticateUser methods in the authentication services. Because JavaScript treats unawaited Promises as truthy, the intended password verification logic that throws a ForbiddenException on incorrect passwords never executes. This flaw allows attackers to bypass password verification when managing Time-based One-Time Password (TOTP) settings. The vulnerability affects versions 1.5.0 through 1.18.0 and is resolved in version 1.18.1 by ensuring all asynchronous authentication calls are properly awaited.
Potential Impact
An attacker with at least limited privileges can bypass password verification when managing TOTP settings, potentially allowing unauthorized changes to multi-factor authentication configurations. This can lead to full compromise of user accounts, impacting confidentiality, integrity, and availability of the affected system. The CVSS 3.1 score of 8.8 reflects high severity with network attack vector, low attack complexity, and no user interaction required.
Mitigation Recommendations
A fix is available in Pingvin Share X version 1.18.1, which properly awaits all asynchronous authentication calls to enforce password verification. Users should upgrade to version 1.18.1 or later. There are no official workarounds. If a user is locked out due to this issue, an administrator must manually reset the user's TOTP status in the database.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-30T04:17:43.094Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a7cacd1bf8831d539e4d272
Added to database: 08/12/2026, 17:26:41 UTC
Last enriched: 08/12/2026, 17:41:09 UTC
Last updated: 09/26/2026, 13:47:46 UTC
Views: 74
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.