The CAN specification does not state a maximum number of nodes.
The maximum number of nodes on a CAN bus is typically 32 but the ultimate number is determined by the characteristics of the physical layer employed. The limit of messages per second ranges from about 2000 to about 5000 on a bus with 250 KBaud transmission rate, depending on the number of bytes per message. CAN - a brief tutorial for Embedded Engineers