CVE-2023-34105: Command Injection in SRS api-server /api/v1/snapshots
- Vendor
- Ossrs
CVE-2023-34105 is a drive-by command injection vulnerability in SRS (Simple Realtime Server) api-server affecting versions prior to 5.0.157, 5.0-b1, and 6.0.48. The vulnerable component is the /api/v1/snapshots endpoint, which improperly handles attacker-controlled input supplied in the body of a POST request, allowing arbitrary commands to be executed by the underlying system. Because the injected commands are executed on the server, successful exploitation can result in remote code execution.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows a remote attacker to execute arbitrary operating system commands on the host running the vulnerable SRS api-server. Depending on the privileges of the SRS process, this can lead to full compromise of the application instance, unauthorized access to data, service manipulation or disruption, installation of additional payloads, and potential lateral movement from the affected host.
Mitigation
If you can’t patch tonight, do this now.
If immediate patching is not possible, restrict or disable access to the SRS api-server, especially the /api/v1/snapshots endpoint, using network ACLs, reverse-proxy filtering, or firewall rules so that only trusted administrative sources can reach it. Where feasible, disable the vulnerable functionality, place the service behind authentication and segmentation controls, and run the SRS process with minimal OS privileges to reduce post-exploitation impact.
Remediation
Patch, then assume compromise.
Upgrade SRS to a fixed version: 5.0.157, 5.0-b1, 6.0.48, or later, as applicable to the deployment branch. Validate that the api-server component is updated and that the /api/v1/snapshots endpoint no longer passes untrusted request-body input into command execution paths. After patching, review the host for signs of compromise if the endpoint was exposed to untrusted networks.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2023-34105 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2023-34105?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2023-34105.
- Is there a patch for CVE-2023-34105?
- Upgrade SRS to a fixed version: 5.0.157, 5.0-b1, 6.0.48, or later, as applicable to the deployment branch. Validate that the api-server component is updated and that the /api/v1/snapshots endpoint no longer passes untrusted request-body input into command execution paths.
- What products are affected by CVE-2023-34105?
- Ossrs Simple Realtime Server.
- How severe is CVE-2023-34105?
- CVE-2023-34105 has a CVSS v3.1 score of 7.5 (High) and an EPSS score of 8.7% (95th percentile) as of Oct 16, 2026.
Recent activity
2 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.
No news coverage yet. Advisories and community discussion only.