- Product track
- External Attack Surface Management
What Is Remote Code Execution?
Remote code execution (RCE) is when an attacker runs code of their choice on another person’s system from a distance. It is also called arbitrary code execution. The word “remote” means the attacker does not need to sit at the machine. The word “arbitrary” means the attacker, not the owner, picks the code.
A remote code execution vulnerability is a weakness in software that makes this possible. A current example in PHP itself is PHP2Shell, two critical PHP core flaws (CVE-2026-109618 and CVE-2026-109619). In Next.js, CVE-2026-96889 in the Next.js Image Optimization API is another example. In Node.js, CVE-2026-111497, an out-of-bounds write in the Brotli decoder (Node2Shell), is a recent one, as is CVE-2026-116366 in ClickHouse Server, which needs no login. A November 2026 example is a Quest Foglight for Databases flaw rated CVSS 9.8, where the Zero Day Initiative says an unauthenticated attacker can run code as SYSTEM.
On Windows, CVE-2026-78403 in Thales Sentinel Keys Server is a recent case. The CVE record says one crafted HTTP request with no login may run code as SYSTEM. In pgAdmin 4, the Import/Export Data command injection (CVE-2026-116241) lets a signed-in user run commands on the pgAdmin host.
How Does Remote Code Execution Work?
OWASP describes code injection as the general term for attacks that inject code that is then interpreted or executed by the application. It says these attacks exploit poor handling of untrusted data, through weak input validation.
MITRE describes the same weakness in CWE-94. In its words, the product builds all or part of a code segment using externally-influenced input from an upstream component. It does not neutralize, or incorrectly neutralizes, special elements that could modify the syntax or behavior of the intended code segment. MITRE adds that this lets attackers inject control plane data through legitimate data channels, which alters program execution.
What Does Code Injection Look Like in a Form?
Take a web application that takes text from a form and passes it to a function that runs text as code. No real case is meant here. A normal user types a name. An attacker types text that is itself code, and the application runs it. OWASP shows examples of this kind, where attackers abuse functions such as eval() and include() to run injected code.
What Does OWASP Say an Injection Can Cost?
OWASP says a successful code injection attack can result in loss of confidentiality, loss of integrity, loss of availability, and loss of accountability. In plain terms, data can be exposed or changed, and services can be disrupted.
How Can Remote Code Execution Be Reduced?
MITRE lists several mitigations for code injection. At the design stage, it suggests refactoring code to avoid generating code dynamically, running code in sandboxed environments such as chroot jails or AppArmor, and strict allowlist input validation. It notes that sandboxes contain an attack rather than prevent it. At the implementation stage, it suggests allowlists rather than relying only on blocklists, and fuzz testing and robustness testing. Fuzzing means feeding a program unexpected input to see how it behaves.
OWASP stresses proper data validation, such as checking allowed characters, data format and expected amounts of data.
CISA advises installing updates as soon as possible to protect devices against attackers who take advantage of system vulnerabilities. It also says attackers may target vulnerabilities for months or even years after updates are available.
How Should You Rank a New RCE Advisory?
CISA’s BOD 26-04 binds US federal agencies, but its four questions suit any team that must pick what to patch first. The fifth step follows its rules on fixing and checking.
- Is the system exposed?Ask whether the vulnerable asset can be reached from the internet. CISA calls this asset exposure.
- Is the flaw in the KEV catalog?Look up the CVE id in CISA’s Known Exploited Vulnerabilities catalog.
- Can the attack be automated?CISA asks whether an attacker can automate every step needed to exploit the flaw.
- How much control does it give?CISA separates partial from total control. Read the CVE record, where CISA publishes this rating.
- Fix it, then check itPatch, or as a stopgap take the system off the internet. Some CISA timelines also require a forensic triage.
Is Remote Code Execution the Same as Code Injection?
Not exactly. Code injection is a type of attack and a type of weakness. Remote code execution describes the result, where an attacker runs code on a system from afar. SQL injection and cross-site scripting are two well-known kinds of injection.
Which Terms Are Related?
Related terms include patch management, vulnerability management and zero-day vulnerability.
Related Pages in the Knowledge Hub
- How to defend against exploited vulnerabilities
- Vulnerability prioritisation with CVSS, EPSS and KEV signals
Why Does Configuration Matter in an RCE Advisory?
WatchGuard’s CVE-2026-93857 is a useful example: the vendor requires a SIP proxy configured on the Firebox. The CVE-2026-93857 profile records that condition and the affected release tracks. The WatchGuard SIP proxy patch checklist connects the policy review to the running fixed build. For a CMS extension example that CISA lists in KEV, see the Joomla JCE remote code execution flaw CVE-2026-48907.
A heap-based buffer overflow is one way a crafted network packet can reach this class of impact; see CVE-2026-119923 in Babelfish for PostgreSQL.
For a current example, see how three of the four Able2Shell N-central zero-day chains reach remote code execution.
The Plesk Site Import vulnerability CVE-2026-107246 shows how path traversal may lead to remote code execution as root when a non-owner subscription user can redirect a privileged backend session.
A code-generation example is CVE-2026-63469 in fastapi-code-generator, where an unsafe OpenAPI response key can execute during generated-module import.
A code-generation example is CVE-2026-63471 in fastapi-code-generator, where an influenced OpenAPI route path can execute code when a generated module is imported.
A memory-corruption example is CVE-2026-124001 in NASA JPL ION-DTN, where an integer wrap and unchecked copy can cause denial of service or potential code execution.
A code-generation example is CVE-2026-63470 in fastapi-code-generator, where an influenced OpenAPI summary can become executable Python in a generated route handler.
A package upload example is CVE-2026-104989 in Chaos Software V-Ray, where an uncontrolled library search path may permit unauthenticated remote code execution.
A configuration-dependent example is CVE-2026-123870 in Eclipse Otterdog, where unsafe webhook data evaluation can lead to remote code execution when the webhook secret is unset or empty.
A critical example is CVE-2026-119958 in Windows LDAP, which Microsoft says may allow an unauthorized attacker to execute code over a network.
Adobe Experience Manager provides another example: CVE-2026-113579 is a code injection flaw that can allow a low-privileged attacker to execute code in the current user’s context.
A current example is CVE-2026-12507 in ManageEngine Reports: an authenticated user with Create Query Reports permission can execute commands through crafted database queries.
Apache says CVE-2026-119618 in HTTP Server mod_http2 can lead to remote code execution through heap corruption.
Fortinet says CVE-2026-121529 in FortiClient may permit remote code execution after victim interaction.
For an Airflow example with a Celery broker-write prerequisite, see the CVE-2026-68982 CeleryExecutor profile.
Git says CVE-2026-111760 in recursive clones may permit code execution through attacker-supplied submodule configuration or hooks.
SignalWire says FreeSWITCH CVE-2026-116779 can let an accepted SIP MESSAGE run commands with the service process’s privileges.
Ghost says CVE-2026-105642 bookmark card command execution can run arbitrary commands on a vulnerable server after a staff user creates a card for an attacker-controlled website.
The CVE-2026-127048 Lazy Blocks profile explains how a REST permission-check flaw could allow unauthenticated server-side code execution in plugin versions before 3.0.0.
The CVE-2026-123751 WP Duplicate profile explains how an unauthenticated file upload flaw can lead to server-side code execution.
The 3DEXPERIENCE Station Launcher CVE-2026-93664 profile covers an unsafe deserialization flaw that Dassault says could allow unauthenticated remote code execution.
The 3DEXPERIENCE Station Launcher CVE alert shows how a newly disclosed remote code execution risk changes deployment triage.
The Batflat CVE-2026-111559 profile explains how an unauthenticated contact form vulnerability can lead to server-side PHP execution.
The Confluence Data Center CVE-2026-90436 profile explains a remote code execution risk that requires the XML-RPC and SOAP Remote API setting to be enabled.
Apache says the Apache Roller XML-RPC RCE profile covers one actively exploited deserialization flaw under CVE-2026-129448 and CVE-2026-82384.
TYPO3 says the CVE-2026-119623 installer bypass can lead to remote code execution when a qualifying installation marker reopens setup on a configured site.
Also Called
- RCE
- arbitrary code execution
Frequently Asked Questions
What is remote code execution?
Remote code execution (RCE) is when an attacker runs code of their choice on another person's system from a distance. Remote means the attacker does not need to sit at the machine, and arbitrary means the attacker picks the code.
How does remote code execution happen?
One route is code injection. OWASP says these attacks inject code that the application then interprets or executes, exploiting poor handling of untrusted data through weak input validation.
What can an attacker do with remote code execution?
OWASP says a successful code injection attack can cause loss of confidentiality, integrity, availability and accountability. In plain terms, data can be exposed or changed and services can be disrupted.
How can remote code execution be reduced?
MITRE suggests avoiding dynamic code generation, sandboxing and strict allowlist input validation. OWASP stresses data validation. CISA advises installing updates as soon as possible, because attackers may target vulnerabilities for months or years after updates exist.
Is remote code execution the same as code injection?
Not exactly. Code injection is a type of attack and a type of weakness. Remote code execution describes the result, where an attacker runs code on a system from afar.
