Pre-Authentication RCE Chain Found in tac_plus TACACS+ Daemon
Vulnerability Disclosure · 10 sources · Updated 2mo ago · First seen Sep 23, 2026

elttam disclosed an attacker-controlled format-string vulnerability in the tac_plus TACACS+ daemon, affecting the Facebook fork F4.0.4.28-7fb and the Shrubbery code tree. A crafted AUTHEN/START request can inject data into session.port; a malformed continuation can then cause send_authen_error() to pass the attacker-influenced buffer directly to report() as a format string. The researchers demonstrated code execution on an unhardened 32-bit build by overwriting the Global Offset Table entry for free(), while warning that modern exploit mitigations raise the bar but do not eliminate the underlying vulnerability.
The attack can be conducted before authentication and is strengthened by a TCP/49 shared-secret oracle: predictable error responses allow offline guessing of weak TACACS+ pre-shared secrets without intercepted traffic or valid credentials. After recovering the secret, an attacker can generate an obfuscated exploit packet; a trusted TACACS+ client that relays attacker-controlled values could also be abused. Organizations using affected tac_plus deployments should identify exposed TCP/49 services, apply vendor fixes or mitigations, restrict TACACS+ access to trusted management networks, and rotate weak shared secrets.


