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.
https://github.com/meetecho/janus-gateway/releases/tag/v1.4.5
https://github.com/meetecho/janus-gateway/releases/tag/v0.16.5
https://github.com/meetecho/janus-gateway/pull/3739
https://github.com/meetecho/janus-gateway/commit/f92014fedd235b09223fcb20dfacc89e9da01e23
https://github.com/meetecho/janus-gateway/commit/ab45cf7b74e0623c9761ed9c8e7de771ba4164d0
https://github.com/meetecho/janus-gateway/blob/v1.4.4/src/utils.c#L587-L617
https://github.com/meetecho/janus-gateway/blob/v1.4.4/src/record.c#L208-L230
Published: 2026-12-04
Updated: 2026-12-04
Base Score: 7.5
Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P
Severity: High
Base Score: 5.3
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Severity: Medium
Base Score: 6.9
Vector: 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
Severity: Medium