{
  "id": "CVE-2026-43981",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-43981",
  "published_at": "2026-05-26T16:31:55.696Z",
  "title": "Algernon: Race Condition in handle() shared LState",
  "vendor": "xyproto",
  "product": "algernon",
  "cvss": {
    "score": 8.2,
    "source": "cna",
    "vector": "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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.",
  "cwe": "CWE-362",
  "cvss_by_source": {
    "cna": 8.2
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "xyproto",
        "product": "algernon",
        "ranges": [
          "\u003c 1.17.6"
        ],
        "fixed_in": [
          "1.17.6"
        ]
      }
    ],
    "upgrade": [
      "Upgrade algernon to 1.17.6 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/xyproto/algernon/security/advisories/GHSA-rr2f-4wrm-h6rg"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
