AploSec / Disclosures / CVE-2026-145160

Medium 6.9ReportedFixed in 0.16.5, 1.4.5CWE-22Server

Janus WebRTC Server before 0.16.5 and 1.4.5 protected_folders Bypass on musl

CVE-2026-145160 · published 2026-12-04

In plain words: this type of bug lets someone read or write files outside the folder they should be limited to (path traversal). A fixed release is listed.

Summary

CVE-2026-145160 affects Janus WebRTC Server (Server) < 0.16.5, 1.0.0 to < 1.4.5: protected_folders Bypass on musl (CWE-22). Fixed in 0.16.5, 1.4.5. CVSS 4.0 base score 6.9 (Medium), assigned by VulnCheck. Published 2026-12-04 by VulnCheck. Credit: Zachariah Mithani (AploSec).

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.

Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

Remediation

Upgrade Janus WebRTC Server to the fixed release on your line: 0.16.5, 1.4.5. Releases in the affected ranges (< 0.16.5, 1.0.0 to < 1.4.5) are vulnerable. See the linked advisory for details on affected release lines.

Timeline

  • 2026-12-04 CVE published

References

Severity
Medium 6.9CVSS 4.0, scored by VulnCheck in the CVE record
Package
Janus WebRTC Server
Ecosystem
Server
Affected
< 0.16.5, 1.0.0 to < 1.4.5
Fixed
0.16.5, 1.4.5
Weakness
CWE-22
CNA
VulnCheck
Credit
Zachariah Mithani (AploSec)finder