1. to me the most important question is: why on earth can the disk password be retrieved in clear text in the first place ?!
2. also: the buggy version will be able to show disk passwords forever, until the encryption scheme is changed. macOS native encryption is useless until then (but given 1., it might already have been for some time).