CVE-2023-34105: Ossrs Simple Realtime Server

High severity, CVSS 7.5. EPSS: 8.7% chance of exploitation in the next 30 days.

SRS is a real-time video server supporting RTMP, WebRTC, HLS, HTTP-FLV, SRT, MPEG-DASH, and GB28181. Prior to versions 5.0.157, 5.0-b1, and 6.0.48, SRS's `api-server` server is vulnerable to a drive-by command injection. An attacker may send a request to the `/api/v1/snapshots` endpoint containing any commands to be executed as part of the body of the POST request. This issue may lead to Remote Code Execution (RCE). Versions 5.0.157, 5.0-b1, and 6.0.48 contain a fix.

Affected products

  • Ossrs Simple Realtime Server: from 5.0.137, before 5.0.157 (fixed in 5.0.157); from 6.0.18, before 6.0.48 (fixed in 6.0.48)

Published 2023-06-12. Last modified 2026-06-17.