← Back to CVE Explorer

CVE-2026-123797

Full vulnerability record from the local CVENow database.

Description

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.

Severity
HIGH
CVSS score
7.5 (v3.1)
Vulnerability status
Received
Source identifier
Published
2026-11-09 18:17:26.890000
Last modified
2026-11-09 18:17:26.890000
View original CVE JSON
{
  "id": "CVE-2026-123797",
  "sourceIdentifier": "[email protected]",
  "published": "2026-11-09T18:17:26.890",
  "lastModified": "2026-11-09T18:17:26.890",
  "vulnStatus": "Received",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "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."
    }
  ],
  "affected": [
    {
      "source": "[email protected]",
      "affectedData": [
        {
          "vendor": "supertokens",
          "product": "supertokens-core",
          "versions": [
            {
              "version": "< 11.3.6",
              "status": "affected"
            },
            {
              "version": ">= 11.4.0, < 11.4.6",
              "status": "affected"
            },
            {
              "version": ">= 12.0.6, < 12.0.8",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "[email protected]",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
          "baseScore": 7.5,
          "baseSeverity": "HIGH",
          "attackVector": "NETWORK",
          "attackComplexity": "LOW",
          "privilegesRequired": "NONE",
          "userInteraction": "NONE",
          "scope": "UNCHANGED",
          "confidentialityImpact": "NONE",
          "integrityImpact": "HIGH",
          "availabilityImpact": "NONE"
        },
        "exploitabilityScore": 3.9,
        "impactScore": 3.6
      }
    ]
  },
  "weaknesses": [
    {
      "source": "[email protected]",
      "type": "Primary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-288"
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://github.com/supertokens/supertokens-core/commit/1bad648d7b77aca058cb6bf75373455bacc4e537",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/supertokens/supertokens-core/commit/5811a10190b1d4d8d7a9fe2e17cb49437e6ffa49",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/supertokens/supertokens-core/commit/7ce22db2b6ba95d7666adc51bb9ee60ac7d3d198",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/supertokens/supertokens-core/releases/tag/v11.3.6",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/supertokens/supertokens-core/releases/tag/v11.4.6",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/supertokens/supertokens-core/releases/tag/v12.0.8",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/supertokens/supertokens-core/security/advisories/GHSA-q7mc-f2jm-r4gr",
      "source": "[email protected]"
    }
  ]
}