CVE-2026-123797

Source
https://cve.org/CVERecord?id=CVE-2026-123797
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-123797.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-123797
Aliases
  • GHSA-q7mc-f2jm-r4gr
Published
2026-11-09T17:52:54Z
Modified
2026-11-14T07:14:36Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
Summary
SuperTokens Core: Unknown tenant path bypasses API key and public-tenant enforcement
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.

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"
}
References

Affected packages

Git / github.com/supertokens/supertokens-core

Affected ranges

Type
GIT
Repo
https://github.com/supertokens/supertokens-core
Events
Show 3 more events Show fewer events
Database specific
Show details
{
    "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"
        }
    ]
}

Affected versions

v0.*
v0.0.1
v1.*
v1.0.0
v10.*
v10.0.0
v10.0.1
v10.0.2
v10.0.3
v10.1.0
v10.1.3
v10.1.4
v11.*
v11.0.0
v11.0.1
v11.0.2
v11.0.3
v11.0.4
v11.0.5
v11.1.0
v11.1.1
v11.2.0
v11.2.1
v11.3.0
v11.3.1
v11.3.2
v11.3.3
v11.3.4
v11.3.5
v11.4.0
v11.4.4
v12.*
v12.0.6
v12.0.7
v2.*
v2.0.0
v2.1.0
v2.1.1
v2.2.0
v2.2.1
v2.2.2
v2.2.3
v2.3.0
v2.4.0
v2.5.0
v2.5.1
v3.*
v3.0.0
v3.0.1
v3.1.0
v3.10.0
v3.11.0
v3.12.0
v3.12.1
v3.13.0
v3.14.0
v3.15.0
v3.15.1
v3.16.0
v3.16.1
v3.16.2
v3.2.0
v3.3.0
v3.4.0
v3.4.1
v3.5.0
v3.5.1
v3.6.0
v3.7.0
v3.8.0
v3.9.0
v3.9.1
v4.*
v4.0.0
v4.0.1
v4.1.0
v4.1.1
v4.2.0
v4.2.1
v4.3.0
v4.4.0
v4.4.1
v4.4.2
v4.5.0
v4.6.0
v5.*
v5.0.0
v6.*
v6.0.0
v6.0.1
v6.0.10
v6.0.11
v6.0.12
v6.0.13
v6.0.2
v6.0.3
v6.0.4
v6.0.5
v6.0.6
v6.0.7
v6.0.8
v6.0.9
v7.*
v7.0.0
v7.0.1
v7.0.10
v7.0.11
v7.0.12
v7.0.13
v7.0.14
v7.0.15
v7.0.16
v7.0.17
v7.0.18
v7.0.2
v7.0.3
v7.0.4
v7.0.5
v7.0.6
v7.0.7
v7.0.8
v7.0.9
v8.*
v8.0.0
v8.0.1
v9.*
v9.0.0
v9.0.1
v9.0.2
v9.1.0
v9.1.1
v9.1.2
v9.2.0
v9.2.1
v9.2.2
v9.3.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-123797.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "63638826811593326395514129832955554453",
                "86615994862592214497441498490307384921",
                "127886756731455528536061812560279359768",
                "32620173015919246705863819512170287507",
                "231994287399411868281447218321850562142",
                "152038443407564881557247452029147395233",
                "291651181491556932680912666311281340286",
                "157871577591461875777170379065000962817",
                "65117446314801633295400716678253597478",
                "88996198228959460059897273173660136140",
                "75711119392589677784753192398181598281",
                "24782642828127860802345547305486808408"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-123797-4d45ab8a",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/supertokens/supertokens-core/commit/5811a10190b1d4d8d7a9fe2e17cb49437e6ffa49",
        "target":  {
            "file":  "src/main/java/io/supertokens/webserver/WebserverAPI.java"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "296722349737420636599238119955834433037",
            "length":  952
        },
        "id":  "CVE-2026-123797-7ade8f6e",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/supertokens/supertokens-core/commit/5811a10190b1d4d8d7a9fe2e17cb49437e6ffa49",
        "target":  {
            "file":  "src/main/java/io/supertokens/webserver/WebserverAPI.java",
            "function":  "checkIPAccess"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "63638826811593326395514129832955554453",
                "86615994862592214497441498490307384921",
                "127886756731455528536061812560279359768",
                "32620173015919246705863819512170287507",
                "231994287399411868281447218321850562142",
                "152038443407564881557247452029147395233",
                "291651181491556932680912666311281340286",
                "157871577591461875777170379065000962817",
                "65117446314801633295400716678253597478",
                "88996198228959460059897273173660136140",
                "75711119392589677784753192398181598281",
                "24782642828127860802345547305486808408"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-123797-9c047873",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/supertokens/supertokens-core/commit/7ce22db2b6ba95d7666adc51bb9ee60ac7d3d198",
        "target":  {
            "file":  "src/main/java/io/supertokens/webserver/WebserverAPI.java"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "296722349737420636599238119955834433037",
            "length":  952
        },
        "id":  "CVE-2026-123797-a8ba76d9",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/supertokens/supertokens-core/commit/7ce22db2b6ba95d7666adc51bb9ee60ac7d3d198",
        "target":  {
            "file":  "src/main/java/io/supertokens/webserver/WebserverAPI.java",
            "function":  "checkIPAccess"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "289447380506078384492591536832215797483",
            "length":  816
        },
        "id":  "CVE-2026-123797-ab47914f",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/supertokens/supertokens-core/commit/7ce22db2b6ba95d7666adc51bb9ee60ac7d3d198",
        "target":  {
            "file":  "src/main/java/io/supertokens/webserver/WebserverAPI.java",
            "function":  "assertThatAPIKeyCheckPasses"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "289447380506078384492591536832215797483",
            "length":  816
        },
        "id":  "CVE-2026-123797-d2c1ceb5",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/supertokens/supertokens-core/commit/5811a10190b1d4d8d7a9fe2e17cb49437e6ffa49",
        "target":  {
            "file":  "src/main/java/io/supertokens/webserver/WebserverAPI.java",
            "function":  "assertThatAPIKeyCheckPasses"
        }
    }
]
vanir_signatures_modified
"2026-11-14T07:14:36Z"