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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Debian Affected 3 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| sid | janus |
Affected | — |
| forky | janus |
Affected | — |
| bookworm | janus |
Affected | — |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| meetecho | janus_webrtc_server | {"endExcluding":"0.16.5"} | 0.16.5 |
| meetecho | janus_webrtc_server | {"startIncluding":"1.0.0","endExcluding":"1.4.5"} | 1.4.5 |
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
- https://security-tracker.debian.org/tracker/CVE-2026-145160
CWEs
CWE-22
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.