Spring Framework updated to Kotlin 1.7 and so to align dependency versions, Spring Security should also update to Kotlin 1.7 https://github.com/spring-projects/spring-framework/issues/28625 https://github.com/spring-projects/spring-framework/commit/070af5ceb4d410f69b0755abfb639092c4434c93