CBS News scrambled Thursday to sign Tony Dokoupil to helm “CBS Evening News” — after insiders claimed Maurice DuBois went “rogue” and surprised his bosses by revealing he was leaving the network, The Post has learned.

While insiders cautioned the talks could fall through, “CBS Mornings” co-host Dokoupil has been a frontrunner for the job and a favorite of both Bari Weiss, the network’s editor in chief, and Tom Cibrowski, its president, as The Post previously reported.

Sources said negotiations went into high gear after DuBois was told by higher-ups last week that he was not “the future” of “CBS Evening News” — prompting the anchor to go off-script by posting his own goodbye on his Instagram page Thursday .

A source close to CBS claimed that the network had already been aware of DuBois

See Full Page