Recent CMS results sensitive to quartic couplings of gauge bosons are discussed. The signatures investigated are exclusive and quasi-exclusive γγ → WW scattering, and tri-boson production in the WW γ and WZ γ channels. In the γγ → WW analysis two candidate events pass the selection criteria, consistent with the Standard Model expectation. No deviations from the Standard Model are observed in the high p T tails of either measurement, and the resulting limits on anomalous quartic gauge couplings are the most stringent to date.