CVE-2026-81028
Last modified
CVE-2026-81028 is a medium-severity vulnerability rated 4.9/10 on the CVSS scale. ZLMediaKit confines the downloadFile API to a configured set of root directories with a prefix comparison that does not account for directory boundaries. The configuration loader in server/WebApi.cpp builds each root with File::absolutePath("", item, true); because the relative-path argument is empty that helper returns the value without a trailing separator. EPSS estimates a 0.35% chance of exploitation in the next 30 days.
Description
ZLMediaKit confines the downloadFile API to a configured set of root directories with a prefix comparison that does not account for directory boundaries. The configuration loader in server/WebApi.cpp builds each root with File::absolutePath("", item, true); because the relative-path argument is empty that helper returns the value without a trailing separator. The handler then accepts a requested path when start_with(file_path, root) holds, so a sibling directory whose name merely begins with the configured root string satisfies the test and is served. The only other guard rejects a path containing two dots, which this requires none of. The equivalent confinement check for the ordinary static file server in src/Http/HttpFileManager.cpp computes its root with a non-empty second argument, which appends the separator before comparing, and so is not affected. The endpoint requires the configured API secret, so this grants no privilege beyond what that secret already implies, but it reads files outside the directory the operator confined it to, and the reference container runs the server as root.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| ZLMediaKit | ZLMediaKit | fa347d7dbe48dfdce525d3a0fdb92e576970ef9f |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-81028?
How severe is CVE-2026-81028?
How do I fix CVE-2026-81028?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-81019wolfProvider before 1.2.2 generates the 8-byte explicit AES-…7.4
- CVE-2026-81020wolfEngine before 1.4.1 generates the 8-byte explicit AES-GC…7.4
- CVE-2026-81021The SupportCandy WordPress plugin before 3.5.3 does not per…5.3
- CVE-2026-81022The SupportCandy WordPress plugin before 3.5.3 does not val…5.3
- CVE-2026-81026The MasterStudy LMS WordPress Plugin WordPress plugin befor…4.8
- CVE-2026-81027one-api gates one of its two channel-pinning paths and not t…8.5
- CVE-2026-81029OpenMetadata accepts a caller-supplied post-authentication r…8.1
- CVE-2026-81030Mage AI does not confine the paths accepted by its browser-i…6.5
- CVE-2026-81031IDURAR ERP CRM changes the password of whichever account a r…7.2
- CVE-2026-81032NebulaGraph exposes its runtime configuration over an unauth…9.8
- CVE-2026-81033Automatisch reveals whether an address is registered through…5.3
- CVE-2026-81034Netmaker disables certificate verification on the connection…6.5
Are you affected by CVE-2026-81028?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
