CVE-2026-86147: CWE-73 External Control of File Name or Path in Apache Software Foundation Apache bRPC
Description
Apache bRPC versions prior to 1.18.0 contain vulnerabilities allowing remote attackers to control file paths and cause resource exhaustion. Attackers can exploit the builtin /flags service to create directories and overwrite files with server process privileges by manipulating dump path flags. Additionally, the /pprof service allows unbounded profiling durations, potentially causing denial of service by holding profiling resources indefinitely. These issues affect any bRPC server exposing builtin services to untrusted networks.
Affected software
Apache Software Foundation
Apache bRPC
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-86147 describes two related vulnerabilities in Apache bRPC versions before 1.18.0. First, the builtin /flags service permits external control of file paths used for dumping profiling data due to insufficient validation, enabling attackers to create directories and overwrite files arbitrarily with server privileges. This is caused by the bvar_dump_file, bvar_dump_tabs, and mbvar_dump_file flags accepting any value without sanitization, including directory traversal sequences. Second, the /pprof service does not limit the profiling duration parameter (?seconds=), allowing attackers to hold the CPU and contention profilers for extended periods, effectively denying profiling services to others. Both vulnerabilities arise from improper input validation and lack of resource usage limits on builtin services exposed by default on the RPC port.
Potential Impact
Successful exploitation allows remote attackers to create or overwrite files and directories on the server with the privileges of the Apache bRPC process, potentially leading to data corruption or unauthorized file manipulation. Additionally, attackers can cause denial of service by monopolizing profiling resources via the /pprof service, making profiling endpoints unavailable to legitimate users for extended durations.
Mitigation Recommendations
A fix is available by upgrading Apache bRPC to version 1.18.0, which disables runtime modification of the vulnerable dump path flags via the /flags service and enforces a maximum profiling duration for /pprof requests. Alternatively, the patch at https://github.com/apache/brpc/pull/3523 can be applied. After the fix, dump path flags can only be changed programmatically and profiling duration is capped by the -max_profiling_seconds flag (default 300 seconds). Users should upgrade or patch affected systems promptly to mitigate these vulnerabilities.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- apache
- Date Reserved
- 2026-09-05T07:14:26.207Z
- State
- PUBLISHED
Threat ID: 6ad8b1522cdf04f656ecd9c7
Added to database: 10/21/2026, 12:34:26 UTC
Last enriched: 10/21/2026, 12:49:05 UTC
Last updated: 10/21/2026, 13:40:20 UTC
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.