{"id":"CVE-2026-81028","revision":null,"records":[{"revision":"f1c4ff0efbeb4e29a9aa7f331d02d6fe","observedAt":"2026-10-27T12:09:21.929+00:00","statement":{"source":"cve-program","id":"CVE-2026-81028","aliases":[],"title":"ZLMediaKit downloadFile Root-Directory Confinement Bypass via Prefix Collision","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.","state":0,"publishedAt":"2026-08-26T15:44:57.303+00:00","modifiedAt":"2026-10-27T10:14:36.984+00:00","affected":[{"ecosystem":"https://github.com/ZLMediaKit/ZLMediaKit","name":"ZLMediaKit","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"ZLMediaKit\",\n                    \"product\": \"ZLMediaKit\",\n                    \"collectionURL\": \"https://github.com/ZLMediaKit/ZLMediaKit\",\n                    \"repo\": \"https://github.com/ZLMediaKit/ZLMediaKit\",\n                    \"defaultStatus\": \"affected\",\n                    \"versions\": [\n                        {\n                            \"version\": \"fa347d7dbe48dfdce525d3a0fdb92e576970ef9f\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ],\n                    \"packageURL\": \"pkg:github/ZLMediaKit/ZLMediaKit\"\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","score":6.9,"severity":"MEDIUM"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","score":4.9,"severity":"MEDIUM"}],"references":["https://github.com/ZLMediaKit/ZLMediaKit","https://github.com/ZLMediaKit/ZLMediaKit/issues/4817","https://github.com/ZLMediaKit/ZLMediaKit/blob/fa347d7dbe48dfdce525d3a0fdb92e576970ef9f/server/WebApi.cpp","https://www.vulncheck.com/advisories/zlmediakit-downloadfile-root-directory-confinement-bypass-via-prefix-collision"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-81028","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-81028","identifiers":["CVE-2026-81028"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-01T08:04:51.2618721+00:00","complete":true,"records":1766,"lastAttemptAt":"2026-11-01T08:04:51.2618721+00:00","lastSuccessAt":"2026-11-01T08:04:51.4211705+00:00","error":null,"lastVerifiedAt":"2026-11-01T08:04:51.4211711+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-aece262bb10a694367a43c24d730aa8e8dc171723eaec4c15cdd32f04bda103f-d8cc0f3f4664413e10476928d158cf99ea3dcd30d2007be6adc831df571828b9","complete":true,"records":417622,"lastAttemptAt":"2026-11-01T08:04:50.8807228+00:00","lastSuccessAt":"2026-11-01T08:04:50.8574353+00:00","error":null,"lastVerifiedAt":"2026-11-01T08:04:50.8807228+00:00","snapshotPublishedAt":"2026-11-01T07:21:14+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-6a212d28daff445ba1d11285b815e946","complete":false,"records":13567,"lastAttemptAt":"2026-11-01T08:17:06.065733+00:00","lastSuccessAt":"2026-11-01T08:17:06.061+00:00","error":"95 identifier lookups failed; latest failures include HTTP 403. Other identifiers were checked independently.","lastVerifiedAt":"2026-11-01T08:17:06.061+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13542,"expectedIdentifiers":13637,"failedIdentifiers":95},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-01T08:04:51.2618721+00:00","complete":true,"records":1095,"lastAttemptAt":"2026-11-01T08:04:51.2618721+00:00","lastSuccessAt":"2026-11-01T08:04:51.4219043+00:00","error":null,"lastVerifiedAt":"2026-11-01T08:04:51.4219044+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-cb479fb73dd0432cb8c82ee43f01837b","complete":true,"records":13580,"lastAttemptAt":"2026-11-01T08:04:51.9274025+00:00","lastSuccessAt":"2026-11-01T04:04:52.54+00:00","error":null,"lastVerifiedAt":"2026-11-01T04:04:52.54+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13637,"expectedIdentifiers":13637,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-21dcd6662970dfea02e4ea60ee637115e8d92664947484d2b9276b3f6568a84f","complete":true,"records":9815,"lastAttemptAt":"2026-11-01T08:04:51.2109107+00:00","lastSuccessAt":"2026-10-30T23:47:34.1817587+00:00","error":null,"lastVerifiedAt":"2026-11-01T08:04:51.2109107+00:00","snapshotPublishedAt":"2026-10-30T23:33:17+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-2de9ccc5290f060c7aa63f89c25dd76f655a64ba1aba7c05c97fa3bee4f09899","complete":true,"records":1967,"lastAttemptAt":"2026-11-01T08:04:50.9302535+00:00","lastSuccessAt":"2026-10-28T20:55:34.2982937+00:00","error":null,"lastVerifiedAt":"2026-11-01T08:04:50.9302535+00:00","snapshotPublishedAt":"2026-10-28T20:03:08+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-f95f76cd406ae5bae3de632ad37fd2d5160b44f5e6b51748ac6f8f0c0c88e72b","complete":true,"records":3028,"lastAttemptAt":"2026-11-01T08:04:51.2238833+00:00","lastSuccessAt":"2026-10-30T23:47:38.4914494+00:00","error":null,"lastVerifiedAt":"2026-11-01T08:04:51.2238833+00:00","snapshotPublishedAt":"2026-10-30T23:18:12+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-712291bb5a0ee4f1ca7325e317f98ff05e9ab8d14f863abf00a323d9e6d8331e","complete":true,"records":230994,"lastAttemptAt":"2026-11-01T08:04:51.1017569+00:00","lastSuccessAt":"2026-10-31T17:06:47.8999408+00:00","error":null,"lastVerifiedAt":"2026-11-01T08:04:51.1017569+00:00","snapshotPublishedAt":"2026-10-31T16:33:38+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}