Protection mechanism failure in scapy - #VU159448
Published: November 5, 2026
Vulnerability details
The vulnerability allows a remote attacker to disclose usernames, passwords, commands, and accounting records transmitted in TACACS+ messages.
The vulnerability exists due to a protection mechanism failure in Scapy's TACACS+ packet handling when processing messages with the Single Connection flag set. A remote attacker can observe the affected TCP connection to read message contents because the code incorrectly checks whether the entire flags byte is zero instead of testing only the Unencrypted bit, causing connection reuse to disable message obfuscation.
The affected TACACS+ contrib module is opt-in.