Find a practical answer

Search SmallGrid

Popular: Jellyfin, Docker, Ubuntu Server, Proxmox, backups and mini PCs.

← All home lab updates

Ubuntu update

Ubuntu Nginx Security Update: Check Your Reverse Proxy for USN-9182-1

Ubuntu USN-9182-1 fixes three Nginx vulnerabilities, including a try_files and alias denial of service. Check packages, patch safely and verify HTTPS.

Published 23 Nov 2026High impactAction recommended

Quick answer

Canonical published USN-9182-1 on 20 November 2026, fixing three Nginx vulnerabilities across Ubuntu releases from 14.04 LTS to 26.10.

One issue can let a remote attacker crash Nginx when a configuration uses a particular combination of try_files and alias. The other two involve TLS ClientHello parsing and TLS connections, but Canonical fixed those on a narrower set of Ubuntu releases.

If Ubuntu’s native Nginx package serves Jellyfin or another application, use this sequence:

identify the Nginx package source
→ compare the installed and candidate package versions
→ inspect try_files and alias use without rewriting it blindly
→ back up the configuration
→ run nginx -t
→ apply Ubuntu's security update
→ test Nginx, HTTPS and the real upstream applications

Nginx Proxy Manager in Docker is a separate update path. Updating the Ubuntu host’s Nginx package does not replace the Nginx binary inside that container.

What USN-9182-1 fixes

Canonical lists three vulnerabilities:

VulnerabilityPotential impactUbuntu releases where Canonical addressed it
CVE-2026-125283A particular try_files and alias configuration can be used remotely to crash Nginx, causing a denial of service14.04 LTS through 26.10
CVE-2026-123640Crafted TLS ClientHello messages can expose sensitive information18.04 LTS, 20.04 LTS, 22.04 LTS and 24.04 LTS
CVE-2026-118899Certain TLS connections can be used remotely to cause a denial of service18.04 LTS, 20.04 LTS and 22.04 LTS

The release-specific limits matter. Do not describe every issue as affecting every supported Ubuntu version.

A matching directive is also not evidence that a server has been exploited. Patch the package, then review the actual active configuration and exposure.

Corrected Ubuntu package versions

For the Ubuntu releases most likely to be used on a current home server, Canonical lists these corrected versions:

Ubuntu releaseCorrected Nginx package version
26.101.30.4-7ubuntu1.3
26.04 LTS1.28.3-2ubuntu1.14
24.04 LTS1.24.0-2ubuntu7.21
22.04 LTS1.18.0-6ubuntu14.24

The same notice lists these versions for older releases:

Ubuntu releaseCorrected Nginx package versionAdditional coverage
20.04 LTS1.18.0-0ubuntu1.7+esm6Ubuntu Pro / ESM
18.04 LTS1.14.0-0ubuntu1.11+esm7Ubuntu Pro / ESM
16.04 LTS1.10.3-0ubuntu0.16.04.5+esm12Ubuntu Pro with Legacy Support
14.04 LTS1.4.6-1ubuntu3.9+esm11Ubuntu Pro with Legacy Support

These are Ubuntu package versions with backported fixes. Do not compare only the short output from nginx -v, and do not install a package built for a different Ubuntu release.

1. Identify the Nginx installation

On the machine that actually receives HTTPS traffic:

cat /etc/os-release
command -v nginx
nginx -v
dpkg-query -W -f='${binary:Package}\t${Version}\n' 'nginx*' 2>/dev/null
apt-cache policy nginx nginx-core nginx-full nginx-extras nginx-light

Check whether the package comes from Ubuntu, nginx.org, a PPA or another source. USN-9182-1’s version table applies to Ubuntu’s packages, not automatically to third-party builds.

If Nginx is not installed on the host, look for a containerised proxy:

docker compose ls
docker ps --format 'table {{.Names}}\t{{.Image}}\t{{.Ports}}'

Do not install native Nginx merely to follow this article.

2. Find try_files and alias rules without changing them

First test and inspect the current configuration:

sudo nginx -t
sudo grep -RInE '(^|[[:space:]])(try_files|alias)[[:space:]]' /etc/nginx

The search is a review aid, not a vulnerability scanner. Seeing both directives somewhere under /etc/nginx does not prove the vulnerable combination is active or reachable. It can also miss configuration included from another directory.

