Skip to content

In-depth lesson · bug class

Remote code execution

What every disclosed RCE report in the index teaches, put together: how it works, how it changed year by year, where it turns up, and things to try. Every point shows the reports it is seen in.

reports cited in this lesson
9,850

Learning RCE reading list

Overview

What it is and why programs pay for it.

Remote code execution is the class of bug where an attacker can make the target system run code of their choosing. In the reports behind this lesson it appears in many forms: command injection in web interfaces, expression language evaluation in Java consoles, unsafe deserialisation in Java and .NET services, memory corruption in file parsers, and workflow injection in CI pipelines. Programs care because a single such bug can hand over the host, its data and its credentials, and because these flaws often sit in internet-facing management interfaces where they are reachable without much effort.

What it usually leads to is full control of the affected service or host: reading files, running commands, moving to other systems, or in the case of CI workflows, stealing tokens and secrets. The evidence shows this repeatedly in security appliances, routers, backup software, industrial software and hosting panels, where a configuration field or a request parameter ends up in a shell command or an evaluator.

It is most often found where user input meets an interpreter: web management interfaces that build shell commands, page-rendering endpoints that evaluate bean or class names as expressions, endpoints that deserialise request data, file parsers handling untrusted documents, and CI workflows that interpolate pull request or issue text into scripts. The reports also show it in ActiveX controls, PDF and media parsers, and machine-learning checkpoint loaders.

How it works

The mechanics, as the reports show them.

The common pattern is that a value the attacker controls reaches a place where it is treated as code rather than data. In command injection, a request parameter such as a hostname, gateway or filename is concatenated into a shell command string without escaping, so shell metacharacters in the value are interpreted by the shell. The evidence shows this across network configuration forms, hosting panel scripts and router CGI endpoints.

A second pattern is expression evaluation. Page-rendering endpoints and servlets accept a bean or class name parameter and pass it into an expression language evaluator during rendering, so a crafted value is evaluated server-side. The same flaw often repeats across many pages of the same console, which is why the reports list dozens of endpoints for one product.

A third pattern is unsafe deserialisation. Endpoints accept serialised data and reconstruct objects without restricting which classes may be instantiated, so an attacker can supply a gadget chain that runs code during deserialisation. This appears in Java and .NET applications, webmail scripts, machine-learning checkpoint loaders and the Flight protocol used by React Server Components.

A fourth pattern is memory corruption in parsers. Crafted files or network messages cause use-after-free, type confusion, integer overflow or out-of-bounds access in PDF readers, media players, image libraries, Office file parsers and industrial project file parsers. The root cause is that the parser mishandles crafted input and the resulting memory error can be turned into code execution.

A fifth pattern is workflow injection in CI. Workflows that interpolate pull request branch names, titles, commit messages, issue titles, bodies or comments into shell commands let an attacker place shell metacharacters in that text. Workflows using the privileged pull_request_target event that then check out and run code from a fork are a related variant, because the untrusted code runs with the base repository's token and secrets.

What makes all of these possible is a missing boundary between data and code: no escaping or argument separation before a shell, no allow-list before an evaluator or deserialiser, no validation of file structure before a parser, and no separation of trusted and untrusted code in CI. The fixes in the evidence follow the same theme: treat input as inert data, pass arguments separately, restrict which classes may be reconstructed, and do not run fork code in privileged workflows.

Year by year

3 years

What each year's disclosed reports show, newest first. A year with few reports says less.

