diff --git a/samples/spring-data-jdbc/postgresql/pom.xml b/samples/spring-data-jdbc/postgresql/pom.xml
index 4724639c9..1db44d054 100644
--- a/samples/spring-data-jdbc/postgresql/pom.xml
+++ b/samples/spring-data-jdbc/postgresql/pom.xml
@@ -76,7 +76,7 @@
org.postgresql
postgresql
- 42.7.8
+ 42.7.9
diff --git a/samples/spring-data-mybatis/postgresql/pom.xml b/samples/spring-data-mybatis/postgresql/pom.xml
index 85199a3c4..db7deb7f8 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.8
+ 42.7.9
org.testcontainers