diff --git a/samples/openapi3/client/petstore/spring-cloud-3/pom.xml b/samples/openapi3/client/petstore/spring-cloud-3/pom.xml
index 7d50eefeaab8..ea4f3e846b20 100644
--- a/samples/openapi3/client/petstore/spring-cloud-3/pom.xml
+++ b/samples/openapi3/client/petstore/spring-cloud-3/pom.xml
@@ -63,7 +63,7 @@
org.springframework.security
spring-security-oauth2-client
- 6.1.1
+ 6.2.7
com.fasterxml.jackson.datatype