CVE-2026-42782

Apache Syncope: Post-auth RCE via Groovy static

Published May 25, 2026 CVSS 3.1 · 7.2 High EPSS < 1% KEV · Not listed
Description
Improper Isolation or Compartmentalization vulnerability in Apache Syncope.

An administrator with adequate entitlements for Implementations can create a malicious Groovy class containing untrusted code reaching a non-sandboxed execution path via the class static initializer.

This issue affects Apache Syncope: 3.0 through 3.0.16, 4.0 through 4.0.5, 4.1.0.



Users are recommended to upgrade to version 4.0.6 / 4.1.1, which fix this issue by forcing even the static initializer in Groovy code to run in a sandbox.

Analysis

AI-generated

Technical impact

Based on the description, it is inferred that the attacker must have sufficient entitlements as an administrator to create the malicious Groovy class. An administrator with sufficient entitlements in Apache Syncope can create a malicious Groovy class whose static initializer contains untrusted code. Because the static initializer runs without a sandbox, the code can execute arbitrary instructions on the system, giving the attacker full server control. The weakness is classified as Improper Isolation or Compartmentalization.

Affected Systems

Apache Syncope versions 3.0 through 3.0.16, 4.0 through 4.0.5, and 4.1.0 are affected. The issue is fixed in the subsequent releases 4.0.6 and 4.1.1, which enforce sandboxed execution for all Groovy code, including static initializers.

Risk and Exploitability

Based on the description, it is inferred that the attack vector requires an authenticated user with implementation privileges. The CVSS score is 7.2, indicating a high‑risk issue, and the EPSS score is < 1%, showing low exploitation probability. The vulnerability is not listed in CISA’s KEV catalog. Once such a user can upload or modify Groovy scripts, execution of the malicious static initializer can compromise the entire Syncope deployment.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Apache Syncope to version 4.0.6 or 4.1.1 (or later) to enforce sandboxed execution of Groovy static initializers.
  • If an immediate upgrade is not possible, restrict or disable Groovy script execution for users lacking strict privileges.
  • Apply the principle of least privilege by ensuring that only trusted administrators hold the entitlement required to create or modify Groovy classes in Syncope.

Generated by OpenCVE AI on May 27, 2026 at 22:38 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-gq7g-vg2q-jvq3 Apache Syncope has an Improper Isolation or Compartmentalization vulnerability
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
CPEs cpe:2.3:a:apache:syncope:*:*:*:*:*:*:*:*
cpe:2.3:a:apache:syncope:4.1.0:*:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 7.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
First Time appeared Apache
Apache syncope
Vendors & Products Apache
Apache syncope
Type Values Removed Values Added
Description Improper Isolation or Compartmentalization vulnerability in Apache Syncope. An administrator with adequate entitlements for Implementations can create a malicious Groovy class containing untrusted code reaching a non-sandboxed execution path via the class static initializer. This issue affects Apache Syncope: 3.0 through 3.0.16, 4.0 through 4.0.5, 4.1.0. Users are recommended to upgrade to version 4.0.6 / 4.1.1, which fix this issue by forcing even the static initializer in Groovy code to run in a sandbox.
Title Apache Syncope: Post-auth RCE via Groovy static
Weaknesses CWE-653
References
Weaknesses
  • CWE-653

    Improper Isolation or Compartmentalization

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
May 27, 2026, 8:31 PM
Reserved
Apr 29, 2026, 2:11 PM
Status
Modified
Published
May 25, 2026, 4:16 PM
Modified
Jul 24, 2026, 10:10 AM