The CVE record says a remote peer can disrupt a cosocket connection while a receiveuntil() pattern iterator remains associated with its socket. Later reads or socket closure may access freed memory, crashing or corrupting the nginx worker.The affected component is OpenResty's stream Lua module, not a general NGINX core flaw. Worker memory corruption is a serious outcome, but the cited record does not establish reliable remote code execution.
What it allows
How Can CVE-2026-136412 Affect a Stream Lua Worker?
According to the CVE record, receiveuntil() can leave a pattern iterator linked to a cosocket after the iterator is garbage-collected. A remote peer may interrupt or close the connection. A subsequent read or socket cleanup can then follow a stale pointer and access freed memory.
The described result is an nginx worker crash or memory corruption. This requires an application path that uses the affected stream Lua module and cosocket pattern iterator, so version and configuration matter more than the product name alone. Review worker crashes and related stream Lua error logs around interrupted connections as a defensive investigation step, not as a validated detection signature.
In the GitHub search captured for this assignment on 25 November 2026, one public repository named CVE-2026-136412. The unit is a repository name match, not a verified proof of concept or an observed attack. CISA's KEV catalog snapshot dated 24 November 2026 did not list this CVE.
Use Vulnerability Intelligence to put the CVE in a wider prioritization workflow. The immediate decision is whether a deployed stream Lua module is older than the corrected version and handles this connection pattern.
Who is affected
Which OpenResty Stream Lua Versions Are Affected?
The CNA record identifies OpenResty's stream-lua-nginx-module before 0.0.20rc4 as affected. It does not say that every NGINX installation is affected. Exposure depends on the module actually being present and application code using the relevant cosocket receiveuntil() path.
Inventory the module version in each deployed OpenResty build, including bundled or custom builds. Compare the running module with 0.0.20rc4 and confirm whether the correction is present in your distribution. The CNA uses a custom version range, so check the module and packaged fix manually rather than treating an unrelated NGINX version as proof of remediation. Record the result in your vulnerability management workflow.
Timeline
-
2026-11-17
The VulnCheck CNA record gives this as its public disclosure date for the flaw.
-
2026-11-24
The CVE record was published with the affected version boundary and CVSS 4.0 and 3.1 scores.
What to do
-
Identify affected deployments
Find deployments that include stream-lua-nginx-module before 0.0.20rc4 and use cosocket receiveuntil() in stream processing. Prioritize reachable services where peers can interrupt the connection.
-
Update the module and verify the running build
Move to stream-lua-nginx-module 0.0.20rc4 or a later build containing the correction. After deployment, confirm the module version or packaged patch in the running OpenResty build; follow your patch management record.
-
Reduce exposure during rollout
If an update is delayed, limit unnecessary access to affected stream services and review whether the vulnerable receiveuntil() path is used. Treat this as temporary risk reduction, not a substitute for the fix.
-
Investigate worker failures
Review unusual worker crashes and stream Lua errors associated with interrupted or closed cosocket connections. The cited sources provide no validated exploitation indicator or detection signature.
What Brandefense can do
- Watch your stack for exploited flaws
Name the vendors and products you run, and Brandefense alerts you when a CVE in them is exploited.
- See CVE-2026-136412 in Brandefense Atlas
The Atlas record of CVE-2026-136412: severity, exploitation status and the sources behind it.
- Vulnerability intelligence platform
Brandefense Vulnerability Intelligence follows which vulnerabilities attackers are using, so your team can patch what is under attack first.
Frequently Asked Questions
Does CVE-2026-136412 affect NGINX core?
The CNA identifies OpenResty's stream-lua-nginx-module before 0.0.20rc4. It does not identify NGINX core as the vulnerable product; verify whether the module is actually in the deployed build.
What can the flaw do to a worker?
The CVE record describes access to freed memory after a cosocket connection is disrupted. It says the nginx worker may crash or become corrupted; it does not establish reliable remote code execution.
What version should teams verify after updating?
Verify stream-lua-nginx-module 0.0.20rc4 or a later build containing the correction in the running deployment. For bundled distributions, confirm the packaged patch as well as the version label.
Does the GitHub count confirm exploitation?
No. One public repository name matched the CVE in the 25 November 2026 assignment search. A name match does not verify its content or establish an attack against a deployment.
Sources
- CVE-2026-136412 RecordCVE Program / VulnCheck CNA
- OpenResty stream-lua-nginx-module Use-After-Free AdvisoryVulnCheck
- CVE-2026-136412 DetailNIST NVD
- Known Exploited Vulnerabilities CatalogCISA