diff --git a/samples/spring-data-jdbc/postgresql/pom.xml b/samples/spring-data-jdbc/postgresql/pom.xml
index 079036be4..f92603eeb 100644
--- a/samples/spring-data-jdbc/postgresql/pom.xml
+++ b/samples/spring-data-jdbc/postgresql/pom.xml
@@ -72,7 +72,7 @@
org.postgresql
postgresql
- 42.7.7
+ 42.7.8
diff --git a/samples/spring-data-mybatis/postgresql/pom.xml b/samples/spring-data-mybatis/postgresql/pom.xml
index 1e7c23616..8e03093fc 100644
--- a/samples/spring-data-mybatis/postgresql/pom.xml
+++ b/samples/spring-data-mybatis/postgresql/pom.xml
@@ -75,7 +75,7 @@
org.postgresql
postgresql
- 42.7.7
+ 42.7.8
org.testcontainers