CVE-2026-41006: Spring Framework Spring HATEOAS Collection+JSON/UBER Deserializers Do Vulnerability

HIGH
Advisory Identifier: GHSA-7fxc-486f-32q9
CVSS 7.5
CWE-284
Published
Advisory Summary

CVE-2026-41006 is a HIGH (CVSS 7.5) spring hateoas collection+json/uber deserializers do vulnerability (CWE-284: Improper Access Control) affecting Spring Framework libraries in the Maven ecosystem. The issue involves spring hateoas collection+json/uber deserializers do not honor jackson configuration. Remediation is available by upgrading affected packages to version 3.0.4, 2.5.3.

CVE-2026-41006 at a Glance

CVE Identifier CVE-2026-41006
GHSA Identifier GHSA-7fxc-486f-32q9
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-284: Improper Access Control
Affected Product Spring Framework
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 7.5

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

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

How to Fix CVE-2026-41006

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.springframework.hateoas:spring-hateoas fixed: 3.0.4
<dependency>
    <groupId>org.springframework.hateoas</groupId>
    <artifactId>spring-hateoas</artifactId>
    <version>3.0.4</version>
</dependency>
org.springframework.hateoas:spring-hateoas fixed: 2.5.3
<dependency>
    <groupId>org.springframework.hateoas</groupId>
    <artifactId>spring-hateoas</artifactId>
    <version>2.5.3</version>
</dependency>
org.springframework.hateoas:spring-hateoas fixed: Latest secure release
<dependency>
    <groupId>org.springframework.hateoas</groupId>
    <artifactId>spring-hateoas</artifactId>
    <version>Latest secure release</version>
</dependency>
org.springframework.hateoas:spring-hateoas fixed: Latest secure release
<dependency>
    <groupId>org.springframework.hateoas</groupId>
    <artifactId>spring-hateoas</artifactId>
    <version>Latest secure release</version>
</dependency>
org.springframework.hateoas:spring-hateoas fixed: Latest secure release
<dependency>
    <groupId>org.springframework.hateoas</groupId>
    <artifactId>spring-hateoas</artifactId>
    <version>Latest secure release</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.springframework.hateoas

How to Check if You Are Affected

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

mvn dependency:tree -Dincludes=org.springframework.hateoas

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 3.0.4), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.springframework.hateoas 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-284: Improper Access Control, where the product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. 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

Spring HATEOAS's internal PropertyUtils.createObjectFromProperties method, used by the Collection+JSON and UBER media type deserializers, performs bean property binding via reflection without consulting Jackson access-control annotations. Affected versions: Spring HATEOAS 1.5.0 through 1.5.6; 2.3.0 through 2.3.4; 2.4.0 through 2.4.1; 2.5.0 through 2.5.2; 3.0.0 through 3.0.3.

CVE-2026-41006 Affected Spring Framework Versions

5 component(s)
Fixed Versions:
3.0.42.5.3
Product / Package Ecosystem Affected Versions Fixed Version
org.springframework.hateoas:spring-hateoas
Maven
≥ 3.0.0
< 3.0.4
3.0.4
org.springframework.hateoas:spring-hateoas
Maven
≥ 2.5.0
< 2.5.3
2.5.3
org.springframework.hateoas:spring-hateoas
Maven
≥ 2.3.0
≤ 2.3.4
org.springframework.hateoas:spring-hateoas
Maven
≤ 1.5.6
org.springframework.hateoas:spring-hateoas
Maven
≥ 2.4.0
≤ 2.4.1

References

Frequently Asked Questions

What is CVE-2026-41006?
CVE-2026-41006 is a security vulnerability in Spring Framework involving Spring HATEOAS Collection+JSON/UBER deserializers do not honor Jackson configuration under CWE-284: Improper Access Control.
Which Spring Framework versions are affected?
Affected versions include releases prior to 3.0.4, 2.5.3 across affected packages: org.springframework.hateoas:spring-hateoas.
What version fixes CVE-2026-41006?
Upgrading to 3.0.4, 2.5.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is spring-hateoas affected?
Yes, org.springframework.hateoas:spring-hateoas is affected in releases prior to 3.0.4, 2.5.3, Latest secure release. Upgrade your dependency to 3.0.4, 2.5.3, Latest secure release or later.
What is the CVSS score of CVE-2026-41006?
CVE-2026-41006 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
What CWE is associated with CVE-2026-41006?
CVE-2026-41006 is classified under CWE-284: Improper Access Control (The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.).
How can I check Maven dependencies for CVE-2026-41006?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.springframework.hateoas'. 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-7fxc-486f-32q9",
  "modified" : "2026-07-29T18:02:37Z",
  "published" : "2026-06-09T06:31:57Z",
  "aliases" : [ "CVE-2026-41006" ],
  "summary" : "Spring HATEOAS Collection+JSON/UBER deserializers do not honor Jackson configuration",
  "details" : "Spring HATEOAS's internal PropertyUtils.createObjectFromProperties method, used by the Collection+JSON and UBER media type deserializers, performs bean property binding via reflection without consulting Jackson access-control annotations.\n\nAffected versions:\nSpring HATEOAS 1.5.0 through 1.5.6; 2.3.0 through 2.3.4; 2.4.0 through 2.4.1; 2.5.0 through 2.5.2; 3.0.0 through 3.0.3.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.springframework.hateoas:spring-hateoas"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.0.0"
      }, {
        "fixed" : "3.0.4"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 3.0.3"
    }
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.springframework.hateoas:spring-hateoas"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.5.0"
      }, {
        "fixed" : "2.5.3"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 2.5.2"
    }
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.springframework.hateoas:spring-hateoas"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.3.0"
      }, {
        "last_affected" : "2.3.4"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.springframework.hateoas:spring-hateoas"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "1.5.6"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.springframework.hateoas:spring-hateoas"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.4.0"
      }, {
        "last_affected" : "2.4.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-41006"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/spring-projects/spring-hateoas/issues/2515"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/spring-projects/spring-hateoas/issues/2516"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/spring-projects/spring-hateoas/issues/2517"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/spring-projects/spring-hateoas/commit/2c127edd741e43e6e6f06f4081af92d400209990"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/spring-projects/spring-hateoas/commit/87d73a7af52d70e51823f44a67371b7a8a54b7c1"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/spring-projects/spring-hateoas/commit/d8050eedca1c92e1839f18ec1f7e0eecfb511389"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/spring-projects/spring-hateoas"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/spring-projects/spring-hateoas/releases/tag/2.5.3"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/spring-projects/spring-hateoas/releases/tag/3.0.4"
  }, {
    "type" : "WEB",
    "url" : "https://spring.io/security/cve-2026-41006"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-284" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-07-29T18:02:37Z",
    "nvd_published_at" : "2026-06-09T05:16:34Z"
  }
}