CVE-2018-18629

HIGH

Keybase < 2.8.0-20181023124437 - Untrusted Search Path Privilege Escalation via keybase-redirector

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2018-18629. PoCs published by mirchr.

AI-analyzed exploit summary This exploit leverages a PATH environment variable manipulation in the setuid root binary `keybase-redirector` to execute a malicious `fusermount` binary as root. The PoC demonstrates arbitrary command execution by creating a file `/w00t` with root privileges.

Description

An issue was discovered in the Keybase command-line client before 2.8.0-20181023124437 for Linux. An untrusted search path vulnerability in the keybase-redirector application allows a local, unprivileged user on Linux to gain root privileges via a Trojan horse binary.

Exploits (1)

exploitdb WORKING POC
by mirchr · locallinux
https://www.exploit-db.com/exploits/46044

This exploit leverages a PATH environment variable manipulation in the setuid root binary `keybase-redirector` to execute a malicious `fusermount` binary as root. The PoC demonstrates arbitrary command execution by creating a file `/w00t` with root privileges.

Classification
Working Poc 100%
Attack Type
Lpe
Complexity
Trivial
Reliability
Reliable
Target: keybase version 2.8.0.20181017144746.3efc4cbf3c
No auth needed
Prerequisites: Local access to the system · Presence of vulnerable keybase version · Ability to compile a custom binary
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (3)

Core 3
Core References
Exploit, Vendor Advisory x_refsource_confirm
https://keybase.io/docs/secadv/kb002
Exploit, Patch, Third Party Advisory x_refsource_misc
https://hackerone.com/reports/426944

Scores

CVSS v3 7.8
EPSS 0.0149
EPSS Percentile 70.9%
Attack Vector LOCAL
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-426
Status published
Products (1)
keybase/keybase < 2.8.0-20181023124437
Published Dec 20, 2018
Tracked Since Feb 18, 2026