{"id":"CVE-2026-52875","summary":"Streambert: Arbitrary Directory Creation and File Manipulation via Backup Handler","details":"Streambert is a cross-platform Electron Desktop App to stream and download video content. Prior to 2.6.0, the perform-scheduled-backup IPC handler in src/ipc/storage.js takes settings.path from a renderer-supplied object and uses the resulting directory for fs.mkdirSync, fs.writeFileSync, fs.readdirSync, and fs.unlinkSync operations without checking that it is inside an authorized backup location. A compromised renderer can choose an absolute path or a relative traversal path to create directories and write a streambert-backup-[timestamp].json file containing renderer-controlled data. The pruning loop can also delete files in that directory whose names begin with streambert-backup- and end with .json. This vulnerability is fixed in 2.6.0.","aliases":["GHSA-c64m-cx97-6rc9"],"modified":"2026-09-11T03:30:49.795239070Z","published":"2026-08-18T21:30:48.370Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52875.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-22","CWE-73"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52875.json"},{"type":"ADVISORY","url":"https://github.com/truelockmc/streambert/security/advisories/GHSA-c64m-cx97-6rc9"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-52875"},{"type":"FIX","url":"http://github.com/truelockmc/streambert/commit/43566ed031183b046675761c9813c5379b619269"},{"type":"FIX","url":"https://github.com/truelockmc/streambert/pull/149"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/truelockmc/streambert","events":[{"introduced":"0"},{"fixed":"43566ed031183b046675761c9813c5379b619269"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"2.6.0"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["2.5.0","2.4","v.2.3.0","2.3","2.2.1","2.2","2.1","2.0","1.7","1.6","1.5","1.4","1.3","1.2","1.1","1.0","0.3.0","0.2.1","0.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-52875.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:H/SC:L/SI:H/SA:H"}]}