Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/xyproto/algernon
  4. ›
  5. CVE-2026-46431

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

May 20, 2026 (updated June 8, 2026)

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. Combined with the lack of authentication (advisory #2a), no further trickery is required — any tab the developer opens has script-level read access to the stream.

This advisory covers the CORS configuration in isolation. The fix is independent of authentication and bind-address fixes: the wildcard could be replaced with a same-origin echo without touching either.

References

  • github.com/advisories/GHSA-hw27-4v2q-5qff
  • github.com/xyproto/algernon/security/advisories/GHSA-hw27-4v2q-5qff
  • nvd.nist.gov/vuln/detail/CVE-2026-46431

Code Behaviors & Features

Detect and mitigate CVE-2026-46431 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.17.7

Fixed versions

  • 1.17.7

Solution

Upgrade to version 1.17.7 or above.

Impact 4.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-942: Permissive Cross-domain Policy with Untrusted Domains

Source file

go/github.com/xyproto/algernon/CVE-2026-46431.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:54 +0000.