The U.N. Charter was based on the Soviet Constitution.
The UN has been communist since its founding. IIIRC the communist agent Alger Hiss was involved in starting the UN when he worked st the State Department.