# CVE-2023-34105: SRS has command injection vulnerability in demonstration api-server for HTTP callback.

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 8.69%, higher than 95% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-06-12T16:30:39.747Z
- Modified: 2026-06-17T06:02:54.330Z
- Weaknesses: CWE-77, CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- ossrs srs: >= 5.0.137, < 5.0.157; >= 6.0.18, < 6.0.48; < 5.0-b1
- ossrs simple_realtime_server: from 5.0.137 before 5.0.157; from 6.0.18 before 6.0.48

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/ossrs/srs/security/advisories/GHSA-vpr5-779c-cx62> (exploit, vendor-advisory)
- <https://github.com/ossrs/srs/commit/1d878c2daaf913ad01c6d0bc2f247116c8050338> (patch)
- <https://github.com/ossrs/srs/blob/1d11d02e4b82fc3f37e4b048cff483b1581482c1/trunk/research/api-server/server.go#L761> (product)

## Sources

- CVE List: [CVE-2023-34105](https://www.cve.org/CVERecord?id=CVE-2023-34105), CVE Terms of Use, modified 2025-01-03
- NVD: [CVE-2023-34105](https://nvd.nist.gov/vuln/detail/CVE-2023-34105), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-34105 · Whole record: https://cve.day/CVE-2023-34105.json · Rebuilt by cve.day 2026-11-25T22:58:24.744Z
