Spring Cloud Function Code Injection with a specially crafted SpEL as a routing expression
Critical severity
GitHub Reviewed
Published
Apr 3, 2022
to the GitHub Advisory Database
•
Updated Oct 22, 2025
Package
Affected versions
>= 3.2.0, < 3.2.3
< 3.1.7
Patched versions
3.2.3
3.1.7
Description
Published by the National Vulnerability Database
Apr 1, 2022
Published to the GitHub Advisory Database
Apr 3, 2022
Reviewed
Apr 5, 2022
Last updated
Oct 22, 2025
In Spring Cloud Function versions 3.1.6, 3.2.2 and older unsupported versions, when using routing functionality it is possible for a user to provide a specially crafted SpEL as a routing-expression that may result in remote code execution and access to local resources.
References