diff --git a/java-securitycenter/samples/install-without-bom/pom.xml b/java-securitycenter/samples/install-without-bom/pom.xml
index 0ec7b6a634b4..d3e4b07bb62b 100644
--- a/java-securitycenter/samples/install-without-bom/pom.xml
+++ b/java-securitycenter/samples/install-without-bom/pom.xml
@@ -36,7 +36,7 @@
com.google.cloud
google-cloud-pubsub
- 1.120.18
+ 1.120.20
diff --git a/java-securitycenter/samples/snapshot/pom.xml b/java-securitycenter/samples/snapshot/pom.xml
index 97650c5022cc..78267b271ca3 100644
--- a/java-securitycenter/samples/snapshot/pom.xml
+++ b/java-securitycenter/samples/snapshot/pom.xml
@@ -34,7 +34,7 @@
com.google.cloud
google-cloud-pubsub
- 1.120.18
+ 1.120.20