nginx remote code execution flaw patched: how to update (July 2026)
On July 17, 2026, the Korean press reported a remote code execution flaw in nginx.
According to the reports, an update that fixes it is out.
The reports rated it critical.
KISA's KrCERT also issued a security notice.
Who is affected: servers running websites, reverse proxies or load balancers on nginx. The steps below show how to check your version and update.
How to fix it
nginx
Who: Servers running websites, reverse proxies or load balancers on nginx
- Check the installed version
nginx -v - Ubuntu, Debian
sudo apt update && sudo apt install --only-upgrade nginx - RHEL, Rocky, Alma, Amazon Linux
sudo dnf upgrade nginx - Test the configuration and restart
sudo nginx -t && sudo systemctl restart nginx
Distribution packages often carry fixes under an older version number. Do not go by the version number alone: check the distribution's security notice to see whether your package has the fix.
Official noticesKISA: NGINX 제품 보안 업데이트 권고
Original articles
SYINNOVATION wrote this summary itself from the reports above and the official notices. The steps follow the vendors' official support pages; for company systems, check with your IT team or supplier first.