Vulnerability in nginx
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as UBUNTU-CVE-2026-42945 has been found in nginx.
Successful exploitation can lead to full system takeover.
What to do: upgrade nginx to 1.4.6-1ubuntu3.9+esm6 or later.
If unsure, ask your IT team or search "nginx UBUNTU-CVE-2026-42945" on the vendor's site.
UBUNTU-CVE-2026-42945 (nginx)
Attack vector: remote (network-reachable) / unauthenticated / no user interaction
Patched: 1.4.6-1ubuntu3.9+esm6 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (unclassified) exists in nginx.
Check the vendor advisory for the affected versions of nginx.
Severity: ?. Successful exploitation can lead to full system takeover.
Update to 1.4.6-1ubuntu3.9+esm6.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'nginx' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'nginx' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
nginxを grep し、稼働しているサービス・バージョンを把握する。 -
2
Apply patchpatch
Upgrade nginx to 1.4.6-1ubuntu3.9+esm6ステージング環境で 1.4.6-1ubuntu3.9+esm6 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:Pro:14.04:LTSnginx |
< 1.4.6-1ubuntu3.9+esm6→ 1.4.6-1ubuntu3.9+esm6 |
1.4.6-1ubuntu3.9+esm6 |
| Ubuntu:Pro:16.04:LTSnginx |
< 1.10.3-0ubuntu0.16.04.5+esm7→ 1.10.3-0ubuntu0.16.04.5+esm7 |
1.10.3-0ubuntu0.16.04.5+esm7 |
| Ubuntu:Pro:18.04:LTSnginx |
< 1.14.0-0ubuntu1.11+esm2→ 1.14.0-0ubuntu1.11+esm2 |
1.14.0-0ubuntu1.11+esm2 |
| Ubuntu:20.04:LTSnginx |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSnginx |
< 1.18.0-6ubuntu14.11→ 1.18.0-6ubuntu14.11 |
1.18.0-6ubuntu14.11 |
| Ubuntu:24.04:LTSnginx |
< 1.24.0-2ubuntu7.8→ 1.24.0-2ubuntu7.8 |
1.24.0-2ubuntu7.8 |
| Ubuntu:25.10nginx |
< 1.28.0-6ubuntu1.3→ 1.28.0-6ubuntu1.3 |
1.28.0-6ubuntu1.3 |
| Ubuntu:26.04nginx |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSnginx |
< 1.28.3-2ubuntu1.1→ 1.28.3-2ubuntu1.1 |
1.28.3-2ubuntu1.1 |
| Ubuntu:Pro:20.04:LTSnginx |
< 1.18.0-0ubuntu1.7+esm1→ 1.18.0-0ubuntu1.7+esm1 |
1.18.0-0ubuntu1.7+esm1 |
Original description The description as published by the source.
NGINX Plus and NGINX Open Source have a vulnerability in the ngx_http_rewrite_module module. This vulnerability exists when the rewrite directive is followed by a rewrite, if, or set directive and an unnamed Perl-Compatible Regular Expression (PCRE) capture (for example, $1, $2) with a replacement string that includes a question mark (?). An unauthenticated attacker along with conditions beyond its control can exploit this vulnerability by sending crafted HTTP requests. This may cause a heap buffer overflow in the NGINX worker process leading to a restart. Additionally, attackers can execute code on systems with Address Space Layout Randomization (ASLR) disabled or when the attacker can bypass ASLR. Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory ubuntu.com
- advisory ubuntu.com
- report ubuntu.com
- report cve.org
- report openwall.com
- report depthfirst.com
- report my.f5.com
- report nginx.org