CVE-2025-57738
Apache Syncope allows malicious administrators to inject Groovy code
Description
Apache Syncope offers the ability to extend / customize the base behavior on every deployment by allowing to provide custom implementations of a few Java interfaces; such implementations can be provided either as Java or Groovy classes, with the latter being particularly attractive as the machinery is set for runtime reload. Such a feature has been available for a while, but recently it was discovered that a malicious administrator can inject Groovy code that can be executed remotely by a running Apache Syncope Core instance. Users are recommended to upgrade to version 3.0.14 / 4.0.2, which fix this issue by forcing the Groovy code to run in a sandbox.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.syncope.core » syncope-core-spring | < 3.0.14>= 4.0.0-M0, < 4.0.2 | 3.0.14, 4.0.2 |
Blast radius
36% of the dependent artifacts (25) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 233 |
| 2 hops | 614 |
| 3 hops | 355 |
| 4 hops | 307 |
Most used dependents
- org.apache.syncope.core » syncope-core-persistence-jpa18 usages
- org.apache.syncope.core » syncope-core-provisioning-java11 usages
- org.apache.syncope.core » syncope-core-logic10 usages
- org.apache.syncope.core » syncope-core-workflow-java9 usages
- org.apache.syncope.core » syncope-core-rest-cxf9 usages
- org.apache.syncope.core.idrepo » syncope-core-idrepo-logic7 usages
- org.apache.syncope.core » syncope-core-persistence-common6 usages
- org.apache.syncope.core.idrepo » syncope-core-idrepo-rest-cxf5 usages
- org.apache.syncope.ext.elasticsearch » syncope-ext-elasticsearch-client4 usages
- org.apache.syncope.core.idm » syncope-core-idm-logic4 usages
- org.apache.syncope.ext.opensearch » syncope-ext-opensearch-client4 usages
- org.apache.syncope.core.idm » syncope-core-idm-rest-cxf3 usages
- org.apache.syncope.ext.scimv2 » syncope-ext-scimv2-logic2 usages
- org.apache.syncope.core » syncope-core-starter2 usages
- org.apache.syncope.ext.oidcc4ui » syncope-ext-oidcc4ui-persistence-api2 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2025-57738 | nvd.nist.gov |
| Package | apache/syncope | github.com |
| Web | apache/syncope commit 88c2b5b | github.com |
| Web | apache/syncope commit 8b08c4d | github.com |
| Web | jira/browse/SYNCOPE-1907 | issues.apache.org |
| Web | thread/x7cv6xv7z76y49grdr1hgj1pzw5zbby6 | lists.apache.org |
| Web | security | syncope.apache.org |
| Web | lists/oss-security/2025/10/20/1 | openwall.com |