Reports per yearPeak 2026: 1,153
Reports per year
200187
20051
20061
20072
20082
200910
2010270
2011316
2012197
2013277
2014379
2015522
2016591
2017863
2018823
2019364
2020591
2021571
2022433
2023551
2024598
2025818
20261153
  1. 2026

    1,153 reports · median $5,250

    New this year4

    • AI and LLM tooling, including MCP servers, agent frameworks and chat interfaces, first appears as a substantial cluster in the disclosed reports.
    • Kernel page-cache write flaws in the crypto and network receive paths, reached through splice and in-place decryption, appear as a recurring local privilege escalation theme in the disclosed reports.
    • Package registry and repository takeovers through unclaimed names, stale references or stolen publishing tokens grew as a theme in the disclosed reports.
    and 1 more

    Kept working6

    • A large run of reports from one programme covered Python machine-learning libraries, split between checkpoint deserialisation and YAML configuration code injection, as shown in the disclosed reports.
    • Network appliance and hardware web interfaces repeatedly passed configuration strings to system calls in the disclosed reports.
    and 4 more

    Turned up less3

    • Earlier reports relied on Internet Explorer use-after-free issues in DOM, layout and CSS objects, which are absent from the 2026 evidence.
    • ActiveX control buffer overflows in industrial and document software were common earlier and do not feature in the 2026 evidence.
    and 1 more
  2. 2025

    818 reports · median $3,134

    New this year4

    • A cluster of reports covered deserialisation and code injection in Hugging Face Transformers, Diffusers, Accelerate and smolagents model and checkpoint files, as shown in the disclosed reports.
    • AI and developer tooling, including MCP clients and servers, model loading and prompt code export, grew as a target in the disclosed reports.
    • Sandbox escapes in the n8n workflow expression evaluator and Set node expression mode appear as a distinct cluster in the disclosed reports.
    and 1 more

    Kept working6

    • Deserialisation of untrusted data across web, desktop and source targets was a recurring finding in the disclosed reports.
    • A large cluster of reports covered many separate CGI endpoints on the same router model, as shown in the disclosed reports.
    and 4 more

    Turned up less3

    • Earlier reports centred on Internet Explorer use-after-free issues in DOM, layout and CSS objects, which are absent from the 2025 evidence.
    • ActiveX control buffer overflows in industrial, camera and document software were common earlier and do not appear in the 2025 evidence.
    and 1 more
  3. 2024

    598 reports · median $503

    New this year4

    • Installers and SDKs from official Microsoft repositories that fetch non-existent cloud resources which an attacker could register first appear as a cluster in the disclosed reports.
    • A cluster of reports from one security lab focused on code injection in GitHub Actions workflows through comments, branch names, file names and artifacts, as shown in the disclosed reports.
    • Dependency confusion and typosquatting against npm, including unclaimed internal names and wildcard workspace versions, grew as a theme in the disclosed reports.
    and 1 more

    Kept working6

    • Hunters found that exposed instances could be located with Shodan, filtered with Nuclei templates and confirmed with public exploits, as shown in the disclosed reports.
    • Command injection through filenames, IP addresses and usernames passed to system commands was a recurring finding in the disclosed reports.
    and 4 more

    Turned up less3

    • Earlier reports relied on browser and plugin memory corruption in DOM and CSS objects, which is much rarer in the 2024 evidence.
    • Buffer overflows in third-party ActiveX controls used by industrial and document software were common in earlier years but do not feature in the 2024 evidence.
    and 1 more
Every point, year by year

Where it is found

1,010

The features and places the reports found it in, most-reported first.

  1. The webvrpcs service in Advantech WebAccess, including DLLs like BwWebSvc.dll, DrawSrv.dll, ViewDll.dll, BwKrlApi.dll, ViewSrv.dll, BwpAlarm.dll, WaDBS.dll, BwBASScdDl.dll and BwOpcSvc.dll.

    Seen in 99 reports
  2. Trend Micro Mobile Security for Enterprise had SQL injection across dozens of action handlers, each with a different parameter.

    Seen in 66 reports
  3. Page-rendering endpoints and GWT servlets that take a bean or class name parameter and evaluate it as an expression.

    Seen in 36 reports
  4. Web management interfaces of security appliances expose many configuration handlers that build shell commands.

    Seen in 36 reports
  5. PDF readers (Foxit, Acrobat, Bitdefender) were attacked through XFA form scripting objects, annotations, layout nodes and embedded image formats.

    Seen in 35 reports
View all 1,010

Root causes

2,519

The mistakes in the code or configuration behind the reports.

  1. Parsers mishandled crafted input, causing use-after-free, type confusion, integer overflow or out-of-bounds access.

    Seen in 90 reports
  2. User input was concatenated into shell command strings without escaping or validation.

    Seen in 53 reports
  3. User input was passed into an expression language evaluator during page rendering without validation, escaping or allow-listing.

    Seen in 53 reports
  4. User-controlled bean or class name parameters were passed into an expression language evaluation without validation or escaping.

    Seen in 36 reports
  5. User-controlled parameters were passed straight into a deserialisation routine without validating or restricting the classes that could be instantiated.

    Seen in 34 reports
View all 2,519

Things to try

The most-reported tests in the largest contexts. Tick what you have tried; ticks stay in this browser and carry over to the full checklist. Test only what a program's scope allows.

ticked in this lesson

Other

of 3 ticked
  • Seen in 14 reports
  • Seen in 14 reports
  • Seen in 13 reports
