Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttain adjacent network position (shared WiFi or LAN)
-
DeliveryScan or probe for open TCP port 5553 on developer host
-
ExploitSend unauthenticated HTTP GET to /sse endpoint
-
ExecutionReceive continuous SSE stream of project file paths and edit timestamps
-
ImpactExfiltrate developer project structure and activity metadata
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Resource sphere isolation
MITRE ATT&CK
1 technique across 1 tactic: Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Algernon version 1.17.6 or earlier must be running on Linux or macOS - Windows deployments of the same version are not affected due to the platform branch in engine/flags.go. The SSE auto-refresh feature must be active, which is its default state in development mode; no explicit configuration is required to trigger the vulnerability. The attacker must have TCP reachability to port 5553 on the developer's machine, which in practice means sharing the same LAN segment or broadcast domain (hotel WiFi, office LAN, VPN with split routing, or any environment where NAT does not block the path). No authentication, credentials, browser session, or developer interaction of any kind is required once network reach is established. Exploitation is bounded to adjacent-network attackers (AV:A) under default NAT environments; developers on flat, routed, or NAT-less networks face a wider exposure equivalent to AV:N. |
| Impact | The CVSS 3.1 score of 4.3 (AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N) accurately reflects the real-world risk envelope. The adjacent network attack vector (AV:A) is the primary limiting factor: exploitation requires the attacker to share a broadcast domain with the developer, constraining mass internet exploitation. However, on shared WiFi environments - hotel networks, coffee shops, coworking spaces, conference venues - this adjacency condition is trivially satisfied for a developer using a laptop. Complexity is genuinely low (AC:L), no privileges are required (PR:N), and no user interaction is needed (UI:N), meaning exploitation is fully passive from the developer's perspective. The confidentiality impact (C:L) reflects LAN-bounded, continuous disclosure of project file names and edit timing metadata; file contents are not exposed. The advisory notes that a deployment without NAT or on a routed network would shift to AV:N and raise the score to approximately 5.3, which represents a materially higher risk for cloud-hosted development environments. No EPSS score is available in the provided data. No CISA KEV listing exists, confirming no confirmed active exploitation at time of analysis. A publicly available PoC is included in the GitHub advisory itself, making the barrier to exploitation negligible once a LAN position is achieved. The overall assessment is a genuine, moderate-priority finding for developers who routinely work on shared or open networks, not merely a theoretical concern inflated by CVSS mechanics. |
| Exploit ScenarioDerived | A developer runs Algernon 1.17.6 on a Linux laptop while connected to a hotel or conference WiFi network; the SSE event server automatically binds to 0.0.0.0:5553, making the file-change stream reachable from any device on the subnet. An attacker on the same WiFi performs a port scan or directly probes known Algernon ports, discovers the open 5553 listener, and runs |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 20, 2026
Algernon's auto-refresh SSE event server unintentionally exposes developer file-change streams to unauthenticated LAN peers on Linux and macOS due to a platform-dependent bind address default that was never intended to reach adjacent hosts. On non-Windows platforms, the SSE listener resolves to 0.0.0.0:5553 (all interfaces), while Windows correctly binds to 127.0.0.1:5553 - a silent asymmetry introduced in engine/flags.go that leaves developers on the most common Algernon platforms exposed whenever they work on shared networks. A publicly available proof-of-concept demonstrates that any host on the same subnet can enumerate project filenames and edit timing with a single unauthenticated curl command, with no developer interaction required; no public exploit identified at time of analysis rises to confirmed active exploitation (not in CISA KEV).
RemediationAI
Upgrade Algernon to version 1.17.7, which is confirmed as the patched release per the GitHub advisory GHSA-gj84-924c-48fx. The fix changes the SSE event server bind address default to 'localhost' on all platforms, either by updating the host default in engine/flags.go or by hardcoding 'localhost' in the eventAddr assignment in engine/config.go, so that the SSE listener is never reachable from outside the local machine without explicit operator configuration. Full advisory details are at https://github.com/xyproto/algernon/security/advisories/GHSA-gj84-924c-48fx. If an immediate upgrade is not feasible, a compensating control is to explicitly pass the --eventserver flag with a loopback address (e.g., --eventserver 127.0.0.1:5553) on every Algernon invocation; this overrides the default and restricts the SSE listener to loopback without touching authentication or CORS. A host-based firewall rule blocking inbound connections to TCP port 5553 from non-loopback sources is an alternative control with no application-level side effects, but requires firewall management discipline and does not fix the root cause. Developers who genuinely require LAN-accessible SSE can pass --eventserver 0.0.0.0:5553 explicitly after upgrading, accepting the network exposure as a deliberate choice.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in go, 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 Go-based web server (pkg:go/github.com_xyproto_algernon) that provides an auto-refresh feature via a Server-Sent Events (SSE) endpoint, typically used during local development to push file-change notifications to the browser. The root cause is classified under CWE-668 (Exposure of Resource to Wrong Sphere): in engine/flags.go lines 39-46, the variable host is initialized to an empty string on non-Windows platforms and to 'localhost' on Windows. This value flows into engine/config.go (finalConfiguration) where utils.JoinHostPort('', ':5553') produces the string ':5553'. In Go's net/http package, an http.Server.Addr of ':5553' instructs the runtime to listen on every available network interface (0.0.0.0:5553), not just loopback. The SSE endpoint at /sse then streams file-change events - including full project-relative file paths - to any TCP client that connects. The same host variable governs the main web server bind address, but exposing the main server to a LAN is arguably intentional for a web server; exposing the SSE event port is not, making this an unintended resource exposure rather than a deliberate design choice.
Know when the next one hits your stack
- 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
AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Primary rating from Vendor (https://github.com/xyproto/algernon).
CVSS VectorVendor: https://github.com/xyproto/algernon
DescriptionCVE.org
Summary
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.
Details
Root cause - platform-dependent host default in handleFlags
// engine/flags.go:39-46 (1.17.6)
host := ""
if runtime.GOOS == "windows" {
host = "localhost"
// Default Bolt database file
ac.defaultBoltFilename = filepath.Join(serverTempDir, "algernon.db")
// Default log file
ac.defaultLogFile = filepath.Join(serverTempDir, "algernon.log")
}// engine/config.go:388-391 (1.17.6, finalConfiguration)
if ac.eventAddr == "" {
ac.eventAddr = utils.JoinHostPort(host, ac.defaultEventColonPort)
}Result tabulated:
| Platform | host | eventAddr after JoinHostPort | Effective bind |
|---|---|---|---|
| Linux | "" | ":5553" | 0.0.0.0:5553 (all interfaces) |
| macOS | "" | ":5553" | 0.0.0.0:5553 (all interfaces) |
| Windows | "localhost" | "localhost:5553" | 127.0.0.1:5553 (loopback) |
The same host value also governs the main web server bind, so the platform split affects both ports. The web-server bind on Linux/macOS is a separate (defensible) design decision - a server intended to be reachable; the SSE port is *not* such a service and inherited the same default by accident.
Why this is an independent finding
The fix is a single line: change the default host value, or change the eventAddr default specifically, to "localhost" regardless of platform. No change to authentication or CORS is required to close the network-reach half of the original bundled advisory. A LAN peer can no longer connect - the listener is unreachable from another host - even if the SSE handler still has no authentication and still returns Allow-Origin: *.
PoC (against 1.17.6 on Linux/macOS)
# Operator's laptop on a hotel/cafe/office WiFi:
algernon -a /path/to/project
# => SSE listener bound to 0.0.0.0:5553
# Any peer on the same subnet:
$ curl -sN http://<dev-laptop-ip>:5553/sse
id: 0
data: /path/to/project/secret-notes.md
id: 1
data: /path/to/project/.env.localNo interaction from the developer is required. The peer needs network reach and nothing else.
Impact
- Confidentiality: medium. LAN-bounded continuous information disclosure of filenames and edit timing.
- Integrity: none.
- Availability: none directly.
The CVSS vector uses AV:A (adjacent network) to model the LAN-only reach. The vector for a misconfigured deployment behind a NAT-less or routed network would shift to AV:N and rise to 5.3.
Suggestions to fix
Primary fix - pick localhost as the SSE default on every platform.
// engine/flags.go -- platform-independent default for the event listener
// (keep the existing platform split for the WEB server if desired, but
// not for the event server)
host := "localhost"Or, more surgically:
// engine/config.go -- finalConfiguration
if ac.eventAddr == "" {
ac.eventAddr = utils.JoinHostPort("localhost", ac.defaultEventColonPort)
}An operator who genuinely wants LAN-reachable SSE can pass --eventserver 0.0.0.0:5553 explicitly and accept the consequences.
Stronger fix - eliminate the second listener entirely. Mount the SSE handler on the main mux at /sse. The bind address is then whatever the main server uses; there is no second listener and therefore no second bind-address default to get wrong.
Live verification
Audit-host bind check (Windows 10):
$ netstat -an | findstr 5553
TCP 127.0.0.1:5553 0.0.0.0:0 LISTENINGConfirms the Windows default is localhost. The Linux/macOS bind to 0.0.0.0:5553 is documented in the code path above; it was not exercised on the audit machine because the audit host was Windows. A maintainer reproducing on a Linux host would see 0.0.0.0:5553 LISTENING from ss -tlnp.
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.
Same weakness CWE-668 – Exposure of Resource to Wrong Sphere
View allSame technique Information Disclosure
View allVendor StatusVendor
SUSE
Severity: Moderate| Product | Status |
|---|---|
| SUSE Linux Enterprise Server 16.1 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP5 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP6 | Affected |
| openSUSE Leap 15.5 | Affected |
| openSUSE Leap 15.6 | Affected |
EUVD-2026-31869
GHSA-gj84-924c-48fx
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB