diff --git a/12/mysql-tomcat/.env b/12/mysql-tomcat/.env
index 2ef28ca3b49adfffa0fabe35014a80e3fc157df9..b32a2adba9eeafc1118c4ee136651da1c964a059 100644
--- a/12/mysql-tomcat/.env
+++ b/12/mysql-tomcat/.env
@@ -1,5 +1,5 @@
 # Default environment values
-XWIKI_VERSION=12.7
+XWIKI_VERSION=12.7.1
 DB_USER=xwiki
 DB_PASSWORD=xwiki
 DB_DATABASE=xwiki
diff --git a/12/mysql-tomcat/Dockerfile b/12/mysql-tomcat/Dockerfile
index baedf674fa5bf1d71148bc2231cd22dade39399e..53df8948c89a744b7cca2b2aaab1c3af14e0ec88 100644
--- a/12/mysql-tomcat/Dockerfile
+++ b/12/mysql-tomcat/Dockerfile
@@ -43,9 +43,9 @@ RUN apt-get update && \
 # Install XWiki as the ROOT webapp context in Tomcat
 # Create the Tomcat temporary directory
 # Configure the XWiki permanent directory
-ENV XWIKI_VERSION="12.7"
+ENV XWIKI_VERSION="12.7.1"
 ENV XWIKI_URL_PREFIX "https://maven.xwiki.org/releases/org/xwiki/platform/xwiki-platform-distribution-war/${XWIKI_VERSION}"
-ENV XWIKI_DOWNLOAD_SHA256 2106a0bb64e7ee755b356cd5e661da98d650baf64ff820b221b1751afa0ffb95
+ENV XWIKI_DOWNLOAD_SHA256 2486c6facdac4b0fc2f1ba8c4c415d6beab0899ae9997597a1684b0b4513a173
 RUN rm -rf /usr/local/tomcat/webapps/* && \
   mkdir -p /usr/local/tomcat/temp && \
   mkdir -p /usr/local/xwiki/data && \
diff --git a/12/postgres-tomcat/.env b/12/postgres-tomcat/.env
index dc275b1a4e3b3d0dc4224c86ed4d60e4a4fbb91d..146aacdb3a231190be1bee0715adfcab4616c406 100644
--- a/12/postgres-tomcat/.env
+++ b/12/postgres-tomcat/.env
@@ -1,5 +1,5 @@
 # Default environment values
-XWIKI_VERSION=12.7
+XWIKI_VERSION=12.7.1
 DB_USER=xwiki
 DB_PASSWORD=xwiki
 DB_DATABASE=xwiki
diff --git a/12/postgres-tomcat/Dockerfile b/12/postgres-tomcat/Dockerfile
index 2c4c139b8353c43bf01156d7660d8e78ba58f41c..8df3e9fa3956aa6979fd88121638cbeac610ca98 100644
--- a/12/postgres-tomcat/Dockerfile
+++ b/12/postgres-tomcat/Dockerfile
@@ -44,9 +44,9 @@ RUN apt-get update && \
 # Install XWiki as the ROOT webapp context in Tomcat
 # Create the Tomcat temporary directory
 # Configure the XWiki permanent directory
-ENV XWIKI_VERSION="12.7"
+ENV XWIKI_VERSION="12.7.1"
 ENV XWIKI_URL_PREFIX "https://maven.xwiki.org/releases/org/xwiki/platform/xwiki-platform-distribution-war/${XWIKI_VERSION}"
-ENV XWIKI_DOWNLOAD_SHA256 2106a0bb64e7ee755b356cd5e661da98d650baf64ff820b221b1751afa0ffb95
+ENV XWIKI_DOWNLOAD_SHA256 2486c6facdac4b0fc2f1ba8c4c415d6beab0899ae9997597a1684b0b4513a173
 RUN rm -rf /usr/local/tomcat/webapps/* && \
   mkdir -p /usr/local/tomcat/temp && \
   mkdir -p /usr/local/xwiki/data && \
diff --git a/build.gradle b/build.gradle
index 5b9510a493d4a4f63bd8d048379999e67345bf69..b23f42e0b0e29a461f31a00b174e9edf7c0dce73 100644
--- a/build.gradle
+++ b/build.gradle
@@ -39,8 +39,8 @@ def tokens = [
         xwikiSha256: '497477c610b668bed7314c89bb0bde6dae4a0664404f4d4499e1d95d7eb94829'
     ],
     '12': [
-        xwikiVersion: '12.7',
-        xwikiSha256: '2106a0bb64e7ee755b356cd5e661da98d650baf64ff820b221b1751afa0ffb95'
+        xwikiVersion: '12.7.1',
+        xwikiSha256: '2486c6facdac4b0fc2f1ba8c4c415d6beab0899ae9997597a1684b0b4513a173'
     ]
 ]