More in Other

Management console endpoints

of 3 ticked
  • Seen in 48 reports
  • Seen in 40 reports
  • Seen in 19 reports
More in Management console endpoints

Firmware update and device commands

of 3 ticked
  • Seen in 24 reports
  • Seen in 5 reports
  • Seen in 4 reports
More in Firmware update and device commands

Network configuration forms

of 3 ticked
  • Seen in 23 reports
  • Seen in 14 reports
  • Seen in 12 reports
More in Network configuration forms
View more things to try

Bypasses and variations

338

How reports got past filters, encoders and other defences.

  1. The expression language injection was reachable after bypassing the console's existing authentication mechanism, so check for auth bypass paths before assuming a login wall protects the endpoint.

    Seen in 53 reports
  2. The existing authentication on these endpoints could be bypassed, so an unauthenticated attacker could still reach the injection.

    Seen in 21 reports
  3. Where authentication is required on a deserialisation endpoint, try to bypass it before sending the serialised object.

    Seen in 19 reports
  4. Authentication on these service endpoints could be bypassed, so treat an authenticated-only deserialisation bug as reachable without credentials.

    Seen in 18 reports
  5. Look for authentication checks that can be bypassed to reach expression language injection endpoints.

    Seen in 4 reports
View all 338

Payouts

229 paid

Public bounties in US dollars, from the data. 229 of 10,318 reports show an amount.

a quarter paid up to
$500
median
$2,000
three quarters paid up to
$6,000
highest
$250k

One in ten paid reports was paid $17k or more.

SeverityReportsPaidMedianHighest
Critical 2,368 32 $5,250 $34k
High 2,675 26 $2,500 $55k
Medium 1,960 21 $1,000 $4,617
Low 59 28 $500 $2,000
Informational 19 2 $2,025 $4,000
Unrated 3,237 120 $3,050 $250k

Typical fixes

450

How programs fixed it, as the reports describe.

  1. Treat configuration values as inert data and never pass them into a code-execution function.

    Seen in 21 reports
  2. Pass untrusted values as safely quoted arguments or environment variables rather than interpolating them into the command text.

    Seen in 20 reports
  3. Do not check out or run code from the pull request's fork in a pull_request_target workflow; use the unprivileged pull_request event for untrusted code, or require approval before running fork code.

    Seen in 19 reports
  4. Avoid building shell commands from user input and pass arguments as separate values instead.

    Seen in 17 reports
  5. Pass arguments as separate values instead of building shell command strings.

    Seen in 17 reports
View all 450

Tips for beginners

13

Advice for a first hunt, drawn from the reports.

  1. Start with the surfaces the evidence shows are most productive: web management interfaces of appliances and routers, page-rendering endpoints that take bean or class names, endpoints that accept serialised data, and CI workflows in open source repositories. Pick one product or repository and map its input handling before testing.

    Seen in 4 reports
  2. For command injection, look for fields that end up in shell commands: hostnames, gateways, DNS settings, interface names, filenames, usernames and backup paths. Test each field with shell metacharacters and watch for command output, timing changes or errors that show the value was interpreted.

    Seen in 3 reports
  3. For expression language injection, enumerate every page that takes a bean, action or class name parameter and test whether the value is evaluated during rendering rather than treated as plain data. The same flaw often repeats across many pages, so a single finding can lead to dozens of endpoints.

    Seen in 3 reports
  4. For deserialisation, find endpoints that accept binary blobs or serialised parameters and check whether they reconstruct arbitrary classes. A single product often leaves many endpoints deserialising untrusted input, so enumerate all of them rather than stopping at the first.

    Seen in 3 reports
  5. For CI workflows, look for workflows triggered by pull_request_target that check out the pull request head from a fork, and for workflows that interpolate branch names, titles, commit messages, issue titles, bodies or comments into shell commands. Test with a pull request or issue from a fork and observe whether your text is executed.

    Seen in 3 reports
View all 13

Guides and techniques

View all

The best explainers, cheat sheets and technique posts on RCE, from around the web.

Keep learning

Where this lesson fits, and what to read next.

How this is made: our model read every listed RCE report in the index (our own summary where we have one, otherwise the title and the platform's label), listed the patterns, and merged them. Each point was kept only if the reports it cites exist, are listed and belong here; payouts are computed from the data, not written by the model. Read the originals before relying on a point. Generated 28 Nov 2026 from 10,317 reports. All RCE reports.