CVE-2026-145160: Janus WebRTC Server Path Traversal
Published 2026-12-04 · Updated 2026-12-04 · Source disclosure@vulncheck.com
Not known to be exploited · medium severity — update Janus WebRTC Server to a fixed release (0.16.5, 1.4.5) on your normal schedule.
What to do
- Update Janus WebRTC Server to a fixed release: 0.16.5 or 1.4.5 (whichever matches your release branch).
- Until it is patched, do not leave Janus WebRTC Server reachable from the internet or other untrusted networks; restrict access by firewall, VPN or allow-list.
- Block requests containing traversal sequences at the proxy or WAF, and run the service under an account that can only read the directories it needs.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| Janus WebRTC Server | Releases before the fixed versions | 0.16.5 or 1.4.5 (whichever matches your release branch) |
Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.
How it can be exploited
It can be exploited remotely over the network; the attacker does not need an account, and no action by a victim is required. Attack complexity is low, so a working exploit is expected to be reliable. The impact is limited: integrity is rated low.
| Attack vector | Network | It can be exploited remotely over the network. |
|---|---|---|
| Attack complexity | Low | No special conditions are needed; the attack is repeatable. |
| Privileges required | None | The attacker does not need an account. |
| User interaction | None | No action by a victim is needed. |
| Confidentiality | None | No effect on confidentiality. |
| Integrity | Low | Partial loss of integrity. |
| Availability | None | No effect on availability. |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Weakness: Path Traversal
An attacker can use sequences such as "../" to reach files outside the intended directory, reading configuration or credentials and in some cases overwriting files.
Classified as CWE-22.
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.
Advisory text as published in the NVD record.
References
- Patchhttps://github.com/meetecho/janus-gateway/commit/ab45cf7b74e0623c9761ed9c8e7de771ba4164d0
- Patchhttps://github.com/meetecho/janus-gateway/commit/f92014fedd235b09223fcb20dfacc89e9da01e23
- Patchhttps://github.com/meetecho/janus-gateway/pull/3739
- Patchhttps://github.com/meetecho/janus-gateway/releases/tag/v0.16.5
- Patchhttps://github.com/meetecho/janus-gateway/releases/tag/v1.4.5
- Advisoryhttps://www.vulncheck.com/advisories/janus-webrtc-server-before-0.16.5-and-1.4.5-protected-folders-bypass-on-musl
- Referencehttps://github.com/meetecho/janus-gateway/blob/v1.4.4/src/record.c#L208-L230
- Referencehttps://github.com/meetecho/janus-gateway/blob/v1.4.4/src/utils.c#L587-L617