Critical Arbitrary Code Execution Vulnerability in nginx

nginx Updated 04 Jun 2026

Summary

29/05/2026
N/A
Yes i
High
8.1

RLSA-2026:19159: Critical: nginx security update. Affects nginx versions < 2:1.26.3-6.el10_2.3. Fixed in 2:1.26.3-6.el10_2.3. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

nginx is a high-performance web and proxy server designed to handle a large number of concurrent connections efficiently. It is widely used for serving static content, load balancing, and as a reverse proxy. The recent vulnerability identified as CVE-2026-42945 poses a significant risk to systems running nginx, potentially allowing attackers to execute arbitrary code.

Vulnerability Detail

The vulnerability, CVE-2026-42945, allows an attacker to execute arbitrary code on the server running nginx. This issue arises from improper handling of certain requests, which can be exploited to gain unauthorized access and control over the server. The ramifications of this vulnerability are severe, as it can lead to data breaches, service disruptions, and unauthorized access to sensitive information.

How To Fix

Minimum fixed version

2:1.26.3-6.el10_2.3

This is the first release that contains the fix.

sudo dnf update nginx

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If you are unable to update nginx immediately, consider implementing strict access controls and monitoring for unusual activity on your server. Additionally, you can temporarily disable certain features that may be exploited until a patch is applied.

Conclusion

The nginx vulnerability CVE-2026-42945 presents a critical risk that requires immediate attention. Users are urged to update their installations to the latest patched version to mitigate potential threats. Regular monitoring and adherence to security best practices are essential to safeguard against such vulnerabilities.

See every vulnerability recorded for nginx →

Share this vulnerability

FAQ

CVE-2026-42945 is a critical vulnerability in nginx that allows for arbitrary code execution, posing significant security risks.

You can check your nginx version by running 'nginx -v' in your terminal. If it is below 2:1.26.3-6.el10_2.3, it is vulnerable.

The vulnerability can lead to unauthorized access, data breaches, and control over the server, potentially compromising sensitive information.

Yes, you can use Vulert, which monitors open-source vulnerabilities in your software using just a manifest file. You can check your application against this vulnerability using the Vulert playground.

The CVSS score for CVE-2026-42945 is 8.1, indicating a high severity level.

Related vulnerabilities

Recent vulnerabilities recorded for nginx.

How To Fix

Minimum fixed version

2:1.26.3-6.el10_2.3

This is the first release that contains the fix.

sudo dnf update nginx

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback