Skip to main content

Algernon EUVDEUVD-2026-31881

| CVE-2026-48126 HIGH
Path Traversal (CWE-22)
2026-05-26 GitHub_M GHSA-jc3j-x6pg-4hmv
8.2
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Identify internet-exposed Algernon with --domain/--letsencrypt
  2. Delivery
    Send HTTP request with 'Host: ..' header
  3. Exploit
    Trigger filepath.Join traversal above --dir
  4. Install
    Enumerate parent directory listing
  5. C2
    Read sensitive files or locate .lua script
  6. Execute
    Request .lua to trigger server-side execution
  7. Impact
    Achieve code execution as Algernon process

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the Algernon instance be launched with the --domain flag, or equivalently with --letsencrypt (which silently enables --domain at engine/flags.go:372) - in any other startup mode the vulnerable Host-header-to-path join is not reached. The attacker needs only network reachability to the HTTP listener and the ability to set an arbitrary Host header (PR:N, UI:N per CVSS), with no credentials, no session, and no victim interaction. Limiting factors that reduce realistic risk: server-side Lua execution only occurs when a .lua file happens to exist in the traversed parent directory, and confidentiality impact is bounded by the filesystem permissions of the Algernon process user; deployments behind a reverse proxy that rewrites or validates the Host header are not exploitable.

Impact

The CVSS 3.1 vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N (8.2 High) is consistent with the description: network-reachable, no authentication, no user interaction, and trivial complexity since the attacker only needs to set a Host header. SSVC reinforces this with Exploitation=poc, Automatable=yes, Technical Impact=partial, and the Lua-execution side effect arguably understates true impact when Lua files are present. However, EPSS is only 0.07% (20th percentile) and the issue is not on CISA KEV, suggesting it is not yet seeing broad opportunistic abuse - likely because exploitation is gated on the server being launched with --domain/--letsencrypt and on Algernon's relatively small deployment footprint. Net assessment: real and easily weaponizable against affected deployments, but population-level risk is narrow; prioritize for any internet-exposed Algernon instance, deprioritize for internal-only or non-domain-mode use.

Exploit ScenarioDerived

An attacker sends an HTTP request to an internet-exposed Algernon instance started with --letsencrypt, setting 'Host: ..' (or a similar traversal value). The server joins '..' with --dir, resolving above the document root, and returns a directory listing or arbitrary file contents from the parent directory; if that directory contains a .lua file, the attacker requests it and Algernon executes the script server-side, yielding code execution in the server's context. SSVC rates this PoC-stage and automatable, so once weaponized it would be straightforward to mass-scan for.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 08, 2026

Path traversal in xyproto's Algernon web server prior to 1.17.8 lets unauthenticated remote attackers escape the document root via a crafted Host header when the server runs with --domain or --letsencrypt. Beyond arbitrary file read and directory listing, any reachable .lua file in the parent directory will be executed server-side, escalating disclosure into code execution. No public exploit is identified at time of analysis, but SSVC marks the issue as automatable with PoC and EPSS sits at the 20th percentile (0.07%).

RemediationAI

Vendor-released patch: upgrade to Algernon 1.17.8 or later, per the GHSA-jc3j-x6pg-4hmv advisory at https://github.com/xyproto/algernon/security/advisories/GHSA-jc3j-x6pg-4hmv. If immediate upgrade is not possible, run Algernon without --domain and without --letsencrypt so the vulnerable Host-header-based path resolution is bypassed - note this disables virtual-host routing and automatic TLS certificate issuance, so you will need to front Algernon with a reverse proxy (nginx, Caddy) that terminates TLS and supplies a fixed, validated Host. As an additional compensating control, place Algernon's --dir parent directory off any path that contains .lua files, and configure the upstream proxy to reject or normalize Host headers containing '..' or path-separator characters, which closes the specific traversal vector with no impact on legitimate clients.

Affected VersionsENISA

algernon < 1.17.8

Affected Packages

go github.com/xyproto/algernon fix: 1.17.8
euvd algernon fix: 1.17.8

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 self-contained Go-based web server (CPE cpe:2.3:a:xyproto:algernon) that supports static content, Markdown, and embedded Lua scripting. When --domain is enabled (also implicitly via --letsencrypt at engine/flags.go:372), the request router constructs the on-disk path by passing the client-supplied Host header straight into filepath.Join with the configured --dir, with no normalization or containment check. filepath.Join cleans '..' segments but does not constrain the result to the base directory, which is the textbook CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) pattern. Because Algernon also resolves and executes .lua files it finds while serving, the same primitive that yields arbitrary file read becomes server-side script execution whenever the traversed directory contains Lua content.

Know when Algernon gets its next vulnerability

  • 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

Vendor (GitHub_M) PRIMARY 8.2 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
SUSE HIGH

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
None

Lifecycle Timeline

1
Patch available
May 26, 2026 - 18:02 EUVD

DescriptionCVE.org

Algernon is a small self-contained pure-Go web server. Prior to 1.17.8, when algernon is started with --domain (or --letsencrypt, which silently turns on --domain at engine/flags.go:372), the request handler resolves the served directory by joining the configured --dir with the value of the client-supplied Host header. The join is performed by filepath.Join with no validation, so a Host: .. header walks one level above the document root. Subsequent file resolution then exposes everything in that parent directory - arbitrary file read, full directory listing, and, if any .lua file is present, server-side Lua execution. This vulnerability is fixed in 1.17.8.

Executive ViewAI

Why It Matters

Algernon web server versions prior to 1.17.8 contain a critical vulnerability allowing unauthenticated remote code execution when deployed with --domain or --letsencrypt flags. No public exploit has been identified at time of analysis, but affected servers face immediate risk of unauthorized file access and malicious code execution.

Business Impact: High
Compensating Controls

Apply vendor patch. If immediate upgrade is not feasible, disable --domain and --letsencrypt flags until patched.

Threat Intelligence Overview

EPSS Score
0.1%
Top 80% exploitable
Threat Intel
1
1 source
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

41
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +41
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Vendor StatusVendor

SUSE

Severity: Important
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

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy