diff --git a/java-securitycenter/samples/install-without-bom/pom.xml b/java-securitycenter/samples/install-without-bom/pom.xml
index 223e52cd0649..ece454ce04ec 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.17
+ 1.120.18
diff --git a/java-securitycenter/samples/snapshot/pom.xml b/java-securitycenter/samples/snapshot/pom.xml
index 6e83c8960653..8d987f3389a9 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.17
+ 1.120.18