So why did Liferay not stick with Ubuntu 24.04 LTS ? The Dockerfile already contains apt-get update and upgrade, so that should be sufficient in terms of getting the latest updates and security fixes for the OS.
The current approach Liferay uses introduces intervalls, where the OS could be potentially insecure.
You are right about the dates, but the current images already fix this. In early October, Liferay moved the base OS of its Docker images to Ubuntu 26.04 LTS (Resolute Raccoon), under ticket LPD-107955. In the liferay-docker repository, the base Dockerfile now starts from ubuntu:resolute (commit “LPD-107955 Upgrade the OS of the base Docker image to Ubuntu Resolute Raccoon”, merged on October 7).
This matches your list: 2026.q3.6 (October 2) is still on 25.10, while 2026.q3.7, 2026.q1.13-lts, 2026.q2.12 and later releases run on 26.04.1. So the simple action is to move to the latest tag of your quarter and stop using the older ones.
About the non-LTS choice: it is deliberate. In early 2025 the base image left 22.04 LTS (jammy) for 24.10 (oracular), as part of DOCKER-271, whose goal was to fix Critical and High OS vulnerabilities by getting newer packages. Since then, Liferay has followed the newest Ubuntu release: 25.04 in June 2025, 25.10 in February 2026, 26.04 in October 2026. LPD-74810 and LPD-107955 give the same reason: update Ubuntu often to reduce the vulnerabilities that customers’ security scans report on the images.
The downside is exactly what you found. Ubuntu 25.10 reached end of life on July 9, but the move to 26.04 only landed on October 7. Images built during that gap ran on a release with no more updates, so apt-get upgrade in the build could not bring new security fixes.
Both tickets ask for an upgrade “to the newest version”, so I would not assume the images will stay on an LTS release after 26.04. Before you adopt a new tag, you can check its OS with cat /etc/os-release inside the container.
Hi Sebastien,
thanks for your answer and the ticket links.
I had a locked at the descriptions. Liferay did it in the past and they will probably do it again: Changing Ubuntu as soon as a new version is released.
I totally understand the feedback from customers, if their security scanners find vulnerabilities.
“Recently, a Liferay customer reported that the Docker image of the release 2025.q1.2-lts has low and medium security vulnerabilities associated to Ubuntu packages installed on it. In addition, during a discussion in the , see this comment, Support shared that a security scan executed on their side revealed no security vulnerabilities in the newest Ubuntu version (Ubuntu 25.04 - Plucky Puffin). Therefore, the goal of this ticket is upgrade the Ubuntu version in the Docker images to this newest version available and deliver to Liferay customers Docker images with 0 security vulnerabilities.”
But Liferays conclusion is wrong in my opinion. It is not about getting new Ubuntu versions, but getting the latest security updates for the installed packages.
A security scanner should analyze the current version numbers of all packages and not just check an OS version.
If Liferay would stick with LTS versions they could build new images for existing dxp versions without security problems - anytime.
That is want we do before we go in production. We build our own docker image based on Liferays official image and call apt-get update / upgrade. But i cannot do that if the OS already is outdated.
And another point disturbs me. Liferay uses Ubuntu versions that are not listed in the official compatibility matrix.
That does not increase my trust in the list or the docker images.
Nowadays where the timespan between finding a vulnerabilities and having a working exploit dramatically decreased to hours - thanks to AI - i need to able to mitigate immediatley and cannot wait for two month.
So I think Liferay should improve the image building process to make it more secure.