ZeroHour

CVE-2026-77147

niche

Groovy Sandbox Escape Allows Code Injection in Apache Syncope

CVSS 3.1
6.5 medium
EPSS
Published
()
Modified
AI analysis

Apache Syncope contains a code injection vulnerability (CWE-94) in which an administrator holding entitlements over Implementations can define a malicious Groovy Command class whose CommandArgs static implementation contains untrusted code, bypassing the Groovy security sandbox. Successful exploitation executes arbitrary code on the Syncope server with the privileges of the application, giving the attacker full read and write access to managed identity data and potentially broader host compromise. The flaw requires high privileges (a Syncope administrator, not an end user), which limits the attack surface to insider threats, compromised admin accounts, or environments where Implementation rights are delegated too broadly. All Syncope 3.0.0-M0–3.0.16, 4.0.0-M0–4.0.7, and 4.1.0-M0–4.1.2 deployments are affected; there is no evidence of in-the-wild exploitation and no public proof of concept is known.

What to do: Upgrade to Apache Syncope 4.0.8 or 4.1.3 immediately; since the 3.0.x line has no listed fix, 3.0.16 and earlier deployments should migrate to 4.0.8+ or 4.1.3+. In the interim, restrict the 'Implementations' entitlement to a minimal set of fully trusted administrators and audit existing Groovy Command and CommandArgs implementations for unexpected or recently added code. Review Syncope admin and audit logs for suspicious Implementation creation events, especially if admin credentials are shared or delegated to multiple operators.

Affected
Apache Syncope3.0.0-M0 through 3.0.16
Apache Syncope4.0.0-M0 through 4.0.7
Apache Syncope4.1.0-M0 through 4.1.2
Estimated exposure
nichelikely on the order of hundreds to a few thousand self-hosted deployments worldwide — Apache Syncope is a niche open-source identity management server with no public install telemetry; deployments are self-hosted enterprise instances, typically internal-facing, and only a small subset would expose the admin console to the…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

Improper Control of Generation of Code ('Code Injection') vulnerability in Apache Syncope. An administrator with adequate entitlements for Implementations can create a malicious Groovy Command class containing untrusted code in their CommandArgs static implementation, bypassing the Groovy security sandbox. This issue affects Apache Syncope: from 3.0.0-M0 through 3.0.16, from 4.0.0-M0 Through 4.0.7, from 4.1.0-M0 through 4.1.2. Users are recommended to upgrade to version 4.0.8 / 4.1.3, which fix this issue.

Weakness
CWE-94
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N

In the news

CVE-2026-77147: Apache Syncope: Groovy Sandbox escape for empty CommandArgs

Apache Syncope patches an important Groovy sandbox escape (CVE-2026-77147) allowing administrators to achieve code injection via empty CommandArgs.

CVE-2026-77147 is an important-severity improper control of code generation vulnerability in Apache Syncope, rated as a Groovy sandbox escape for empty CommandArgs. An administrator with adequate privileges can exploit the flaw to achieve code injection. Affected versions include syncope-core-spring 3.0.0-M0 through 3.0.16, 4.0.0-M0 through 4.0.7, and 4.1.0-M0 through 4.1.2.

oss-security · 1d agoVulnerabilityCVE-2026-77147