Skip to main content

External control of file name or path and uncontrolled resource consumption in Apache bRPC (version < 1.18.0) on all platforms allows remote… (CVE-2026-86147)

0
High
Published: 10/21/2026 (10/21/2026, 15:42:30 UTC)
Source: GCVE Database

Description

Apache bRPC versions prior to 1.18.0 contain vulnerabilities that allow remote attackers to control file paths and cause uncontrolled resource consumption via builtin services. Attackers can create directories and overwrite files with server process privileges by manipulating runtime flags. Additionally, the profiling service can be abused to hold CPU profiling resources for extended periods, causing denial of service.

Affected software

org.apache.brpc/brpc
pkg:maven/org.apache.brpc/brpc
Affected versions
<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, 20:20:13 UTC

Technical Analysis

Apache bRPC versions before 1.18.0 have two main security issues in their builtin services. First, the /flags service allows modification of gflags controlling dump paths (bvar_dump_file, bvar_dump_tabs, mbvar_dump_file) without proper validation, enabling remote attackers to create directories and overwrite files arbitrarily with server process privileges. The dump path flags accept any value, and tab names can include '..' sequences to escape directories. Second, the /pprof service does not limit the ?seconds= parameter, allowing attackers to hold the CPU or contention profiler for extremely long periods, causing denial of profiling services (503 errors) for others. These vulnerabilities arise because the dump path flags lack sanitization and the profiling duration is unbounded. The issues are resolved in bRPC 1.18.0, which disables runtime modification of these dump path flags via /flags and caps profiling duration by a configurable maximum (default 300 seconds).

Potential Impact

Remote attackers who can access the builtin service port on an Apache bRPC server can create or overwrite files and directories at arbitrary locations with the privileges of the server process, potentially leading to data corruption or unauthorized file manipulation. Additionally, attackers can cause denial of profiling services by holding the CPU or contention profiler for extended periods, impacting server monitoring and diagnostics. These impacts require access to the builtin service port, which is enabled by default on the same port as normal RPC traffic, thus exposing the server to risk if accessible from untrusted networks.

Mitigation Recommendations

Upgrade Apache bRPC to version 1.18.0, which includes fixes that prevent runtime modification of dump path flags via the /flags service and enforce a maximum profiling duration for the /pprof service. Alternatively, apply the patch available at https://github.com/apache/brpc/pull/3523. After upgrading or patching, the dump path flags can only be changed programmatically and not via the /flags service, and profiling duration is capped by the -max_profiling_seconds gflag (default 300 seconds), which can be adjusted by the server owner. Restrict access to the builtin service port from untrusted networks to reduce exposure.

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

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-jm3m-mg8w-9wmc
Osv Schema Version
1.4.0
Aliases
["CVE-2026-86147"]
State
PUBLISHED

Threat ID: 6ad91cd44d27ba8daafaa59f

Added to database: 10/21/2026, 20:13:08 UTC

Last enriched: 10/21/2026, 20:20:13 UTC

Last updated: 10/21/2026, 23:15:12 UTC

Views: 2

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