Unsafe Reflection Affecting org.springframework.cloud:spring-cloud-function-context package, versions [4.0.0,5.0.6)


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGSPRINGFRAMEWORKCLOUD-22732206
  • published22 Nov 2026
  • disclosed19 Nov 2026
  • credithussst

Introduced: 19 Nov 2026

NewCVE-2026-59440  (opens in a new tab)
CWE-470  (opens in a new tab)

How to fix?

Upgrade org.springframework.cloud:spring-cloud-function-context to version 5.0.6 or higher.

Overview

Affected versions of this package are vulnerable to Unsafe Reflection in the JsonMessageConverter class, which resolves the content-type type parameter supplied with a message to a class via ClassUtils.forName without restricting which classes may be loaded. An attacker able to set the content-type type can cause the application to load system or platform classes and use them as the JSON deserialization target. The advisory rates this low, requiring high privileges, user interaction, and high attack complexity.

CVSS Base Scores

version 4.0
version 3.1