CVE-2025-60021
Apache bRPC: Remote command injection vulnerability in heap builtin service
Description
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.
INFO
Published Date :
Jan. 16, 2026, 9:16 a.m.
Last Modified :
Jan. 21, 2026, 1:46 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | CRITICAL | 134c704f-9b21-4f2e-91b3-4a467353bcc0 |
Solution
- Upgrade bRPC to version 1.15.0.
- Apply the patch from the GitHub PR manually.
- Validate user-provided extra_options parameter.
- Disable the heap profiler service if not needed.
Public PoC/Exploit Available at Github
CVE-2025-60021 has a 2 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-60021.
| URL | Resource |
|---|---|
| https://lists.apache.org/thread/xy51d2fx6drzhfp92xptsx5845q7b37m | Mailing List Vendor Advisory |
| http://www.openwall.com/lists/oss-security/2026/01/16/4 | Mailing List Third Party Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-60021 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-60021
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
CVE-2025-60021
Python
CVE-2025-60021 PoC: Apache bRPC Heap Profiler Command Injection
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-60021 vulnerability anywhere in the article.
-
CybersecurityNews
Apache bRPC Vulnerability Enables Remote Command Injection
A critical remote command-injection vulnerability has been discovered in Apache bRPC’s built-in heap profiler service, affecting all versions before 1.15.0 across all platforms. The vulnerability allo ... Read more
-
Daily CyberSecurity
Keylogger Found Harvesting Credentials on Top US Bank’s Employee Store
Image: Sansec Security researchers at Sansec have discovered an active keylogger planted on the employee merchandise store of a “top 3 US bank,” potentially exposing the credentials and personal data ... Read more
-
Daily CyberSecurity
CVE-2025-60021: Apache bRPC Flaw Opens Door to Remote Command Injection
Apache has issued an important fix for bRPC, its industrial-grade C++ RPC framework used to power some of the world’s most demanding systems. The vulnerability, tracked as CVE-2025-60021, is rated as ... Read more
The following table lists the changes that have been made to the
CVE-2025-60021 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Jan. 21, 2026
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:apache:brpc:*:*:*:*:*:*:*:* versions from (including) 1.11.0 up to (excluding) 1.15.0 Added Reference Type Apache Software Foundation: https://lists.apache.org/thread/xy51d2fx6drzhfp92xptsx5845q7b37m Types: Mailing List, Vendor Advisory Added Reference Type CVE: http://www.openwall.com/lists/oss-security/2026/01/16/4 Types: Mailing List, Third Party Advisory -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Jan. 16, 2026
Action Type Old Value New Value Added Reference http://www.openwall.com/lists/oss-security/2026/01/16/4 -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jan. 16, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H -
New CVE Received by [email protected]
Jan. 16, 2026
Action Type Old Value New Value Added Description 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. Added CWE CWE-77 Added Reference https://lists.apache.org/thread/xy51d2fx6drzhfp92xptsx5845q7b37m