{"id":"GHSA-825g-mm5v-ggq4","summary":"Apache Syncope allows malicious administrators to inject Groovy code","details":"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.\nSuch 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.\nUsers 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.","aliases":["CVE-2025-57738"],"modified":"2025-11-05T21:09:03.837611Z","published":"2025-10-20T15:30:25Z","database_specific":{"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2025-10-20T20:08:22Z","nvd_published_at":"2025-10-20T15:15:33Z","cwe_ids":["CWE-653"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-57738"},{"type":"WEB","url":"https://github.com/apache/syncope/commit/88c2b5b0be9e2ed66007d672e786165bc266e717"},{"type":"WEB","url":"https://github.com/apache/syncope/commit/8b08c4d5785599a0e38830dcff89738b93f02a16"},{"type":"WEB","url":"https://issues.apache.org/jira/browse/SYNCOPE-1907"},{"type":"WEB","url":"https://lists.apache.org/thread/x7cv6xv7z76y49grdr1hgj1pzw5zbby6"},{"type":"WEB","url":"https://syncope.apache.org/security#CVE-2025-57738"},{"type":"PACKAGE","url":"http://github.com/apache/syncope"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2025/10/20/1"}],"affected":[{"package":{"name":"org.apache.syncope.core:syncope-core-spring","ecosystem":"Maven","purl":"pkg:maven/org.apache.syncope.core/syncope-core-spring"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.14"}]}],"versions":["2.0.0","2.0.0-M2","2.0.0-M3","2.0.0-M4","2.0.0.M5","2.0.1","2.0.10","2.0.11","2.0.12","2.0.13","2.0.14","2.0.15","2.0.16","2.0.2","2.0.3","2.0.4","2.0.5","2.0.6","2.0.7","2.0.8","2.0.9","2.1.0","2.1.1","2.1.10","2.1.11","2.1.12","2.1.13","2.1.14","2.1.2","2.1.3","2.1.4","2.1.5","2.1.6","2.1.7","2.1.8","2.1.9","3.0.0","3.0.0-M0","3.0.0-M1","3.0.0-M2","3.0.1","3.0.10","3.0.11","3.0.12","3.0.13","3.0.2","3.0.3","3.0.4","3.0.5","3.0.6","3.0.7","3.0.8","3.0.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/10/GHSA-825g-mm5v-ggq4/GHSA-825g-mm5v-ggq4.json"}},{"package":{"name":"org.apache.syncope.core:syncope-core-spring","ecosystem":"Maven","purl":"pkg:maven/org.apache.syncope.core/syncope-core-spring"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0-M0"},{"fixed":"4.0.2"}]}],"versions":["4.0.0","4.0.0-M0","4.0.0-M1","4.0.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/10/GHSA-825g-mm5v-ggq4/GHSA-825g-mm5v-ggq4.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"}]}