{"id":"CVE-2026-145160","summary":"Janus WebRTC Server before 0.16.5 and 1.4.5 protected_folders Bypass on musl","details":"Janus WebRTC Server before 0.16.5 and 1.4.5 contains a protected_folders check bypass in janus_is_folder_protected() that allows API clients to create recording files in protected directories on musl-based builds. Attackers can supply a recording filename or rec_dir to the VideoRoom or AudioBridge plugin to write recordings under directories like /etc or /var with Janus process privileges.","modified":"2026-12-04T19:45:21.341691879Z","published":"2026-12-04T16:31:04.774Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-22"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/145xxx/CVE-2026-145160.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/145xxx/CVE-2026-145160.json"},{"type":"PACKAGE","url":"https://github.com/meetecho/janus-gateway"},{"type":"ARTICLE","url":"https://github.com/meetecho/janus-gateway/blob/v1.4.4/src/record.c#L208-L230"},{"type":"ARTICLE","url":"https://github.com/meetecho/janus-gateway/blob/v1.4.4/src/utils.c#L587-L617"},{"type":"FIX","url":"https://github.com/meetecho/janus-gateway/commit/ab45cf7b74e0623c9761ed9c8e7de771ba4164d0"},{"type":"FIX","url":"https://github.com/meetecho/janus-gateway/commit/f92014fedd235b09223fcb20dfacc89e9da01e23"},{"type":"FIX","url":"https://github.com/meetecho/janus-gateway/pull/3739"},{"type":"ADVISORY","url":"https://github.com/meetecho/janus-gateway/releases/tag/v0.16.5"},{"type":"ADVISORY","url":"https://github.com/meetecho/janus-gateway/releases/tag/v1.4.5"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-145160"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/janus-webrtc-server-before-0.16.5-and-1.4.5-protected-folders-bypass-on-musl"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/meetecho/janus-gateway","events":[{"introduced":"0"},{"fixed":"af70d76a52d9d8d833b3db65a17a24ce1d51175f"},{"introduced":"e306213da1bc7d2cd43400ddabd1eac1570aed38"},{"fixed":"adaf80b18c8db4f122b92bec62dc4504d4b54285"},{"fixed":"f92014fedd235b09223fcb20dfacc89e9da01e23"},{"fixed":"ab45cf7b74e0623c9761ed9c8e7de771ba4164d0"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"0"},{"fixed":"0.16.5"}]},{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"1.0.0"},{"fixed":"1.4.5"}]},{"range":[{"fixed":"f92014fedd235b09223fcb20dfacc89e9da01e23"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"ab45cf7b74e0623c9761ed9c8e7de771ba4164d0"}],"source":"REFERENCES_COMMIT"},{"original_tag":"v1.4.5","range":[{"fixed":"adaf80b18c8db4f122b92bec62dc4504d4b54285"}],"source":"REFERENCES_TAG"},{"original_tag":"v0.16.5","range":[{"fixed":"af70d76a52d9d8d833b3db65a17a24ce1d51175f"}],"source":"REFERENCES_TAG"}]}}],"versions":["v0.16.4","v1.4.4","v0.16.3","v1.4.3","v0.16.2","v1.4.2","v0.16.1","v1.4.1","v0.16.0","v1.4.0","v0.15.3","v1.3.3","v0.15.2","v1.3.2","v0.15.1","v1.3.1","v0.15.0","v1.3.0","v0.14.4","v1.2.4","v1.2.3","v0.14.3","v0.14.2","v1.2.2","v0.14.1","v1.2.1","v1.2.0","v0.14.0","v1.1.4","v0.13.4","v0.13.3","v1.1.3","v0.13.2","v1.1.2","v1.1.1","v0.13.1","v0.13.0","v1.1.0","v1.0.4","v0.12.4","v0.12.3","v1.0.3","v0.12.2","v1.0.2","v1.0.1","v0.12.1","v1.0.0","v0.12.0","v0.11.6","v0.11.5","v0.11.4","v0.11.3","v0.11.2","v0.11.1","v0.10.10","v0.10.9","v0.10.8","v0.10.7","v0.10.6","v0.10.5","v0.10.4","v0.10.3","v0.10.2","v0.10.1","v0.10.0","v0.9.5","v0.9.4","v0.9.3","v0.9.2","v0.9.1","v0.9.0","v0.8.2","v0.8.1","v0.8.0","v0.7.6","v0.7.5","v0.7.4","v0.7.3","v0.7.2","v0.7.1","v0.7.0","v0.6.3","v0.6.2","v0.6.1","v0.6.0","v0.5.0","v0.4.5","v0.4.4","v0.4.3","v0.4.2","v0.4.1","v0.4.0-broken","v0.3.1","v0.3.0","v0.2.6","v0.2.5","v0.2.4","v0.2.3","v0.2.2","v0.2.1","v0.2.0","v0.1.2","v0.1.1","v0.1.0","v0.0.9"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-145160.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"}]}