/

CVE-2026-96656

Severity:

HIGH RISK

(7.2)

Arbitrary File Write (CWE-73) in Plex Media Server

CVE-2026-96656

Analyzed

Vulnerability type

Category:

Uncontrolled File or Path Handling

CWE:

CWE-73

Impact:

Potential Code Execution

Severity:

HIGH RISK

(7.2)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

Plex Media Server allows an administrator to influence a transcoder option that is appended verbatim to x264's option string, potentially enabling arbitrary file creation or modification. Because startup loads shared-object files without signature, execute-bit, or symbol validation, a suitably placed file may be executed when the server starts.

Affected context

The issue occurs in Plex Media Server deployments where an administrator can set the

TranscoderH264Options preference and the server performs transcoding. Risk is increased

when the resulting file-write behavior can place a shared-object file in a location scanned

during startup, and when startup loading does not enforce authenticity or structural checks.

Exploit preconditions

  • Attack surface: Plex Media Server preference and transcoding configuration handling
  • Required access: Administrative access sufficient to change the relevant preference
  • Trigger point: A transcoding operation followed by server startup or shared-object loading
  • Why exploitation is possible: The preference is appended without adequate restriction, while startup accepts .so files without signature, execute-bit, or symbol validation

Why this happens

The underlying weakness is uncontrolled use of administrator-influenced input in a file-writing

or path-sensitive processing flow. The TranscoderH264Options value is incorporated verbatim

into an external option string, allowing its effects to extend beyond an intended configuration

value. Subsequent loading of shared objects without authenticity and eligibility checks creates

an execution path. This behavior is consistent with CWE-73: External Control of File Name or Path.

Potential impact

  • An attacker with administrative access could cause arbitrary files to be written or modified.
  • Malicious shared-object code could execute in the Plex service context.
  • The media server process and its accessible data could be compromised.
  • The host or connected services could be exposed to lateral movement or data tampering.

General mitigation guidance

Mitigation generally focuses on reducing trust in administrator-supplied option values and

separating transcoding configuration from filesystem effects.

Common defensive patterns include:

  • Treating preference values as structured data rather than concatenating them into command options.
  • Applying strict allowlists for supported transcoder flags, values, characters, and lengths.
  • Constraining file operations to dedicated, non-sensitive directories with safe path resolution.
  • Loading only explicitly allowlisted shared objects from controlled locations.
  • Verifying signatures, ownership, permissions, and expected symbols before loading native code.
  • Running the media service with least privilege and limiting its filesystem and process access.
  • Separating administrative configuration privileges from host-level file and code-execution privileges.

How teams detect issues like this

Detection approaches may include:

  • Static analysis for string concatenation or argument construction involving administrator-controlled preferences.
  • Code review of transcoder option handling, file path resolution, and dynamic library loading.
  • Monitoring for unexpected changes to preference files, transcoder-related directories, and shared-object files.
  • Alerting on server startup events that load newly created or modified .so files.
  • Policy enforcement requiring allowlisted native libraries, trusted ownership, and restricted write locations.
  • Automated security review tools can help identify command construction and uncontrolled path flows.

Sources

SourceLink
forums.plex.tvforums.plex.tv/t/plex-media-server/30447/711
raw.githubusercontent.comraw.githubusercontent.com/cisagov/CSAF/develop/csaf_files/IT/white/2026/va-26-266-01.json
cve.orgcve.org/CVERecord?id=CVE-2026-96656
zmain.infozmain.info/blog/plex2shell
boredhackerblog.infoboredhackerblog.info/2026/10/plex-vulnerabilities-being-exploited-in.html
cisa.govcisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-96656

Frequently asked

questions

Exploitation is generally dependent on reaching the Plex administrative interface or another

control plane that can change the affected preference. Network exposure and access controls

determine whether that administrative capability is reachable remotely.

The described attack path requires administrative-level access to modify the relevant Plex

preference, unless another weakness provides equivalent control.

Treat transcoder preferences as constrained, structured input; prevent them from controlling

arbitrary file behavior; and load native libraries only from trusted, explicitly allowlisted

locations after authenticity and integrity checks.

Use least-privilege service accounts, isolate writable directories from executable search paths,

validate configuration against strict schemas, and monitor changes to native libraries and

startup-loaded files.

Find out what's already
exploitable in your codebase.