Unauthenticated code execution via routing-expression evaluation
Published Apr 1, 2022 · Updated Oct 21, 2025
Code injection in Spring Cloud Function 3.1.6 and earlier and 3.2.2 allows remote attackers to execute code through a routing header. RoutingFunction parses the spring.cloud.function.routing-expression message header as SpEL and previously evaluated it with an unrestricted StandardEvaluationContext. The functionRouter endpoint and routing functionality must be exposed; successful exploitation runs commands with the application process's privileges and can access local resources.
Summary
What happened
Code injection in Spring Cloud Function 3.1.6 and earlier and 3.2.2 allows remote attackers to execute code through a routing header. RoutingFunction parses the spring.cloud.function.routing-expression message header as SpEL and previously evaluated it with an unrestricted StandardEvaluationContext. The functionRouter endpoint and routing functionality must be exposed; successful exploitation runs commands with the application process's privileges and can access local resources.
The record
- CVE
- CVE-2022-22963
- Published
- Apr 1, 2022
- Updated
- Oct 21, 2025
- Vendor
- Spring
- Product
- Spring Cloud Function
- Classifications
- CWE-94, CWE-497, CWE-770, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Apr 1, 2022CVE publishedPublication date reported by the CVE source.
- Oct 21, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=Spring Cloud Function versions 3.1.6, 3.2.2 and all old and unsupported versions
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- dinosn CVE-2022-22963 PoCproof of concept · unverified
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Reported exploitation
- CISA Known Exploited Vulnerabilities Catalog listingknown exploited catalog
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo