Summary
CVE-2026-87802 is an improper verification of cryptographic signature vulnerability (CWE-347) affecting the Secure Remote Access (SRA) component of Apache Syncope. When SRA is configured to use OAuth 2.0 without a JWKS set URI assigned, a remote unauthenticated attacker can forge arbitrary JSON Web Tokens (JWTs) and impersonate any user identity, gaining full access to services proxied by SRA. The flaw carries a CVSS v3.1 base score of 9.1 (Critical).
Technical details
- Root cause: SRA’s OAuth 2.0 token validation logic does not enforce signature verification when the JWKS (JSON Web Key Set) URI is not explicitly configured, allowing a JWT with an arbitrary or unsigned/self-signed signature to be accepted as valid.
- Trigger conditions: Exploitation requires SRA to be deployed with OAuth 2.0 authentication enabled while the JWKS set URI configuration option has been left unset.
- Attack vector: Network-based, no authentication or user interaction required (AV:N/AC:L/PR:N/UI:N). An attacker crafts a JWT asserting any username, role, or claim and presents it to SRA.
- Impact: Because SRA accepts the forged token, the attacker can impersonate arbitrary users — including administrators — and obtain unauthorized access to any backend service proxied through SRA. This yields high confidentiality and integrity impact; availability is not affected.
Affected software
- Apache Syncope (
org.apache.syncope:syncope-sra), when SRA is configured for OAuth 2.0 without a JWKS set URI:- 3.0.0-M0 through 3.0.16
- 4.0.0-M0 through 4.0.7
- 4.1.0-M0 through 4.1.2
Severity
- CVSS v3.1 Base Score: 9.1 (Critical)
- Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Mitigation and recommended actions
- Immediate: Upgrade Apache Syncope to version 4.0.8 or 4.1.3, both of which fix this issue.
- If immediate patching is not possible: Ensure any SRA deployment using OAuth 2.0 has a valid JWKS set URI explicitly configured so that JWT signatures are properly verified. Deployments without OAuth 2.0 enabled on SRA, or with a correctly configured JWKS URI, are not affected. Restrict network exposure of SRA-proxied services until patched.

