{"id":"CVE-2026-42782","summary":"Apache Syncope: Post-auth RCE via Groovy static","details":"Improper Isolation or Compartmentalization vulnerability in Apache Syncope.\n\nAn 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.\n\nThis issue affects Apache Syncope: 3.0 through 3.0.16, 4.0 through 4.0.5, 4.1.0.\n\n\n\nUsers 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.","aliases":["GHSA-gq7g-vg2q-jvq3"],"modified":"2026-07-08T08:13:26.722507939Z","published":"2026-05-25T14:58:59.152Z","database_specific":{"cwe_ids":["CWE-653"],"cna_assigner":"apache","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42782.json","unresolved_ranges":[{"extracted_events":[{"introduced":"3.0"},{"last_affected":"3.0.16"},{"introduced":"4.0"},{"last_affected":"4.0.5"},{"introduced":"4.1"},{"last_affected":"4.1.0"}],"source":"AFFECTED_FIELD"},{"extracted_events":[{"introduced":"3.0"},{"fixed":"3.0.16"},{"introduced":"4.0"},{"fixed":"4.0.5"}],"source":"DESCRIPTION"}]},"references":[{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2026/05/25/4"},{"type":"WEB","url":"https://repo.maven.apache.org/maven2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42782.json"},{"type":"ADVISORY","url":"https://lists.apache.org/thread/b869ms0ofrd129f7tgsn9flxgv9ztg2r"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42782"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/apache/syncope","events":[{"introduced":"d4a8b1eb53b246c42acb757739637be02838a082"},{"introduced":"b0c019c1256bf433bf60e3211ee8711dae03e6bc"},{"fixed":"02823557b26a1632a8cb8f02ef2822b5fa5c331c"},{"introduced":"7afe57a317c88ebedf75ca8d714ad743e5cd1d24"}],"database_specific":{"extracted_events":[{"introduced":"3.0.0"},{"last_affected":"3.0.16"},{"introduced":"4.0.0"},{"fixed":"4.0.6"},{"introduced":"4.1.0"},{"last_affected":"4.1.0"}],"source":["CPE_RANGE","CPE_STRING"],"cpe":["cpe:2.3:a:apache:syncope:*:*:*:*:*:*:*:*","cpe:2.3:a:apache:syncope:4.1.0:*:*:*:*:*:*:*"]}}],"versions":["4.1.0","syncope-4.0.5","syncope-4.0.4","syncope-4.0.3","syncope-4.0.2","syncope-4.0.1","syncope-4.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-42782.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"}]}