rbash in Bash before 4.4-beta2 did not prevent the shell user from modifying BASH_CMDS, thus allowing the user to execute any command with the permissions of the shell.
https://usn.ubuntu.com/4058-2/
https://usn.ubuntu.com/4058-1/
https://security.netapp.com/advisory/ntap-20190411-0001/
https://lists.debian.org/debian-lts-announce/2019/03/msg00028.html
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1803441
http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00049.html
http://git.savannah.gnu.org/cgit/bash.git/tree/CHANGES?h=bash-4.4-testing#n65