Skip to main content

CVE-2026-86147: CWE-73 External Control of File Name or Path in Apache Software Foundation Apache bRPC

0
High
VulnerabilityCVE-2026-86147cvecve-2026-86147cwe-73cwe-400
Published: 10/21/2026 (10/21/2026, 12:16:22 UTC)
Source: CVE Database V5
Vendor/Project: Apache Software Foundation
Product: 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

Affected versions
>=0 <1.18.0
GitHub Actionsmore threats →cve
apache/brpc
pkg:github/apache/brpc
Affected versions
>=0 <1.18.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/21/2026, 12:49:05 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses