diff --git a/samples/spring-data-jdbc/postgresql/pom.xml b/samples/spring-data-jdbc/postgresql/pom.xml
index 59d1a8118..b9d2c28ce 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.5
+ 42.7.6
diff --git a/samples/spring-data-mybatis/postgresql/pom.xml b/samples/spring-data-mybatis/postgresql/pom.xml
index 7bab0db7f..b7a1c55d3 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.5
+ 42.7.6
org.testcontainers