CVE-2026-52792

Source
https://cve.org/CVERecord?id=CVE-2026-52792
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-52792.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-52792
Aliases
Downstream
Related
Published
2026-08-19T14:49:45.230Z
Modified
2026-08-21T03:46:28.800000152Z
Severity
  • 8.7 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
Algernon: Server-side script source disclosure on Windows via NTFS filename
Details

Algernon is a small self-contained pure-Go web server. Prior to 1.17.9, Algernon on Windows selects a file handler in engine/handlers.go by calling filepath.Ext() without first rejecting NTFS-equivalent names such as x.lua::$DATA, x.lua., and x.lua . An unauthenticated client can append one of these suffixes to a public server-side script using the .lua, .tl, .po2, .amber, or .frm extension. The request path passes through URL2filename in utils/files.go, skips the renderer and execution cases, and reaches FilePage, os.Open, ReadAndLogErrors, and ToClient, while NTFS resolves the alias to the underlying script. The server consequently returns raw script source and can expose database credentials, API keys, and the SetCookieSecret value, which may permit forged session cookies. Linux and macOS hosts are not affected by this issue. This issue is fixed in version 1.17.9.

Database specific
{
    "cwe_ids": [
        "CWE-69"
    ],
    "cna_assigner": "GitHub_M",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52792.json"
}
References

Affected packages

Git / github.com/xyproto/algernon

Affected ranges

Type
GIT
Repo
https://github.com/xyproto/algernon
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "1.17.9"
        }
    ]
}

Affected versions

0.*
0.2
0.3
0.4
0.41
0.42
0.43
0.44
0.45
0.46
0.47
0.48
0.49
0.50
0.51
0.52
0.53
0.54
0.55
0.56
0.57
0.58
0.59
0.61
0.62
0.63
0.64
0.65
0.66
0.67
0.68
0.7
0.71
0.72
0.73
0.74
0.75
0.8
0.81
0.82
0.83
0.84
0.85
0.86
0.87
0.88
0.89
0.9
0.91
0.92
1.*
1.0
1.1
1.10
1.10.1
1.11.0
1.12.0
1.12.0-TLS-1.3
1.12.1
1.12.10
1.12.11
1.12.12
1.12.14
1.12.2
1.12.3
1.12.4
1.12.5
1.12.6
1.12.7
1.12.8
1.12.9
1.2
1.2.1
1.3
1.3.1
1.3.2
1.4
1.4.1
1.4.2
1.4.3
1.4.4
1.4.5
1.5
1.5.1
1.5.1-static-linux64
1.6
1.7
1.8
1.9
v0.*
v0.47-win8-64
v0.52-win8-64
v0.62-win8-64
v0.84-win8-64
v0.85-win8-64
Other
v1
v1.*
v1.0-win8-64
v1.13.0
v1.14.0
v1.15.0
v1.15.1
v1.15.2
v1.15.3
v1.15.4
v1.15.5
v1.16.0
v1.17.0
v1.17.1
v1.17.2
v1.17.3
v1.17.4
v1.17.5
v1.17.6
v1.17.7
v1.17.8
v1.2.1-win8-64
v1.4.1-rpi3
v1.4.1-win8-64
v1.4.5-win8-64
v1.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-52792.json"