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: n/a
EPSS: n/a
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. While no public exploit has been tracked in the KEV catalog and EPSS data is unavailable, 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 leaking control to the attacker. Given the severity of the impact, administrators should treat this as a critical issue even in the absence of publicly available exploitation tools.

Generated by OpenCVE AI on August 17, 2026 at 21:42 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 17, 2026 at 21:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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-17T20:11:52.576Z

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

Link: CVE-2026-68004

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

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

Link: CVE-2026-68004

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-17T21:45:03Z

Weaknesses
  • CWE-269

    Improper Privilege Management

  • CWE-284

    Improper Access Control