Description
An issue in OSSRS SRS (Simple Realtime Server) <v5.0.213 allows a remote attacker to execute arbitrary code via RTMP publish authorization, vhost-level security configuration (security.enabled), SrsSecurity::check(), trunk/src/app/srs_app_security.cpp, and SRS RTMP listener components
Published: 2026-08-17
Score: 9.8 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

An authentication flaw in OSSRS SRS (Simple Realtime Server) when the vhost security setting is enabled allows a remote attacker to bypass publish authorization checks and run arbitrary code on the host. This flaw resides in the SrsSecurity::check function underlying the RTMP listener, which fails to enforce the intended permission model during the publish phase. Because the vulnerability is exploitable without additional preconditions other than reaching the RTMP endpoint, an attacker can compromise confidentiality, integrity, and availability of the affected server by executing arbitrary system commands.

Affected Systems

Any deployment of OSSRS SRS earlier than version 5.0.213 that has the vhost security feature enabled is vulnerable. The issue specifically targets the RTMP publish authorization component found in trunk/src/app/srs_app_security.cpp. No other vendor or product variants are currently affected.

Risk and Exploitability

The flaw permits remote code execution over the public RTMP interface, which is typically exposed to the internet. With a CVSS score of 9.8, the vulnerability is considered critical; the EPSS score of < 1% reflects a low but nonzero exploit probability. While no public exploit has been tracked in the KEV catalog, the inherent nature of the vulnerability and the lack of defensive controls make it a high‑risk flaw for exposed services. Standard attack vectors would involve sending a crafted RTMP publish request from a remote host, triggering the unchecked authorization routine and consequently granting the attacker control to execute arbitrary system commands.

Generated by OpenCVE AI on August 21, 2026 at 19:05 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade OSSRS SRS to version 5.0.213 or later, where the publish authorization check has been corrected.
  • If upgrading immediately is not possible, temporarily disable the vhost-level security configuration (set security.enabled to false) or restrict the publish route to trusted clients using network ACLs or firewall rules.
  • Apply additional hardening by enforcing strict access controls on the RTMP port, ensuring only authenticated, whitelisted clients can publish streams, to mitigate potential exploitation until a patch is applied.

Generated by OpenCVE AI on August 21, 2026 at 19:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 21 Aug 2026 19:30:00 +0000

Type Values Removed Values Added
Title Remote Code Execution via RTMP Publish Authorization in OSSRS SRS

Tue, 18 Aug 2026 23:00:00 +0000

Type Values Removed Values Added
Title Remote Code Execution via RTMP Publish Authorization in OSSRS SRS
Weaknesses CWE-269

Tue, 18 Aug 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Mon, 17 Aug 2026 22:00:00 +0000

Type Values Removed Values Added
Title Remote Code Execution via RTMP Publish Authorization in OSSRS SRS
Weaknesses CWE-269
CWE-284

Mon, 17 Aug 2026 20:15:00 +0000

Type Values Removed Values Added
Description An issue in OSSRS SRS (Simple Realtime Server) <v5.0.213 allows a remote attacker to execute arbitrary code via RTMP publish authorization, vhost-level security configuration (security.enabled), SrsSecurity::check(), trunk/src/app/srs_app_security.cpp, and SRS RTMP listener components
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-08-18T18:48:20.045Z

Reserved: 2026-07-30T00:00:00.000Z

Link: CVE-2026-68004

cve-icon Vulnrichment

Updated: 2026-08-18T18:47:34.709Z

cve-icon NVD

Status : Received

Published: 2026-08-17T20:16:45.240

Modified: 2026-08-18T19:17:01.110

Link: CVE-2026-68004

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-21T19:15:04Z

Weaknesses