Concurrency Issue in Algernon Web Server by XYPROTOCOL
CVE-2026-43981
8.2HIGH
What is CVE-2026-43981?
Algernon, a Go-based web server, faces a significant concurrency issue prior to version 1.17.6. In its engine/luahandler.go code, the synchronization mechanism (sync.RWMutex) is released too early during the execution of Lua virtual machine functions, specifically during L.Push() and L.PCall(). This premature release can lead to a race condition in which multiple concurrent requests interact with a shared Lua state, resulting in potential corruption of the Lua VM. The Go race detector highlights this vulnerability with ease under moderate concurrent loads, validating the risk for users of the affected versions. The issue has been addressed and resolved in version 1.17.6.
Affected Version(s)
algernon < 1.17.6
