Updating cmd_euid() to use the CtdlForEachMessage() API fixes the security check...