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

CVE-2026-46430: Algernon: Auto-refresh SSE event server binds to all interfaces by default on Linux/macOS

May 20, 2026

The SSE event server bound to 0.0.0.0:5553 on Linux/macOS by default because the platform-dependent host default in engine/flags.go:39-46 set host = "" for non-Windows, and utils.JoinHostPort("", ":5553") resolves to ":5553" — a Go http.Server.Addr of ":5553" listens on every interface. On Windows the same code chose "localhost", binding loopback only.

The result was a platform split where the OS Algernon’s dev workflow is most often used on (Linux/macOS) got the network-exposed default, and only Windows users got the loopback-safe one. A LAN peer with no developer interaction could connect to <dev-laptop-ip>:5553 and read the file-change stream.

This advisory covers the bind-address default in isolation. The fix is independent of authentication (#2a) and CORS (#2b) — switching the default to loopback can be done without touching either.

References

  • github.com/advisories/GHSA-gj84-924c-48fx
  • github.com/xyproto/algernon/security/advisories/GHSA-gj84-924c-48fx
  • nvd.nist.gov/vuln/detail/CVE-2026-46430

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

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:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-1188: Initialization of a Resource with an Insecure Default
  • CWE-668: Exposure of Resource to Wrong Sphere

Source file

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

Spotted a mistake? Edit the file on GitLab.

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

Page generated Fri, 12 Jun 2026 12:17:43 +0000.