According to Catholic Theology regarding miracles; Only God can work a miracle. That is why Jesus told the Pharisees, that even if they didn’t believe in Him, at least believe in The Works of God that He did.
Catholics consider miracles to be a testament to the working of God. Therefore ONLY GOD can work a miracle.
Neither Angels nor demons are able to work miracles.
People, including demons can produce counterfeit miracles. But they will be deceptions. That is why there is SUCH a rigorous process in determining the miracles attributed to Saints in the Canonization process.
For further reading Newman wrote a very good
book on miracles which is completely consistent with Church Theology, even though he wasn’t a theologian when he wrote the book. It would be a good starting point.