CVE-2026-42945

HIGHPre-NVD 8.18.1
EchelonGraph scoreMEDIUM confidence

Score 8.1 from GitHub Security Advisory (severity: CRITICAL) published 2026-05-13. the CNA's CVSS baseline 8.1; sources differ by 0.0.

Triggered by: GitHub Security Advisory CVSS
Sources: cna:f5, epss, ghsa
Elevated
8.1
EchelonGraph verdictPatch this weekExploitation is likely or a public exploit exists.
  • High exploitation likelihood — EPSS 61%
CISA-KEV: Not listedEPSS: 61%CVSS: 8.1Exploit: NoneExposed: 0

A fix is available — apply it.

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.

CVSS v3
8.1
EG Score
8.1(medium)
EPSS
99.1%
KEV
Not listed

Published

May 13, 2026

Last Modified

July 2, 2026

Advisory Details (1)

Auto-updated May 13, 2026
No patch confirmed yet.

Patch Availability(29)

Vendor / EcosystemFixed in / PatchReleasedSource
ubuntunginx-light (1.10.3-0ubuntu0.16.04.5+esm7) @ xenial2026-06-29ubuntu
ubuntunginx-light (1.28.0-6ubuntu1.3) @ questing2026-06-29ubuntu
redhatodf4/odf-multicluster-console-rhel9:17799683032026-06-02redhat
redhatodf4/odf-multicluster-console-rhel9:17799466912026-06-02redhat
redhatodf4/odf-multicluster-console-rhel9:17798813322026-06-02redhat
redhatodf4/odf-multicluster-console-rhel9:17798811222026-06-02redhat
redhatodf4/odf-multicluster-console-rhel9:17799524632026-06-02redhat
redhatodf4/odf-multicluster-console-rhel9:17799595922026-06-02redhat
redhatodf4/odf-multicluster-console-rhel9:17799721792026-06-02redhat
redhatodf4/odf-multicluster-console-rhel9:17798813772026-06-02redhat
redhatrhui5/rhua-rhel9:17797982222026-05-27redhat
redhatsatellite/iop-gateway-rhel9:17797067972026-05-25redhat
redhatsatellite/iop-gateway-rhel9:17797067452026-05-25redhat
redhatnginx:1.24-9080020260514160836.92026-05-19redhat
redhatnginx-2:1.26.3-6.el10_2.32026-05-19redhat
redhatnginx:1.26-9080020260514152324.92026-05-19redhat
redhatnginx-2:1.20.1-28.el9_8.22026-05-19redhat
redhatnginx:1.24-8100020260514165201.489197e62026-05-18redhat
redhatnginx-2:1.20.1-24.el9_7.32026-05-18redhat
redhatnginx-2:1.26.3-2.el10_1.22026-05-18redhat
redhatnginx-1:1.20.1-10.el9_0.42026-05-15redhat
redhatnginx-2:1.20.1-22.el9_6.62026-05-15redhat
redhatnginx:1.26-9060020260514170123.92026-05-15redhat
redhatnginx-1:1.20.1-14.el9_2.62026-05-15redhat
redhatnginx-1:1.20.1-16.el9_4.62026-05-15redhat
redhatnginx:1.24-9040020260514192210.92026-05-15redhat
redhatnginx-2:1.26.3-1.el10_0.92026-05-15redhat
redhatnginx:1.24-9060020260514175739.92026-05-15redhat
redhatnginx-main-1.30.1-1.hum12026-05-14redhat

Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.

Weakness Classification(2)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Additional Vendor Advisories

(8)

Data Freshness Timeline

