diff --git a/mainline/alpine-perl/Dockerfile b/mainline/alpine-perl/Dockerfile
index c2746accf5a8d32987cd0b8faa415607e30aa6cd..6ef5b03bc9219da5cdb42991e30599d3e4ecc31f 100644
--- a/mainline/alpine-perl/Dockerfile
+++ b/mainline/alpine-perl/Dockerfile
@@ -2,7 +2,7 @@ FROM alpine:3.5
 
 LABEL maintainer="NGINX Docker Maintainers <docker-maint@nginx.com>"
 
-ENV NGINX_VERSION 1.13.6
+ENV NGINX_VERSION 1.13.7
 
 RUN GPG_KEYS=B0F4253373F8F6F510D42178520A9993A1C052F8 \
 	&& CONFIG="\
diff --git a/mainline/alpine/Dockerfile b/mainline/alpine/Dockerfile
index 8868666d09f64df56805cfb0b179b3fe46eb9ea5..c027c1eb5656ba3558f44615152f6a3a67a616a4 100644
--- a/mainline/alpine/Dockerfile
+++ b/mainline/alpine/Dockerfile
@@ -2,7 +2,7 @@ FROM alpine:3.5
 
 LABEL maintainer="NGINX Docker Maintainers <docker-maint@nginx.com>"
 
-ENV NGINX_VERSION 1.13.6
+ENV NGINX_VERSION 1.13.7
 
 RUN GPG_KEYS=B0F4253373F8F6F510D42178520A9993A1C052F8 \
 	&& CONFIG="\
diff --git a/mainline/stretch-perl/Dockerfile b/mainline/stretch-perl/Dockerfile
index 5a9e590bb3bc3a4e8634149f8fc1dc52b5df54ee..3ac0d3263f801e6670bef5ac9fc88143129acf21 100644
--- a/mainline/stretch-perl/Dockerfile
+++ b/mainline/stretch-perl/Dockerfile
@@ -2,8 +2,8 @@ FROM debian:stretch-slim
 
 LABEL maintainer="NGINX Docker Maintainers <docker-maint@nginx.com>"
 
-ENV NGINX_VERSION 1.13.6-1~stretch
-ENV NJS_VERSION   1.13.6.0.1.14-1~stretch
+ENV NGINX_VERSION 1.13.7-1~stretch
+ENV NJS_VERSION   1.13.7.0.1.15-1~stretch
 
 RUN set -x \
 	&& apt-get update \
diff --git a/mainline/stretch/Dockerfile b/mainline/stretch/Dockerfile
index fbfc09e2ca72807a49e02bcd5367984a0961c39f..e6aa79ac8584e26fe1217db9b1499da8d7d8c95c 100644
--- a/mainline/stretch/Dockerfile
+++ b/mainline/stretch/Dockerfile
@@ -2,8 +2,8 @@ FROM debian:stretch-slim
 
 LABEL maintainer="NGINX Docker Maintainers <docker-maint@nginx.com>"
 
-ENV NGINX_VERSION 1.13.6-1~stretch
-ENV NJS_VERSION   1.13.6.0.1.14-1~stretch
+ENV NGINX_VERSION 1.13.7-1~stretch
+ENV NJS_VERSION   1.13.7.0.1.15-1~stretch
 
 RUN set -x \
 	&& apt-get update \