{"id":"CVE-2026-59376","aliases":["EUVD-2026-140873","GHSA-pxmf-v3r7-ppgw"],"status":"published","title":"Spring HATEOAS allows mutation of read-only properties via Collection+JSON and UBER payloads","description":"Spring 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.\n\n 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.\nThat binder resolves each property's setter from the JavaBeans property descriptor and invokes it directly, applying only Jackson's @JsonIgnore and @JsonIgnoreProperties exclusions.\nProperties declared read-only are not excluded, so a client-supplied value for such a property is accepted and written to the object.\n\n 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.\nThe 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.\n\n 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.\nApplications using only the HAL or HAL-FORMS media types are not affected, as those do not use the affected binder on the deserialization path.\nApplications that bind requests onto dedicated input DTOs without read-only properties are also not affected.","severity":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-12-04","score":0.00435,"percentile":0.39557,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"published":"2026-12-02T07:10:33Z","modified":"2026-12-02T19:26:40Z","products":[{"vendor":"spring","product":"spring hateoas"}],"references":[{"url":"https://spring.io/security/cve-2026-59376"},{"url":"https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N\u0026version=3.1"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59376"},{"url":"https://github.com/advisories/GHSA-pxmf-v3r7-ppgw"}],"sources":{"cve":[{"id":"CVE-2026-59376","title":"Spring HATEOAS allows mutation of read-only properties via Collection+JSON and UBER payloads","description":"Spring 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.\n\n 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.\nThat binder resolves each property's setter from the JavaBeans property descriptor and invokes it directly, applying only Jackson's @JsonIgnore and @JsonIgnoreProperties exclusions.\nProperties declared read-only are not excluded, so a client-supplied value for such a property is accepted and written to the object.\n\n 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.\nThe 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.\n\n 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.\nApplications using only the HAL or HAL-FORMS media types are not affected, as those do not use the affected binder on the deserialization path.\nApplications that bind requests onto dedicated input DTOs without read-only properties are also not affected.","status":"published","published":"2026-12-02T07:10:33.21Z","modified":"2026-12-02T07:10:33.21Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium","assessor":"cna"}],"updated_at":"2026-12-02T07:31:24.108495Z"}],"euvd":[{"id":"EUVD-2026-140873","description":"Spring 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.\n\n 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.\nThat binder resolves each property's setter from the JavaBeans property descriptor and invokes it directly, applying only Jackson's @JsonIgnore and @JsonIgnoreProperties exclusions.\nProperties declared read-only are not excluded, so a client-supplied value for such a property is accepted and written to the object.\n\n 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.\nThe 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.\n\n 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.\nApplications using only the HAL or HAL-FORMS media types are not affected, as those do not use the affected binder on the deserialization path.\nApplications that bind requests onto dedicated input DTOs without read-only properties are also not affected.","status":"published","published":"2026-12-02T07:10:33Z","modified":"2026-12-02T07:10:33Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-12-02T12:24:36.352974Z"}],"ghsa":[{"id":"GHSA-pxmf-v3r7-ppgw","title":"Spring HATEOAS does not honour Jackson's @JsonProperty(access = Access.READ_ONLY) declaration...","description":"Spring 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.\n\n 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.\nThat binder resolves each property's setter from the JavaBeans property descriptor and invokes it directly, applying only Jackson's @JsonIgnore and @JsonIgnoreProperties exclusions.\nProperties declared read-only are not excluded, so a client-supplied value for such a property is accepted and written to the object.\n\n 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.\nThe 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.\n\n 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.\nApplications using only the HAL or HAL-FORMS media types are not affected, as those do not use the affected binder on the deserialization path.\nApplications that bind requests onto dedicated input DTOs without read-only properties are also not affected.","status":"published","published":"2026-12-02T09:30:32Z","modified":"2026-12-02T09:30:43Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-12-02T09:35:48.125087Z"}],"nvd":[{"id":"CVE-2026-59376","description":"Spring 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.\n\n 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.\nThat binder resolves each property's setter from the JavaBeans property descriptor and invokes it directly, applying only Jackson's @JsonIgnore and @JsonIgnoreProperties exclusions.\nProperties declared read-only are not excluded, so a client-supplied value for such a property is accepted and written to the object.\n\n 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.\nThe 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.\n\n 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.\nApplications using only the HAL or HAL-FORMS media types are not affected, as those do not use the affected binder on the deserialization path.\nApplications that bind requests onto dedicated input DTOs without read-only properties are also not affected.","status":"published","published":"2026-12-02T08:17:42.043Z","modified":"2026-12-02T19:26:40.093Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium","assessor":"secondary"}],"updated_at":"2026-12-02T08:22:34.214829Z"}]}}
