{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "11.3.6"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "introduced": "11.4.0"
                  },
                  {
                    "fixed": "11.4.6"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "introduced": "12.0.6"
                  },
                  {
                    "fixed": "12.0.8"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "fixed": "1bad648d7b77aca058cb6bf75373455bacc4e537"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "5811a10190b1d4d8d7a9fe2e17cb49437e6ffa49"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "7ce22db2b6ba95d7666adc51bb9ee60ac7d3d198"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v11.3.6",
                "range": [
                  {
                    "fixed": "af37bc5a35b8489c0c6e3a395fb0584f63713044"
                  }
                ],
                "source": "REFERENCES_TAG"
              },
              {
                "original_tag": "v11.4.6",
                "range": [
                  {
                    "fixed": "98ee9a8a1f5561d6f7205ce2de9d4668048c5727"
                  }
                ],
                "source": "REFERENCES_TAG"
              },
              {
                "original_tag": "v12.0.8",
                "range": [
                  {
                    "fixed": "f5f6c902c19e03ff070b3517f6634def201edb9b"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "af37bc5a35b8489c0c6e3a395fb0584f63713044"
            },
            {
              "introduced": "2b65d24196c2218e2d44f2b709695050d8097f52"
            },
            {
              "fixed": "98ee9a8a1f5561d6f7205ce2de9d4668048c5727"
            },
            {
              "introduced": "0f7bd544513290cb54150224f0bfdeb5d98cf7e1"
            },
            {
              "fixed": "f5f6c902c19e03ff070b3517f6634def201edb9b"
            },
            {
              "fixed": "1bad648d7b77aca058cb6bf75373455bacc4e537"
            },
            {
              "fixed": "5811a10190b1d4d8d7a9fe2e17cb49437e6ffa49"
            },
            {
              "fixed": "7ce22db2b6ba95d7666adc51bb9ee60ac7d3d198"
            }
          ],
          "repo": "https://github.com/supertokens/supertokens-core",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-q7mc-f2jm-r4gr"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-288"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/123xxx/CVE-2026-123797.json"
  },
  "details": "SuperTokens Core is an open source authentication server. Prior to 11.3.6, 11.4.6, and 12.0.8, app-specific management requests using an unknown tenant path and an older supported cdi-version can bypass API-key and public-tenant enforcement. In src/main/java/io/supertokens/webserver/WebserverAPI.java, checkIPAccess and assertThatAPIKeyCheckPasses suppress TenantOrAppNotFoundException, while the later app-specific handler resolves app/public storage and the public-tenant guard applies only to CDI versions 5.0 and later. An unauthenticated caller able to reach the Core endpoint can therefore use PUT /ghosttenant/recipe/role and GET /ghosttenant/recipe/roles to create and enumerate application roles without a valid API key. This issue is fixed in versions 11.3.6, 11.4.6, and 12.0.8.",
  "id": "CVE-2026-123797",
  "modified": "2026-11-14T02:30:58.883890140Z",
  "published": "2026-11-09T17:52:54.576Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/supertokens/supertokens-core/releases/tag/v11.3.6"
    },
    {
      "type": "WEB",
      "url": "https://github.com/supertokens/supertokens-core/releases/tag/v11.4.6"
    },
    {
      "type": "WEB",
      "url": "https://github.com/supertokens/supertokens-core/releases/tag/v12.0.8"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/123xxx/CVE-2026-123797.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/supertokens/supertokens-core/security/advisories/GHSA-q7mc-f2jm-r4gr"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-123797"
    },
    {
      "type": "FIX",
      "url": "https://github.com/supertokens/supertokens-core/commit/1bad648d7b77aca058cb6bf75373455bacc4e537"
    },
    {
      "type": "FIX",
      "url": "https://github.com/supertokens/supertokens-core/commit/5811a10190b1d4d8d7a9fe2e17cb49437e6ffa49"
    },
    {
      "type": "FIX",
      "url": "https://github.com/supertokens/supertokens-core/commit/7ce22db2b6ba95d7666adc51bb9ee60ac7d3d198"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "SuperTokens Core: Unknown tenant path bypasses API key and public-tenant enforcement"
}