The hydrothermal reaction of 2-pyrimidine-carboxamide, CoCl2.6H(2)O and K3[Co(CN)6] affords a novel mixed-valence Co(II)/Co(III) 3D complex K[Co3(CN)6(ox)(H(2)O)2].H2O, which contains cyano-bridged Co(7) defective cubanes connected by oxalate and cyanide bridging groups and behaves as a canted antiferromagnet with Tc = 17.5 K.