Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2025-46647 Overview
CVE-2025-46647 is an authentication bypass vulnerability in the openid-connect plugin of Apache APISIX. The flaw allows an attacker with a valid account on one OpenID Connect (OIDC) issuer to authenticate as a user on a different issuer when specific preconditions are met. The vulnerability affects all Apache APISIX versions prior to 3.12.0 and is tracked under [CWE-302: Authentication Bypass by Assumed-Immutable Data].
Critical Impact
An attacker holding valid credentials on one OIDC issuer can log in as a user on a different issuer when multiple issuers share the same signing key and the openid-connect plugin runs in introspection mode.
Affected Products
- Apache APISIX versions up to and including 3.11.x
- Apache APISIX deployments using the openid-connect plugin in introspection mode
- Multi-tenant APISIX gateways fronting auth services that serve multiple issuers with a shared private key
Discovery Timeline
- 2025-07-02 - CVE CVE-2025-46647 published to NVD
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-46647
Vulnerability Analysis
The openid-connect plugin in Apache APISIX validates OIDC tokens using introspection against an upstream authorization server. When the plugin processes a token, it treats the issuer (iss) claim as the distinguishing factor for separating identities across tenants. The validation path assumes that token signing material and introspection responses uniquely bind a token to its issuer. This assumption breaks when multiple issuers share the same private key and the plugin fails to re-verify that the introspected token actually originated from the expected issuer.
Exploitation requires three preconditions to align: the plugin must run in introspection mode, the backing auth service must serve multiple issuers, and those issuers must share a signing key with only the iss claim distinguishing them. When these conditions hold, an attacker with a legitimate account on issuer A can present their token to an APISIX route protected by issuer B and gain access.
The impact is limited to confidentiality: an attacker reads data accessible to the impersonated identity but cannot modify tokens or disrupt availability through this flaw alone.
Root Cause
The root cause is insufficient binding between the issuer identity and the token verification result in the introspection flow. The plugin accepts the issuer claim as authoritative without enforcing that the introspection response or key material belongs exclusively to that issuer. This matches the [CWE-302] pattern of authenticating based on assumed-immutable data.
Attack Vector
The attack vector is network-based and requires low privileges, namely a valid account on at least one issuer served by the shared auth backend. The attacker crafts an authentication request to an APISIX route configured for a different issuer and submits their valid token. Because the shared key validates the signature and the introspection endpoint returns an active token response, APISIX authorizes the request as if it originated from the target issuer. No user interaction is required, and attack complexity is high because the vulnerability only manifests in misconfigured multi-tenant deployments.
No public proof-of-concept exploit is listed for this CVE. Technical specifics are documented in the Apache APISIX security advisory thread and the OpenWall oss-security announcement.
Detect Identity Attacks the Moment Authentication Fails
Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.
Stop Identity AttacksDetection Methods for CVE-2025-46647
Indicators of Compromise
- APISIX access logs showing successful authentication events where the token's original issuer differs from the issuer configured on the matched route
- Introspection responses in auth-service logs returning active: true for tokens being presented to routes bound to a different tenant
- Unexpected cross-tenant access patterns from user accounts that historically authenticated to only one issuer
Detection Strategies
- Audit all APISIX route configurations that enable the openid-connect plugin and record whether bearer_only with introspection is in use
- Inventory connected OIDC issuers and verify whether any share signing keys, which is the configuration state required for exploitation
- Correlate issuer claims in gateway logs with the issuer configured on the route to flag mismatches
Monitoring Recommendations
- Enable detailed logging on the openid-connect plugin and forward logs to a SIEM for issuer-mismatch queries
- Alert on introspection responses where the iss claim does not match the APISIX route's expected issuer
- Review authentication telemetry for the same user token being used across multiple tenants within short time windows
How to Mitigate CVE-2025-46647
Immediate Actions Required
- Upgrade Apache APISIX to version 3.12.0 or later, where the issuer binding is enforced during introspection
- Rotate signing keys so that each OIDC issuer uses a unique private key, eliminating the shared-key precondition
- Review and tighten openid-connect plugin configurations on multi-tenant gateways and remove any unnecessary issuer trust
Patch Information
The Apache APISIX project released version 3.12.0 to address this issue. Users running any release up to and including 3.11.x should upgrade. Refer to the Apache mailing list advisory for release notes and verification steps.
Workarounds
- Reconfigure the backing auth service so each issuer uses a distinct signing key, which removes the exploitation precondition without a code change
- Switch the openid-connect plugin from introspection mode to local JWT verification where feasible, and strictly validate the iss claim at the route level
- Deploy separate APISIX instances or isolated routes per tenant to prevent token cross-use across issuers
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

