Spring Hateoas vulnerabilities
4 vulnerabilities
Known vulnerabilities in Spring Hateoas, newest first, with CVSS severity, EPSS, KEV listings, ransomware use and the affected versions.
RoutineCVE-2026-59376spring · spring hateoasSpring HATEOAS allows mutation of read-only properties via Collection+JSON and UBER payloadsSpring HATEOAS does not honour Jackson's @JsonProperty(access = Access.READ_ONLY) declaration when deserializing Collection+JSON ( application/vnd.collection+json ) and UBER ( application/vnd.uber+json ) request bodies.
Both media types reconstruct the domain object from the name/value pairs of the incoming representation using an internal, reflection-based property binder rather than Jackson's own bean deserializer.
That binder resolves each property's setter from the JavaBeans property descriptor and invokes it directly, applying only Jackson's @JsonIgnore and @JsonIgnoreProperties exclusions.
Properties declared read-only are not excluded, so a client-supplied value for such a property is accepted and written to the object.
As a result, a client able to submit a Collection+JSON or UBER request body can populate properties that the application declared as server-owned and expected to be ignored on input, such as a role, permission or account-state property.
The same payload submitted as application/json is handled by Jackson's bean deserializer, which correctly ignores those properties, so the exposure is specific to the two affected media types.
Affected applications are those that enable Collection+JSON or UBER hypermedia support and bind request bodies directly onto a domain type declaring a @JsonProperty(access = Access.READ_ONLY) property with a setter.
Applications using only the HAL or HAL-FORMS media types are not affected, as those do not use the affected binder on the deserialization path.
Applications that bind requests onto dedicated input DTOs without read-only properties are also not affected.CVSS6.5MediumEPSS0.43%PrioritiseCVE-2026-41007spring · spring hateoas +2 moreSpring HATEOAS heap exhaustion through unbounded internal cachingSpring HATEOAS maintains an unbounded static cache of StringLinkRelation instances keyed on attacker-supplied strings.
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.CVSS7.5HighEPSS0.30%PrioritiseCVE-2026-41006spring · spring hateoas +2 moreSpring HATEOAS Collection+JSON/UBER deserializers do not honor Jackson configurationSpring 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.CVSS7.5HighEPSS0.28%RoutineCVE-2023-34036spring · spring hateoas +2 moreForwarded header exploit with Spring HATEOAS on WebFluxReactive web applications that use Spring HATEOAS to produce hypermedia-based responses might be exposed to malicious forwarded headers if they are not behind a trusted proxy that ensures correctness of such headers, or if they don't have anything else in place to handle (and possibly discard) forwarded headers either in WebFlux or at the level of the underlying HTTP server.
For the application to be affected, it needs to satisfy the following requirements:
* It needs to use the reactive web stack (Spring WebFlux) and Spring HATEOAS to create links in hypermedia-based responses.
* The application infrastructure does not guard against clients submitting (X-)Forwarded… headers.CVSS5.3MediumEPSS0.47%