Upgrade to the fixed release for your branch: 1.31.3, 1.30.4.Vendor announcement
Reload or restart nginx after upgrading; check ingress controllers and container images that bundle nginx too.
Using distro packages? Distros backport fixes under their own version numbers. Check your distro's status for CVE-2026-42533 (and the other 2 CVEs):Debian · Ubuntu · Red Hat · Alpine