The canisters that house the spent fuel only contain solid materials that do not generate any hydrogen and are thoroughly dried to avoid hydrogen generation from any remaining water. Further, they are filled with an inert, i.e. non-reactive, gas. A build-up of an explosive situation inside a canister is therefore not possible.