(refreshed 5× in last 7d / 71× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

Showing the most recent 100 of 178 total refreshes for this CVE.

  1. 2026-07-11 08:27 UTCEPSS rescore
  2. 2026-07-09 19:10 UTCEPSS rescore
  3. 2026-07-08 15:16 UTCEPSS rescore
  4. 2026-07-06 16:27 UTCEPSS rescore
  5. 2026-07-05 02:30 UTCEPSS rescore
  6. 2026-07-01 15:06 UTCEPSS rescore
  7. 2026-06-30 23:22 UTCEPSS rescore
  8. 2026-06-29 22:58 UTCEG score recompute
  9. 2026-06-29 22:58 UTCVendor advisory
  10. 2026-06-29 22:58 UTCGHSA enrichment
  11. 2026-06-28 11:31 UTCEG score recompute
  12. 2026-06-28 11:31 UTCVendor advisory
  13. 2026-06-28 11:31 UTCGHSA enrichment
  14. 2026-06-28 04:56 UTCEPSS rescore
  15. 2026-06-27 23:33 UTCEG score recompute
  16. 2026-06-27 23:33 UTCVendor advisory
  17. 2026-06-27 23:33 UTCGHSA enrichment
  18. 2026-06-27 08:12 UTCEG score recompute
  19. 2026-06-27 08:12 UTCVendor advisory
  20. 2026-06-27 08:12 UTCGHSA enrichment
  21. 2026-06-27 03:08 UTCEPSS rescore
  22. 2026-06-26 20:32 UTCEG score recompute
  23. 2026-06-26 20:32 UTCVendor advisory
  24. 2026-06-26 20:32 UTCGHSA enrichment
  25. 2026-06-25 19:41 UTCEG score recompute
Show 75 more
  1. 2026-06-25 19:41 UTCVendor advisory
  2. 2026-06-25 19:41 UTCGHSA enrichment
  3. 2026-06-25 13:49 UTCEPSS rescore
  4. 2026-06-25 13:49 UTCEPSS rescore
  5. 2026-06-24 14:05 UTCEPSS rescore
  6. 2026-06-23 21:33 UTCEPSS rescore
  7. 2026-06-22 14:25 UTCEPSS rescore
  8. 2026-06-22 14:25 UTCEPSS rescore
  9. 2026-06-21 14:56 UTCEPSS rescore
  10. 2026-06-21 14:56 UTCEPSS rescore
  11. 2026-06-21 01:59 UTCEPSS rescore
  12. 2026-06-18 17:52 UTCEPSS rescore
  13. 2026-06-18 17:52 UTCEPSS rescore
  14. 2026-06-17 17:53 UTCEPSS rescore
  15. 2026-06-17 14:34 UTCEG score recompute
  16. 2026-06-17 14:34 UTCVendor advisory
  17. 2026-06-17 14:34 UTCGHSA enrichment
  18. 2026-06-16 22:33 UTCEG score recompute
  19. 2026-06-16 22:33 UTCVendor advisory
  20. 2026-06-16 22:33 UTCGHSA enrichment
  21. 2026-06-16 17:52 UTCEPSS rescore
  22. 2026-06-16 00:57 UTCEG score recompute
  23. 2026-06-16 00:57 UTCVendor advisory
  24. 2026-06-16 00:56 UTCGHSA enrichment
  25. 2026-06-15 17:49 UTCEPSS rescore
  26. 2026-06-14 22:53 UTCEG score recompute
  27. 2026-06-14 22:53 UTCVendor advisory
  28. 2026-06-14 22:53 UTCGHSA enrichment
  29. 2026-06-14 11:20 UTCEG score recompute
  30. 2026-06-14 11:20 UTCVendor advisory
  31. 2026-06-14 11:20 UTCGHSA enrichment
  32. 2026-06-13 23:47 UTCEG score recompute
  33. 2026-06-13 23:47 UTCVendor advisory
  34. 2026-06-13 23:47 UTCGHSA enrichment
  35. 2026-06-13 23:00 UTCEPSS rescore
  36. 2026-06-13 07:00 UTCEG score recompute
  37. 2026-06-13 07:00 UTCVendor advisory
  38. 2026-06-13 07:00 UTCGHSA enrichment
  39. 2026-06-12 23:12 UTCEPSS rescore
  40. 2026-06-12 23:12 UTCEPSS rescore
  41. 2026-06-12 19:26 UTCEG score recompute
  42. 2026-06-12 19:26 UTCVendor advisory
  43. 2026-06-12 19:26 UTCGHSA enrichment
  44. 2026-06-12 07:50 UTCEG score recompute
  45. 2026-06-12 07:50 UTCVendor advisory
  46. 2026-06-12 07:49 UTCGHSA enrichment
  47. 2026-06-11 20:17 UTCEG score recompute
  48. 2026-06-11 20:17 UTCVendor advisory
  49. 2026-06-11 20:17 UTCGHSA enrichment
  50. 2026-06-11 14:00 UTCEPSS rescore
  51. 2026-06-11 08:45 UTCEG score recompute
  52. 2026-06-11 08:45 UTCVendor advisory
  53. 2026-06-11 08:44 UTCGHSA enrichment
  54. 2026-06-10 22:18 UTCEPSS rescore
  55. 2026-06-10 21:12 UTCEG score recompute
  56. 2026-06-10 21:12 UTCVendor advisory
  57. 2026-06-10 21:12 UTCGHSA enrichment
  58. 2026-06-10 13:22 UTCEPSS rescore
  59. 2026-06-10 13:22 UTCEPSS rescore
  60. 2026-06-10 09:39 UTCEG score recompute
  61. 2026-06-10 09:39 UTCVendor advisory
  62. 2026-06-10 09:39 UTCGHSA enrichment
  63. 2026-06-09 22:07 UTCEG score recompute
  64. 2026-06-09 22:07 UTCVendor advisory
  65. 2026-06-09 22:07 UTCGHSA enrichment
  66. 2026-06-09 10:29 UTCEG score recompute
  67. 2026-06-09 10:29 UTCVendor advisory
  68. 2026-06-09 10:29 UTCGHSA enrichment
  69. 2026-06-08 22:57 UTCEG score recompute
  70. 2026-06-08 22:57 UTCVendor advisory
  71. 2026-06-08 22:57 UTCGHSA enrichment
  72. 2026-06-08 14:17 UTCEPSS rescore
  73. 2026-06-08 14:17 UTCEPSS rescore
  74. 2026-06-08 11:24 UTCEG score recompute
  75. 2026-06-08 11:24 UTCVendor advisory

Publicly available exploits

(10 references)

Working exploit code is in the public domain (10 GitHub PoCs). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.

  • GitHub PoCbamov970/CVE-2026-42945-Nginx-RCE-bypass-ASLR
    First seen May 25, 2026

    CVE-2026-42945 turns a 17-year-old NGINX rewrite bug into remote code execution — even with ASLR on, by chaining the heap overflow with live worker memory read through a common file-read flaw.

    Open source ↗
  • GitHub PoCnu0l/NGINX-Rift
    First seen May 25, 2026

    CVE-2026-42945 NGINX 堆溢出漏洞扫描与验证工具

    Open source ↗
  • GitHub PoCMateusVerass/nGixshell
    First seen May 16, 2026

    nginx CVE scanner + RCE exploit framework (CVE-2026-42945 + 16 others)

    Open source ↗
  • GitHub PoCjelasin/CVE-2026-42945
    First seen May 15, 2026
    Open source ↗
  • GitHub PoCoseasfr/Scanner_CVE_2026-42945
    First seen May 15, 2026

    Script Python para detecção de instâncias Nginx vulneráveis ao CVE-2026-42945 em IPs, CIDRs e ASNs.

    Open source ↗
  • GitHub PoCiammerrida-source/nginx-rift-detect
    First seen May 15, 2026

    Behavioral detection script for CVE-2026-42945 (NGINX Rift) — heap overflow in ngx_http_rewrite_module. No RCE, crash-based detection only.

    Open source ↗
  • GitHub PoCrheodev/CVE-2026-42945
    First seen May 14, 2026

    NGINX Rift 漏洞分析与复现

    Open source ↗
  • GitHub PoCcipherspy/CVE-2026-42945-POC
    First seen May 14, 2026

    exploit for CVE-2026-42945

    Open source ↗
  • GitHub PoCnanwinata/nginxrift-CVE-2026-42945
    First seen May 14, 2026
    Open source ↗
  • GitHub PoCfriparia/NGINX_RIFT_SCAN_CVE_2026_42945
    First seen May 14, 2026

    Nginx Rewrite CVE Scan(CVE-2026-42945 nginx-rift CVE-2026-9256)

    Open source ↗

Frequently asked(5)

What is CVE-2026-42945?
CVE-2026-42945 is a high vulnerability published on May 13, 2026. NGINX Plus and NGINX Open Source have a vulnerability in the ngxhttprewrite_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…
When was CVE-2026-42945 disclosed?
CVE-2026-42945 was first published in the National Vulnerability Database on May 13, 2026, with the most recent update on July 2, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2026-42945 actively exploited?
CVE-2026-42945 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 99.1% percentile likelihood of exploitation in the next 30 days — higher percentiles indicate greater predicted risk.
What is the CVSS score of CVE-2026-42945?
CVE-2026-42945 has a CVSS v4.0 base score of 8.1 (CNA self-assessment; NVD's own analysis pending).
How do I remediate CVE-2026-42945?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-42945, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

Explore the affected products and dependency analysis for CVE-2026-42945

Explore →

Is Your Infrastructure Affected by CVE-2026-42945?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.