Nginx can print the merged active configuration with:

sudo nginx -T

Treat that output as sensitive because it may reveal hostnames, internal addresses and certificate paths. Do not paste it into a public issue without reviewing and redacting it.

Avoid replacing a working location block with an untested example. The security update is the primary fix; any configuration redesign should be tested separately against the site’s real static files, fallbacks and upstream routes.

For a wider configuration review, use How to Secure an Nginx Reverse Proxy on Ubuntu.

3. Back up and test before patching

Protect the configuration and record the current service state:

sudo nginx -t
sudo tar -C /etc -czf /root/nginx-before-usn-9182-1-$(date +%F).tar.gz nginx
systemctl status nginx --no-pager
sudo journalctl -u nginx -n 40 --no-pager

The /etc/nginx archive may not contain certificate private keys or renewal state stored elsewhere, such as /etc/letsencrypt. Preserve those through the existing secure backup process and never copy private keys into a public support request.

If nginx -t already fails, fix that pre-existing error before reloading the service. A syntax test does not prove that every upstream application works, but a failed test is a reason to stop.

4. Preview and apply the Ubuntu update

Refresh package metadata and inspect the proposed transaction:

sudo apt update
apt list --upgradable 2>/dev/null | grep nginx
sudo apt-get -s upgrade

Confirm the candidate version comes from the intended source and is at least the corrected package version for that Ubuntu release. Read the simulation for unexpected removals or package-source changes.

Canonical states that a standard system update makes the necessary changes. After arranging a maintenance window:

sudo apt upgrade

This can update other pending packages and may restart or reload Nginx. Keep SSH or console access and do not combine the patch with a proxy redesign, operating-system release upgrade or unrelated container refresh.

5. Verify the package, Nginx and HTTPS

After the update:

dpkg-query -W -f='${binary:Package}\t${Version}\n' 'nginx*' 2>/dev/null
sudo nginx -t
systemctl status nginx --no-pager
sudo journalctl -u nginx -n 60 --no-pager

If the configuration passes and a reload is still required:

sudo systemctl reload nginx

Do not reload when nginx -t fails.

From a device that uses the normal route to the proxy, test a real hostname you control:

curl -I --max-time 15 https://YOUR_HOSTNAME
openssl s_client -connect YOUR_HOSTNAME:443 -servername YOUR_HOSTNAME -verify_return_error </dev/null

Replace YOUR_HOSTNAME with the real name. Confirm the expected certificate chain, redirects and application response. For Jellyfin, also test login and a real playback session; a healthy Nginx process alone does not prove that streaming or upstream WebSocket traffic works.

What if you use Nginx Proxy Manager?

Nginx Proxy Manager normally bundles Nginx in its own Docker image. Ubuntu’s Apt update on the host does not patch that image.

Identify the running image and service:

docker compose ls
docker ps --format 'table {{.Names}}\t{{.Image}}\t{{.Status}}'

Then use the project’s supported release and upgrade guidance. Before changing the image, back up its Compose definition, database, /data and certificate storage, then verify every important proxy host afterwards. See How to Back Up and Restore Docker Compose Services and How to Update Docker Containers Safely.

Do not assume USN-9182-1’s Ubuntu package strings describe the container’s bundled Nginx build. Check the image vendor’s release information.

What SmallGrid readers should do

Native Ubuntu Nginx: compare the full installed package version with USN-9182-1, back up, patch from the existing supported repository and test the real HTTPS services.

A configuration containing try_files or alias: prioritise the update, then review whether the directives interact in the same reachable location. Do not make an untested emergency rewrite.

Nginx Proxy Manager: follow the container vendor’s update path and protect its persistent data first.

Older Ubuntu releases: confirm Ubuntu Pro, ESM or Legacy Support provides the corrected package. A successful apt update alone does not prove that an ageing public server receives all required security fixes.

Official sources


Recap

USN-9182-1 is a new Ubuntu Nginx security update, not a reason to paste an untested replacement configuration into a live proxy. Identify the package you actually run, apply the supported fix, inspect try_files and alias use carefully, then prove that HTTPS and the applications behind Nginx still work.

Keep the permanent fix nearby

Affected SmallGrid guides

Primary source

This update is based on the official announcement: USN-9182-1: nginx vulnerabilities.