Bend wooden bedframe back into shape?
A pair of screen door turnbuckles would work well. Mount them from below with stout screws piloted into the wooden rails, one from the headboard and one from the footboard at 45° angles. Start with them just threaded in a few turns, then you can tighten to straighten the side rail.
The centerboard should keep the head and foot boards from bending.

_____________________________________________ _
_____________________________________________| |
  ^-- headboard         ⟍                    | |
                          ⟍                  | |
                            ⟍                | |
                              ⟍              | |&lt;-- sideboard
                                ⟍            | |
                                  ⟍          | |
                                    ⟍        | |
                                      ⟍      | |
                                        ⟍    | |
                                          ⟍  | |
                                            ⟍| |
                                             | |
                                             | |