CVE-2026-42782: Spring Framework Apache Syncope Has An Improper Vulnerability

HIGH
Advisory Identifier: GHSA-gq7g-vg2q-jvq3
CVSS 7.2
CWE-653
Published
Advisory Summary

CVE-2026-42782 is a HIGH (CVSS 7.2) apache syncope has an improper vulnerability (CWE-653: Improper Isolation or Compartmentalization) affecting Spring Framework libraries in the Maven ecosystem. The issue involves apache syncope has an improper isolation or compartmentalization vulnerability. Remediation is available by upgrading affected packages to version 4.0.6, 4.1.1.

CVE-2026-42782 at a Glance

CVE Identifier CVE-2026-42782
GHSA Identifier GHSA-gq7g-vg2q-jvq3
Severity HIGH
CVSS v3.1 Base Score 7.2
CWE Classification CWE-653: Improper Isolation or Compartmentalization
Affected Product Spring Framework
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 7.2

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required High (PR:H)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2026-42782

To remediate this vulnerability, upgrade all affected Spring Framework dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.apache.syncope.core:syncope-core-spring fixed: Latest secure release
<dependency>
    <groupId>org.apache.syncope.core</groupId>
    <artifactId>syncope-core-spring</artifactId>
    <version>Latest secure release</version>
</dependency>
org.apache.syncope.core:syncope-core-spring fixed: 4.0.6
<dependency>
    <groupId>org.apache.syncope.core</groupId>
    <artifactId>syncope-core-spring</artifactId>
    <version>4.0.6</version>
</dependency>
org.apache.syncope.core:syncope-core-spring fixed: 4.1.1
<dependency>
    <groupId>org.apache.syncope.core</groupId>
    <artifactId>syncope-core-spring</artifactId>
    <version>4.1.1</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=org.apache.syncope.core

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2026-42782, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.apache.syncope.core

Analyze the terminal output to locate any version of Spring Framework in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.0.6), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.apache.syncope.core command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-653: Improper Isolation or Compartmentalization, where the product does not properly compartmentalize or isolate functionality, processes, or resources that require different privilege levels, rights, or permissions. In Spring Framework, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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.

CVE-2026-42782 Affected Spring Framework Versions

3 component(s)
Fixed Versions:
4.0.64.1.1
Product / Package Ecosystem Affected Versions Fixed Version
org.apache.syncope.core:syncope-core-spring
Maven
≥ 3.0.0-M0
≤ 3.0.16
org.apache.syncope.core:syncope-core-spring
Maven
≥ 4.0.0-M0
< 4.0.6
4.0.6
org.apache.syncope.core:syncope-core-spring
Maven
≥ 4.1.0-M0
< 4.1.1
4.1.1

References

Frequently Asked Questions

What is CVE-2026-42782?
CVE-2026-42782 is a security vulnerability in Spring Framework involving Apache Syncope has an Improper Isolation or Compartmentalization vulnerability under CWE-653: Improper Isolation or Compartmentalization.
Which Spring Framework versions are affected?
Affected versions include releases prior to 4.0.6, 4.1.1 across affected packages: org.apache.syncope.core:syncope-core-spring.
What version fixes CVE-2026-42782?
Upgrading to 4.0.6, 4.1.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is syncope-core-spring affected?
Yes, org.apache.syncope.core:syncope-core-spring is affected in releases prior to Latest secure release, 4.0.6, 4.1.1. Upgrade your dependency to Latest secure release, 4.0.6, 4.1.1 or later.
What is the CVSS score of CVE-2026-42782?
CVE-2026-42782 has a CVSS v3.1 base score of 7.2 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2026-42782?
CVE-2026-42782 is classified under CWE-653: Improper Isolation or Compartmentalization (The product does not properly compartmentalize or isolate functionality, processes, or resources that require different privilege levels, rights, or permissions.).
How can I check Maven dependencies for CVE-2026-42782?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.apache.syncope.core'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-gq7g-vg2q-jvq3",
  "modified" : "2026-06-30T17:18:21Z",
  "published" : "2026-05-26T13:30:46Z",
  "aliases" : [ "CVE-2026-42782" ],
  "summary" : "Apache Syncope has an Improper Isolation or Compartmentalization vulnerability",
  "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\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.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.syncope.core:syncope-core-spring"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.0.0-M0"
      }, {
        "last_affected" : "3.0.16"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.syncope.core:syncope-core-spring"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.0.0-M0"
      }, {
        "fixed" : "4.0.6"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.syncope.core:syncope-core-spring"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.1.0-M0"
      }, {
        "fixed" : "4.1.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-42782"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread/b869ms0ofrd129f7tgsn9flxgv9ztg2r"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2026/05/25/4"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-653" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-06-30T17:18:21Z",
    "nvd_published_at" : "2026-05-25T16:16:19Z"
  }
}