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.
- disclosed reports read
- 10,318
- reports cited in this lesson
- 9,850
- median public bounty
- $2,000
- highest public bounty
- $250k
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.
Seen in these reports9
-
Medium -
High -
Critical
Show 5 moreShow fewer
-
Medium -
High -
Critical -
High
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.
Seen in these reports15
-
High -
High -
Critical
Show 5 moreShow fewer
-
High -
Medium -
Critical -
High
Year by year
3 yearsWhat each year's disclosed reports show, newest first. A year with few reports says less.
| 2001 | 87 |
|---|---|
| 2005 | 1 |
| 2006 | 1 |
| 2007 | 2 |
| 2008 | 2 |
| 2009 | 10 |
| 2010 | 270 |
| 2011 | 316 |
| 2012 | 197 |
| 2013 | 277 |
| 2014 | 379 |
| 2015 | 522 |
| 2016 | 591 |
| 2017 | 863 |
| 2018 | 823 |
| 2019 | 364 |
| 2020 | 591 |
| 2021 | 571 |
| 2022 | 433 |
| 2023 | 551 |
| 2024 | 598 |
| 2025 | 818 |
| 2026 | 1153 |
-
2026
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.
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.
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.
-
2025
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.
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.
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.
-
2024
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.
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.
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.
Where it is found
1,010The features and places the reports found it in, most-reported first.
-
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
-
Trend Micro Mobile Security for Enterprise had SQL injection across dozens of action handlers, each with a different parameter.
Seen in 66 reports
-
Page-rendering endpoints and GWT servlets that take a bean or class name parameter and evaluate it as an expression.
Seen in 36 reports
-
Web management interfaces of security appliances expose many configuration handlers that build shell commands.
Seen in 36 reports
-
PDF readers (Foxit, Acrobat, Bitdefender) were attacked through XFA form scripting objects, annotations, layout nodes and embedded image formats.
Seen in 35 reports
Technologies in these reports16
Root causes
2,519The mistakes in the code or configuration behind the reports.
-
Parsers mishandled crafted input, causing use-after-free, type confusion, integer overflow or out-of-bounds access.
Seen in 90 reports
-
User input was concatenated into shell command strings without escaping or validation.
Seen in 53 reports
-
User input was passed into an expression language evaluator during page rendering without validation, escaping or allow-listing.
Seen in 53 reports
-
User-controlled bean or class name parameters were passed into an expression language evaluation without validation or escaping.
Seen in 36 reports
-
User-controlled parameters were passed straight into a deserialisation routine without validating or restricting the classes that could be instantiated.
Seen in 34 reports
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
Management console endpoints
of 3 ticked-
Seen in 48 reports
-
Seen in 40 reports
-
Seen in 19 reports
Firmware update and device commands
of 3 ticked-
Seen in 24 reports
-
Seen in 5 reports
-
Seen in 4 reports
Network configuration forms
of 3 ticked-
Seen in 23 reports
-
Seen in 14 reports
-
Seen in 12 reports
Bypasses and variations
338How reports got past filters, encoders and other defences.
-
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
-
The existing authentication on these endpoints could be bypassed, so an unauthenticated attacker could still reach the injection.
Seen in 21 reports
-
Where authentication is required on a deserialisation endpoint, try to bypass it before sending the serialised object.
Seen in 19 reports
-
Authentication on these service endpoints could be bypassed, so treat an authenticated-only deserialisation bug as reachable without credentials.
Seen in 18 reports
-
Look for authentication checks that can be bypassed to reach expression language injection endpoints.
Seen in 4 reports
Payouts
229 paidPublic 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.
| Severity | Reports | Paid | Median | Highest |
|---|---|---|---|---|
| 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 |
Highest-paid reports5
-
$250,000 -
$160,000 -
$148,337 -
$90,000 -
$60,000
Typical fixes
450How programs fixed it, as the reports describe.
-
Treat configuration values as inert data and never pass them into a code-execution function.
Seen in 21 reports
-
Pass untrusted values as safely quoted arguments or environment variables rather than interpolating them into the command text.
Seen in 20 reports
-
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
-
Avoid building shell commands from user input and pass arguments as separate values instead.
Seen in 17 reports
-
Pass arguments as separate values instead of building shell command strings.
Seen in 17 reports
Tips for beginners
13Advice for a first hunt, drawn from the reports.
-
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
-
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
-
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
-
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
-
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
Guides and techniques
View allThe best explainers, cheat sheets and technique posts on RCE, from around the web.
-
PHP Filters Chain: What Is It And How To Use ItExplains how to chain PHP filter primitives to escalate file inclusion into remote code execution, with a Laravel gadget chain example.
Technique synacktiv.com
-
Limitations are just an illusion – advanced server-side template exploitation with RCE everywhereAdvanced SSTI exploitation achieving RCE in Jinja2, Mako and Twig without quotes or plugins, with step-by-step payloads.
Technique yeswehack.com
-
Exploiting Deserialisation in ASP.NET via ViewStateExplains forging ASP.NET ViewState to achieve deserialisation code execution when MAC validation is disabled or keys leak.
Technique soroush.me
-
SSTI: A complete guide to exploiting advanced server-side template injectionsDeep guide to server-side template injection across Jinja2, Twig and ERB, including sandbox escapes and escalation to remote code execution.
Explainer intigriti.com
-
The ultimate Bug Bounty guide to OS command injection vulnerabilitiesBreaks down direct, blind, out-of-band and second-order OS command injection with detection and exploitation methods.
Explainer yeswehack.com
Keep learning
Where this lesson fits, and what to read next.
Learning paths
Lessons on single techniques in RCE
Lessons 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.