CVE-2026-145160
DESCRIPTION
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.
CVSS
MEDIUM 6.9 · v4.0
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XWEAKNESSES
REFERENCES
- https://github.com/meetecho/janus-gateway/blob/v1.4.4/src/record.c#L208-L230
- https://github.com/meetecho/janus-gateway/blob/v1.4.4/src/utils.c#L587-L617
- https://github.com/meetecho/janus-gateway/commit/ab45cf7b74e0623c9761ed9c8e7de771ba4164d0
- https://github.com/meetecho/janus-gateway/commit/f92014fedd235b09223fcb20dfacc89e9da01e23
- https://github.com/meetecho/janus-gateway/pull/3739
- https://github.com/meetecho/janus-gateway/releases/tag/v0.16.5
- https://github.com/meetecho/janus-gateway/releases/tag/v1.4.5
- https://www.vulncheck.com/advisories/janus-webrtc-server-before-0.16.5-and-1.4.5-protected-folders-bypass-on-musl
This record is mirrored from the NIST National Vulnerability Database and republished unchanged. It may have been revised or withdrawn since we last synced it; check the record at NVD before relying on it.