{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "1.5.0"
              },
              {
                "fixed": "1.18.1"
              },
              {
                "fixed": "1.18.0"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "DESCRIPTION"
            ]
          },
          "events": [
            {
              "introduced": "468b25828bf550b5a7913739849badc7be96fbfd"
            },
            {
              "fixed": "7819dd0ca78e27af70e2bbf46221410548dfecb4"
            }
          ],
          "repo": "https://github.com/smp46/pingvin-share-x",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-59q6-jvp6-w282"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-303",
      "CWE-304"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49467.json"
  },
  "details": "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.",
  "id": "CVE-2026-49467",
  "modified": "2026-08-16T03:31:07.803398642Z",
  "published": "2026-08-12T17:02:26.556Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49467.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/smp46/pingvin-share-x/security/advisories/GHSA-59q6-jvp6-w282"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-49467"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "TOTP enrollment hijack: password gate skipped due to unawaited promise"
}