# CVE-2025-57738: Apache Syncope allows malicious administrators to inject Groovy code

Source: https://junglewise.ai/threats/cve-2025-57738-apache-syncope-allows-malicious-administrators-to-inject-groovy  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-10-20  
License: CC BY 4.0 with a link back

CVE-2025-57738 · Severity: high · CVSS 7.2 · Published 2025-10-20

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.

Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2025-57738 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-57738 being exploited in the wild.

**How severe is CVE-2025-57738?** High severity, with a CVSS score of 7.2, published 20 October 2025.

**Which products and versions are affected?** org.apache.syncope.core:syncope-core-spring (Maven) ECOSYSTEM:introduced=0,fixed=3.0.14.

**Is there a fix for CVE-2025-57738?** Yes. org.apache.syncope.core:syncope-core-spring (Maven): upgrade to 3.0.14 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2025-57738?** Check whether you run org.apache.syncope.core:syncope-core-spring (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.apache.syncope.core:syncope-core-spring (Maven): upgrade to 3.0.14 or later

  ```sh
  # set org.apache.syncope.core:syncope-core-spring to 3.0.14 in your pom.xml or build.gradle
  ```


## Affected products

- org.apache.syncope.core:syncope-core-spring (Maven) ECOSYSTEM:introduced=0,fixed=3.0.14

## Identifiers

- CVE-2025-57738
- GHSA-825g-mm5v-ggq4

## Related threats

- [Apache Syncope sandbox escape via Groovy static initializer](https://junglewise.ai/threats/cve-2026-42782-apache-syncope-sandbox-escape-via-groovy-static-initializer)
