{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0.19.0"
              },
              {
                "fixed": "1.22.0"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "e89e31371269301c9e4a239bcbbde3e79969641a"
            },
            {
              "fixed": "04a1806f1da68c6d1109bf81f7bd2b1cf74709a4"
            }
          ],
          "repo": "https://github.com/smp46/pingvin-share-x",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-wrcg-4874-45p7"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-287"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/108xxx/CVE-2026-108157.json"
  },
  "details": "Pingvin Share X from 0.19.0 before 1.22.0 contains an improper authentication vulnerability that allows remote unauthenticated attackers to take over accounts by abusing automatic OAuth email linking in OAuthService.signUp(). Attackers can register a victim's unverified email on an enabled OAuth/OIDC provider, exploiting the missing email_verified check in GenericOidcProvider, to sign in as the victim including administrators while bypassing TOTP.",
  "id": "CVE-2026-108157",
  "modified": "2026-10-10T02:30:32.439810934Z",
  "published": "2026-10-09T16:04:41.138Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/108xxx/CVE-2026-108157.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/smp46/pingvin-share-x"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/smp46/pingvin-share-x/blob/de7ffecf9bfc4976993149a5c4c98efe35161424/backend/src/oauth/oauth.service.ts#L158-L175"
    },
    {
      "type": "FIX",
      "url": "https://github.com/smp46/pingvin-share-x/commit/07aa8c0a96030c439e9018ce94a2778bd37304e6"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/smp46/pingvin-share-x/releases/tag/v1.22.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/smp46/pingvin-share-x/security/advisories/GHSA-wrcg-4874-45p7"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-108157"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/pingvin-share-x-0.19.0-before-1.22.0-account-takeover-via-oauth-email-linking"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Pingvin Share X 0.19.0 before 1.22.0 Account Takeover via OAuth Email Linking"
}