{"id":"CVE-2026-145160","state":"PUBLISHED","title":"Janus WebRTC Server before 0.16.5 and 1.4.5 protected_folders Bypass on musl","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.","publishedAt":"2026-12-04T16:31:04.774Z","updatedAt":"2026-12-04T18:51:22.856Z","severity":{"score":6.9,"label":"Medium","version":"4.0","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","source":"VulnCheck"},"assigner":"VulnCheck","products":["Meetecho Janus WebRTC Server"],"affected":[{"vendor":"Meetecho","product":"Janus WebRTC Server","packageURL":"pkg:github/meetecho/janus-gateway","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"0.16.5","versionType":"semver"},{"version":"1.0.0","status":"affected","lessThan":"1.4.5","versionType":"semver"}],"repo":"https://github.com/meetecho/janus-gateway"}],"references":["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","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/releases/tag/v1.4.5","https://github.com/meetecho/janus-gateway/releases/tag/v0.16.5","https://www.vulncheck.com/advisories/janus-webrtc-server-before-0.16.5-and-1.4.5-protected-folders-bypass-on-musl"],"weaknesses":["CWE-22"],"ingestedAt":"2026-12-04T19:02:06.159Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/145xxx/CVE-2026-145160.json","commit":"7da2d97f0c87c69029b9563c5451e2f494fc161f","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-145160","state":"PUBLISHED","datePublished":"2026-12-04T16:31:04.774Z","dateUpdated":"2026-12-04T18:51:22.856Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-12-04T16:15:52.257Z"},"containers":{"cna":{"title":"Janus WebRTC Server before 0.16.5 and 1.4.5 protected_folders Bypass on musl","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Meetecho","product":"Janus WebRTC Server","packageURL":"pkg:github/meetecho/janus-gateway","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"0.16.5","versionType":"semver"},{"version":"1.0.0","status":"affected","lessThan":"1.4.5","versionType":"semver"}],"repo":"https://github.com/meetecho/janus-gateway"}],"references":[{"url":"https://github.com/meetecho/janus-gateway/blob/v1.4.4/src/utils.c#L587-L617","tags":["technical-description"]},{"url":"https://github.com/meetecho/janus-gateway/blob/v1.4.4/src/record.c#L208-L230","tags":["technical-description"]},{"url":"https://github.com/meetecho/janus-gateway/pull/3739","tags":["issue-tracking","patch"]},{"url":"https://github.com/meetecho/janus-gateway/commit/f92014fedd235b09223fcb20dfacc89e9da01e23","tags":["patch"]},{"url":"https://github.com/meetecho/janus-gateway/commit/ab45cf7b74e0623c9761ed9c8e7de771ba4164d0","tags":["patch"]},{"url":"https://github.com/meetecho/janus-gateway/releases/tag/v1.4.5","tags":["release-notes"],"name":"Janus WebRTC Server v1.4.5 Release Notes"},{"url":"https://github.com/meetecho/janus-gateway/releases/tag/v0.16.5","tags":["release-notes"],"name":"Janus WebRTC Server v0.16.5 Release Notes"},{"url":"https://www.vulncheck.com/advisories/janus-webrtc-server-before-0.16.5-and-1.4.5-protected-folders-bypass-on-musl","name":"VulnCheck Advisory: Janus WebRTC Server before 0.16.5 and 1.4.5 protected_folders Bypass on musl","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"LOW","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":6.9,"baseSeverity":"MEDIUM"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-12-04T16:31:04.774Z"},"credits":[{"lang":"en","value":"Zachariah Mithani (AploSec)","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-12-04T18:50:34.760568Z","id":"CVE-2026-145160","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-12-04T18:51:22.856Z"}}]}}}