CVE-2026-48126 json
Algernon: Host header path traversal in --domain mode reads files and runs Lua from parent dir
published 5mo ago modified 3mo ago also EUVD-2026-31881 , GHSA-jc3j-x6pg-4hmv , GO-2026-5460
- cvss
- 8.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 27%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/xyproto/algernon 1.17.8
- algernon_project algernon 1.17.8
- govulncheck-vulndb openSUSE Leap 16.0 0.0.20260723T184607-160000.1.1
opensuse advisories openSUSE-SU-2026:21483-1
Is CVE-2026-48126 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 5mo ago
Exploit prediction
0.34% chance of exploitation in the next 30 days, higher than 27% of all scored CVEs (FIRST EPSS, 2026-11-11).
Exploits and checks
- github.com https://github.com/xyproto/algernon/security/advisories/GHSA-jc3j-x6pg-4hmv referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
| GitHub | 3.1 | 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/xyproto/algernon | <1.17.8 |
1.17.8 |
Affected products
- xyproto algernon
Classification
References
-
github.com
/xyproto/algernon/security/advisories/GHSA-jc3j-x6pg-4hmv
exploit, web, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-48126
advisory
-
github.com
/xyproto/algernon
package
Sources
- CVE List CVE-2026-48126
- GitHub Advisory GHSA-jc3j-x6pg-4hmv
- NVD CVE-2026-48126
- OSV GO-2026-5460
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.