ZeroHour

CVE-2026-84700

niche

Unauthenticated replication access in PikiwiDB (Pika) v3.5.7

CVSS 4.0
8.8 high
EPSS
<1%p29
Published
()
Modified
AI analysis

PikiwiDB (Pika) v3.5.7 runs an internal protobuf replication server on a port derived from the client port plus 2000 (TCP 11221 when the default client port 9221 is used), and this listener accepts replication commands without any authentication. Although requirepass is intended to gate replication via the masterauth field in a MetaSync request, only the MetaSync handler (HandleMetaSyncRequest) validates it, while the frame dispatcher (DealMessage) routes other message types to their handlers without requiring a completed or attempted MetaSync. An unauthenticated remote attacker who can reach the replication port can therefore send TrySync, DBSync, BinlogSync, and RemoveSlaveNode requests and obtain the full-sync snapshot (a copy of the dataset), tap the live stream of subsequent writes, and remove replica nodes from the replication topology. Any Pika 3.5.7 deployment whose replication port is reachable from an untrusted network is affected, including instances where requirepass is configured, since that setting does not protect this listener. No public proof-of-concept, KEV listing, or confirmed in-the-wild exploitation is known; EPSS currently estimates a 0.4% probability of exploitation within 30 days.

What to do: Until a patched release is published, restrict the replication port (client port + 2000, e.g. TCP 11221 when using the default 9221) at the host or network firewall so only trusted replica addresses can reach it, and where possible bind replication traffic to a private interface; note that setting requirepass does not mitigate this issue. Check running instances for the derived port listening on all interfaces and review its connections/logs for unexpected peers, then upgrade to a fixed version once one is announced.

Affected
PikiwiDB Pika3.5.7 (the only version cited in the advisory data; no other affected ranges or fixed version are provided)
Estimated exposure
nichelikely hundreds to low thousands of internet-exposed instances (subset of a modest installed base) — Pika is a modestly adopted open-source Redis-compatible database used mainly in niche self-hosted deployments, so only low thousands of instances are plausibly internet-exposed on its non-standard client port, and only deployments that…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

PikiwiDB (Pika) v3.5.7 exposes an internal protobuf replication server on a port derived from the client port plus 2000 (e.g. 11221 when the default client port 9221 is used) that does not authenticate incoming requests. Although requirepass is intended to gate replication — a slave presents it as masterauth inside its MetaSync request — only the MetaSync handler (HandleMetaSyncRequest) validates it; the frame dispatcher (DealMessage) does not require a completed or attempted MetaSync before routing other message types to their handlers. As a result, an unauthenticated remote attacker can connect directly to the replication port and issue TrySync, DBSync, BinlogSync, and RemoveSlaveNode requests, obtaining the full-sync snapshot and live write stream and removing replica nodes, even when requirepass is configured.

Weakness
CWE-306
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news

No ingested article mentions this CVE yet.