ADVISORIES

Vulnerability

CVE-2026-46431

Algernon is a small self-contained pure-Go web server. Prior to 1.17.7, the SSE event server's Access-Control-Allow-Origin response header was hardcoded to the wildcard * regardless of the caller's Origin. Because EventSource does not preflight and does not send cookies, the wildcard is sufficient to let any third-party page the developer visits open a cross-origin EventSource to the SSE port and read the live filename stream from JavaScript. This vulnerability is fixed in 1.17.7.

3 advisories report this vulnerability, across 2 ecosystems.

Medium severity All Go 2openSUSE 1

Advisories in Go

  • GHSA-hw27-4v2q-5qff

    Algernon: Auto-refresh SSE event server sets Access-Control-Allow-Origin: *

    Moderate CVE-2026-46431 Go Updated 25 June 2026
  • GO-2026-5440

    Algernon: Auto-refresh SSE event server sets Access-Control-Allow-Origin: * in github.com/xyproto/algernon

    CVE-2026-46431 Go Updated 25 June 2026

References