diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml
index 42b13f3e5..5533f437c 100644
--- a/samples/install-without-bom/pom.xml
+++ b/samples/install-without-bom/pom.xml
@@ -36,7 +36,7 @@
com.google.cloud
google-cloud-pubsub
- 1.120.0
+ 1.120.7
diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml
index c9435e8cf..61ff13b52 100644
--- a/samples/snapshot/pom.xml
+++ b/samples/snapshot/pom.xml
@@ -34,7 +34,7 @@
com.google.cloud
google-cloud-pubsub
- 1.120.0
+ 1.120.7