Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify Algernon instance with Lua handlers
-
DeliveryGenerate concurrent HTTP request flood
-
ExploitRace condition triggers on shared LState
-
ExecutionGopher-lua VM state corrupted
-
ImpactServer panic or denial of service
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V15 - Secure Coding and Architecture Concurrency control, locking
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The target Algernon instance must be running a version prior to 1.17.6 and must be serving at least one route handled by the Lua engine (engine/luahandler.go code path), since the race exists in LoadCommonFunctions on the shared gopher-lua LState. The attacker must be able to reach the HTTP listener over the network and generate sufficient concurrent request volume to trigger the race - the advisory demonstrates reliability at concurrency level 100, which accounts for the CVSS AC:H rating. No authentication, user interaction, or non-default configuration is otherwise required; deployments using only static file serving (no Lua handlers configured) are not exposed to this specific code path. |
| Impact | The CVSS 4.0 vector AV:N/AC:H/PR:N/UI:N/VA:H produces a score of 8.2, reflecting a network-reachable, unauthenticated, high-availability impact path with high attack complexity (AC:H) due to the timing/concurrency requirement. EPSS is only 0.04% (12th percentile) and the vulnerability is not on CISA KEV, indicating no observed mass exploitation. There is no confidentiality or integrity impact in the vector (VC:N/VI:N), so this is purely a denial-of-service / availability issue despite the 'Information Disclosure' tag in the source data - that tag appears inconsistent with the CVSS vector and description, which describe VM corruption rather than data leakage. Real-world priority is low-to-moderate: trivial to trigger with a load tester, but limited to crashing or destabilizing the Lua-handling worker rather than enabling code execution or data theft. |
| Exploit ScenarioDerived | A remote attacker sends a high volume of concurrent HTTP requests to any endpoint served by a Lua handler - the description confirms reproduction with 'ab -n 1000 -c 100' (Apache Bench, 1000 requests at concurrency 100). The concurrent goroutines race on the unprotected L.Push()/L.PCall() calls, corrupting the shared gopher-lua LState and causing the server to crash, panic, or return malformed responses, resulting in denial of service. No authentication or user interaction is required, and no public weaponized exploit is needed beyond a standard HTTP load generator. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 08, 2026
Denial of service in Algernon web server versions prior to 1.17.6 stems from a race condition in the Lua handler engine where the sync.RWMutex protecting LoadCommonFunctions is released before L.Push() and L.PCall() execute on the non-goroutine-safe gopher-lua LState. Concurrent HTTP requests corrupt the shared Lua VM state, causing server instability. No public exploit identified at time of analysis, and EPSS is very low (0.04%), but reproduction is trivial under modest load (ab -n 1000 -c 100).
RemediationAI
Vendor-released patch: upgrade Algernon to version 1.17.6 or later, which corrects the mutex scope in engine/luahandler.go so the RWMutex is held across L.Push() and L.PCall() execution. Operators should consult the GHSA-rr2f-4wrm-h6rg advisory at https://github.com/xyproto/algernon/security/advisories/GHSA-rr2f-4wrm-h6rg and the upstream issue at https://github.com/xyproto/algernon/issues/172 for fix details. Where immediate upgrade is not possible, compensating controls include placing Algernon behind a reverse proxy that rate-limits concurrent connections per client (reducing the window for the race but not eliminating it, with the trade-off of degraded throughput for legitimate burst traffic), disabling Lua handler routes if the deployment does not require server-side scripting (eliminates the vulnerable code path but breaks any Lua-driven functionality), or restricting network exposure of the Algernon instance to trusted networks only.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Algernon is a self-contained pure-Go web server written by xyproto that embeds gopher-lua for server-side scripting. The flaw is a classic CWE-362 (Concurrent Execution using Shared Resource with Improper Synchronization, aka race condition): the engine/luahandler.go file acquires a sync.RWMutex around LoadCommonFunctions but releases it before invoking L.Push() and L.PCall() on the gopher-lua LState. Gopher-lua's LState object is explicitly documented as not goroutine-safe, so simultaneous HTTP request handlers operating on the same LState race on shared internal pointers, stacks, and registries, leading to VM corruption that the Go race detector flags immediately.
Know when Algernon gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Primary rating from Vendor (GitHub_M) · only source for this CVE.
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
3DescriptionCVE.org
Algernon is a small self-contained pure-Go web server. Prior to 1.17.6, in engine/luahandler.go, the sync.RWMutex protecting LoadCommonFunctions is released before L.Push() and L.PCall() execute. Since gopher-lua's LState is explicitly not goroutine-safe, concurrent requests race on the shared state causing Lua VM corruption. The Go race detector confirms this immediately under modest concurrency (ab -n 1000 -c 100). This vulnerability is fixed in 1.17.6.
Executive ViewAI
Algernon web server versions prior to 1.17.6 contain a denial-of-service vulnerability triggered by concurrent HTTP requests, creating immediate risk of service unavailability for dependent organizations. No public exploit has been identified; however, the vulnerability is trivial to trigger under normal load conditions, necessitating urgent patching to prevent unplanned downtime.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Race conditions occur when multiple concurrent requests exploit the brief time gap between checking a condition and acting upon it (TOCTOU - Time of Check, Time of Use).
Cross-site scripting in Algernon 1.17.4 allows an attacker who can control a filename that Algernon later renders into a
All versions of the package github.com/xyproto/algernon/engine; all versions of the package github.com/xyproto/algernon/
Unauthenticated attackers can bypass Algernon's /admin, /repo and /data authorization boundary on case-insensitive files
Path traversal in Algernon web server versions prior to 1.17.6 allows remote unauthenticated attackers to write uploaded
Path traversal in xyproto's Algernon web server prior to 1.17.8 lets unauthenticated remote attackers escape the documen
EUVD-2026-31866
NVD
CVE.org
EPSS
GitHub
Exploit-DB