/

CVE-2026-107050

Severity:

CRITICAL RISK

(9.8)

Code Injection (CWE-94) in RetroArch Code Loading Path

CVE-2026-107050

Awaiting Analysis

Vulnerability type

Category:

Code Injection

CWE:

CWE-94

Impact:

Arbitrary Code Execution

Severity:

CRITICAL RISK

(9.8)

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

CVE-2026-107050 allows an attacker to cause another user to load attacker-supplied code through RetroArch. If the code is loaded, it may execute with the affected user's privileges.

CVE-2026-107050 allows an attacker to cause another user to load attacker-supplied code through RetroArch. If the code is loaded, it may execute with the affected user's privileges.

Affected context

The issue affects RetroArch v1.22.2 and involves loading attacker-supplied code. It becomes risky when an attacker can get another user to load that code; the description does not specify the delivery method or any additional deployment conditions.

The issue affects RetroArch v1.22.2 and involves loading attacker-supplied code. It becomes risky when an attacker can get another user to load that code; the description does not specify the delivery method or any additional deployment conditions.

Exploit preconditions

  • Attack surface: RetroArch's code-loading behavior
  • Required access: The attacker must be able to supply code and cause or persuade another user to load it; the specific access requirements are not described
  • Trigger point: The other user loads the attacker-supplied code
  • Why exploitation is possible: The supplied code can be executed in the loading user's security context
  • Attack surface: RetroArch's code-loading behavior
  • Required access: The attacker must be able to supply code and cause or persuade another user to load it; the specific access requirements are not described
  • Trigger point: The other user loads the attacker-supplied code
  • Why exploitation is possible: The supplied code can be executed in the loading user's security context

Why this happens

The reported behavior allows attacker-supplied code to be loaded and executed in another user's context. This is consistent with CWE-94: Improper Control of Generation of Code ('Code Injection'), where an application processes input as executable code without adequate safeguards.

The reported behavior allows attacker-supplied code to be loaded and executed in another user's context. This is consistent with CWE-94: Improper Control of Generation of Code ('Code Injection'), where an application processes input as executable code without adequate safeguards.

Potential impact

  • Arbitrary code may execute with the affected user's privileges
  • An attacker could gain access to data or resources available to that user
  • The affected account or local environment could be compromised
  • Further impact could depend on the user's permissions and the surrounding system
  • Arbitrary code may execute with the affected user's privileges
  • An attacker could gain access to data or resources available to that user
  • The affected account or local environment could be compromised
  • Further impact could depend on the user's permissions and the surrounding system

General mitigation guidance

Defensive patterns focus on reducing trust in externally supplied code and limiting the effects of code execution:

  • Prefer secure-by-default workflows that do not automatically load or execute untrusted code
  • Require clear user awareness and appropriate verification before loading code from untrusted sources
  • Apply integrity and provenance checks where code is accepted
  • Run the application with only the privileges needed for its task
  • Isolate code-loading activities from sensitive data and system resources where practical

Defensive patterns focus on reducing trust in externally supplied code and limiting the effects of code execution:

  • Prefer secure-by-default workflows that do not automatically load or execute untrusted code
  • Require clear user awareness and appropriate verification before loading code from untrusted sources
  • Apply integrity and provenance checks where code is accepted
  • Run the application with only the privileges needed for its task
  • Isolate code-loading activities from sensitive data and system resources where practical

How teams detect issues like this

High-level review and monitoring can focus on:

  • Static analysis and code review for paths that accept external content and pass it to code-loading or execution mechanisms
  • Signals of unexpected code loading or execution in application and endpoint telemetry
  • Policy checks that restrict loading code from untrusted locations or sources
  • Automated review tools that flag unsafe code-generation and execution patterns

High-level review and monitoring can focus on:

  • Static analysis and code review for paths that accept external content and pass it to code-loading or execution mechanisms
  • Signals of unexpected code loading or execution in application and endpoint telemetry
  • Policy checks that restrict loading code from untrusted locations or sources
  • Automated review tools that flag unsafe code-generation and execution patterns

Sources

SourceLink
f-droid.orgf-droid.org/packages/com.retroarch/
github.comgithub.com/FFG0d/fdroid-android-advisories/blob/main/advisories/CVE-2026-107050.md
github.comgithub.com/libretro/RetroArch
nvd.nist.govnvd.nist.gov/vuln/detail/CVE-2025-9136

Frequently asked

questions

The description does not identify a network-based attack path. It states that an attacker can cause another user to load attacker-supplied code.

The attacker needs a way to supply the code and get another user to load it. The precise access or delivery requirements are not specified.

Avoid automatically loading or executing untrusted code, and apply appropriate verification and isolation to code-loading workflows.

Reduce trust in externally supplied code, review code-loading paths, enforce policies for acceptable sources, and limit the privileges of the application.

The description does not identify a network-based attack path. It states that an attacker can cause another user to load attacker-supplied code.

The attacker needs a way to supply the code and get another user to load it. The precise access or delivery requirements are not specified.

Avoid automatically loading or executing untrusted code, and apply appropriate verification and isolation to code-loading workflows.

Reduce trust in externally supplied code, review code-loading paths, enforce policies for acceptable sources, and limit the privileges of the application.

Find out what's already
exploitable in your codebase.