Peer-review: Reference to unpublished work
It seems highly unethical to disclose the work of Y. If no previous literature questions f=g, I don't see your role as the reviewer to question this. Hold your horses, review this in view of past literature, and wait until the work of Y is public.