diff --git a/synapse-aws-auth/build.gradle b/synapse-aws-auth/build.gradle
index 4cc469a3..8e2c2880 100644
--- a/synapse-aws-auth/build.gradle
+++ b/synapse-aws-auth/build.gradle
@@ -17,7 +17,7 @@ dependencies {
     testImplementation "com.jayway.jsonpath:json-path-assert:2.7.0"
     testImplementation 'com.tngtech.java:junit-dataprovider:1.13.1'
     testImplementation "org.awaitility:awaitility:4.2.0"
-    testImplementation "org.mockito:mockito-core:4.8.1"
+    testImplementation "org.mockito:mockito-core:5.1.1"
     testImplementation "ch.qos.logback:logback-core:${logbackVersion}"
     testImplementation "ch.qos.logback:logback-classic:${logbackVersion}"
 
diff --git a/synapse-aws-kinesis/build.gradle b/synapse-aws-kinesis/build.gradle
index 209e69bb..36fdc27a 100644
--- a/synapse-aws-kinesis/build.gradle
+++ b/synapse-aws-kinesis/build.gradle
@@ -16,7 +16,7 @@ dependencies {
     testImplementation "com.jayway.jsonpath:json-path-assert:2.7.0"
     testImplementation 'com.tngtech.java:junit-dataprovider:1.13.1'
     testImplementation "org.awaitility:awaitility:4.2.0"
-    testImplementation "org.mockito:mockito-core:4.8.1"
+    testImplementation "org.mockito:mockito-core:5.1.1"
     testImplementation "ch.qos.logback:logback-core:${logbackVersion}"
     testImplementation "ch.qos.logback:logback-classic:${logbackVersion}"
 
diff --git a/synapse-aws-sqs/build.gradle b/synapse-aws-sqs/build.gradle
index e6e95e1e..32cf1fb6 100644
--- a/synapse-aws-sqs/build.gradle
+++ b/synapse-aws-sqs/build.gradle
@@ -15,7 +15,7 @@ dependencies {
     testImplementation "com.jayway.jsonpath:json-path-assert:2.7.0"
     testImplementation 'com.tngtech.java:junit-dataprovider:1.13.1'
     testImplementation "org.awaitility:awaitility:4.2.0"
-    testImplementation "org.mockito:mockito-core:4.8.1"
+    testImplementation "org.mockito:mockito-core:5.1.1"
     testImplementation "ch.qos.logback:logback-core:${logbackVersion}"
     testImplementation "ch.qos.logback:logback-classic:${logbackVersion}"
 
diff --git a/synapse-compaction-aws-s3/build.gradle b/synapse-compaction-aws-s3/build.gradle
index d6ba7f78..6825134b 100644
--- a/synapse-compaction-aws-s3/build.gradle
+++ b/synapse-compaction-aws-s3/build.gradle
@@ -19,7 +19,7 @@ dependencies {
     testImplementation "com.jayway.jsonpath:json-path-assert:2.7.0"
     testImplementation 'com.tngtech.java:junit-dataprovider:1.13.1'
     testImplementation "org.awaitility:awaitility:4.2.0"
-    testImplementation "org.mockito:mockito-core:4.8.1"
+    testImplementation "org.mockito:mockito-core:5.1.1"
     testImplementation "ch.qos.logback:logback-core:${logbackVersion}"
     testImplementation "ch.qos.logback:logback-classic:${logbackVersion}"
     testImplementation "commons-io:commons-io:2.11.0"
diff --git a/synapse-core/build.gradle b/synapse-core/build.gradle
index 3e2dc63d..812f6980 100644
--- a/synapse-core/build.gradle
+++ b/synapse-core/build.gradle
@@ -36,7 +36,7 @@ dependencies {
     testImplementation "com.jayway.jsonpath:json-path-assert:2.7.0"
     testImplementation 'com.tngtech.java:junit-dataprovider:1.13.1'
     testImplementation "org.awaitility:awaitility:4.2.0"
-    testImplementation "org.mockito:mockito-core:4.8.1"
+    testImplementation "org.mockito:mockito-core:5.1.1"
     testImplementation "ch.qos.logback:logback-core:${logbackVersion}"
     testImplementation "ch.qos.logback:logback-classic:${logbackVersion}"
 }
diff --git a/synapse-edison/build.gradle b/synapse-edison/build.gradle
index 95249cde..2470b89c 100644
--- a/synapse-edison/build.gradle
+++ b/synapse-edison/build.gradle
@@ -14,7 +14,7 @@ dependencies {
     testImplementation 'junit:junit:4.13.2'
     testImplementation 'org.hamcrest:hamcrest-all:1.3'
     testImplementation "de.otto.edison:edison-testsupport:${edisonVersion}"
-    testImplementation "org.mockito:mockito-core:4.8.1"
+    testImplementation "org.mockito:mockito-core:5.1.1"
     testImplementation "ch.qos.logback:logback-core:${logbackVersion}"
     testImplementation "ch.qos.logback:logback-classic:${logbackVersion}"
 }
diff --git a/synapse-examples/example-producer/build.gradle b/synapse-examples/example-producer/build.gradle
index 2270ff99..218f09ab 100644
--- a/synapse-examples/example-producer/build.gradle
+++ b/synapse-examples/example-producer/build.gradle
@@ -34,7 +34,7 @@ dependencies {
     implementation project(':synapse-testsupport:')
 
     testImplementation 'junit:junit:4.13.2'
-    testImplementation "org.mockito:mockito-core:4.8.1"
+    testImplementation "org.mockito:mockito-core:5.1.1"
     testImplementation "org.springframework.boot:spring-boot-test:${springBootVersion}"
     testImplementation "org.springframework:spring-test:${springVersion}"
     testImplementation "org.awaitility:awaitility:4.2.0"
diff --git a/synapse-redis/build.gradle b/synapse-redis/build.gradle
index d387a173..5b62adb3 100644
--- a/synapse-redis/build.gradle
+++ b/synapse-redis/build.gradle
@@ -23,7 +23,7 @@ dependencies {
     testImplementation "com.jayway.jsonpath:json-path-assert:2.7.0"
     testImplementation 'com.tngtech.java:junit-dataprovider:1.13.1'
     testImplementation "org.awaitility:awaitility:4.2.0"
-    testImplementation "org.mockito:mockito-core:4.8.1"
+    testImplementation "org.mockito:mockito-core:5.1.1"
     testImplementation "ch.qos.logback:logback-core:${logbackVersion}"
     testImplementation "ch.qos.logback:logback-classic:${logbackVersion}"
 }
diff --git a/synapse-testsupport/build.gradle b/synapse-testsupport/build.gradle
index adb994f6..9a402be9 100644
--- a/synapse-testsupport/build.gradle
+++ b/synapse-testsupport/build.gradle
@@ -24,7 +24,7 @@ dependencies {
     testImplementation "com.jayway.jsonpath:json-path-assert:2.7.0"
     testImplementation 'com.tngtech.java:junit-dataprovider:1.13.1'
     testImplementation "org.awaitility:awaitility:4.2.0"
-    testImplementation "org.mockito:mockito-core:4.8.1"
+    testImplementation "org.mockito:mockito-core:5.1.1"
     testImplementation "ch.qos.logback:logback-core:${logbackVersion}"
     testImplementation "ch.qos.logback:logback-classic:${logbackVersion}"
 }