Catalysis of the reaction: 3-(acyloxy)acyl group of bacterial toxin = 3-hydroxyacyl group of bacterial toxin + a fatty acid.