GHSA-w6v7-r7w6-4mqvMediumCVSS 5.3
Janus WebRTC Server before 0.16.5 and 1.4.5 contains a protected_folders check bypass in...
🔗 CVE IDs covered (1)
📋 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.
🔗 References (10)
- https://nvd.nist.gov/vuln/detail/CVE-2026-145160
- https://github.com/meetecho/janus-gateway/pull/3739
- https://github.com/meetecho/janus-gateway/commit/ab45cf7b74e0623c9761ed9c8e7de771ba4164d0
- https://github.com/meetecho/janus-gateway/commit/f92014fedd235b09223fcb20dfacc89e9da01e23
- 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/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
- https://github.com/advisories/GHSA-w6v7-r7w6-4mqv