RCE in Apache Brpc
CVE-2025-60021
Remote command injection vulnerability in heap profiler builtin service in Apache bRPC ((all versions < 1.15.0)) on all platforms allows attacker to inject remote command.
Root Cause: The bRPC heap profiler built-in service (/pprof/heap) does not validate the user-provided extra_options parameter and executes it as a command-line argument. Attackers can execute remote commands using the extra_options parameter..
Affected scenarios: Use the built-in bRPC heap profiler service to perform jemalloc memory profiling.
How to Fix: we provide two methods, you can choose one of them:
1. Upgrade bRPC to version 1.15.0.
2. Apply this patch ( https://github.com/apache/brpc/pull/3101 ) manually.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.552, 99.0th percentile (scored ); up from 0.255 30 days earlier. About EPSS.
EPSS over last 30 days · oldest: 0.255 · newest: 0.552 · change: +0.296
Affected products
- Apache Brpc
- Apache Software Foundation Brpc — versions 1.11.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- Mefhika120/Ashwesker-CVE-2025-60021 (last pushed 2026-01-21): CVE-2025-60021
References
- lists.apache.org/thread/xy51d2fx6drzhfp92xptsx5845q7b37m (vendor-advisory, Mailing List, Vendor Advisory)
- www.openwall.com/lists/oss-security/2026/01/16/4 (Mailing List, Third Party Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.