It is the glTF specification that limits mesh bone influences to 4 per vertex. UE is aligned on the format spec.
Where do you get your glTF from? Are you exporting it from a specific DCC?
https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html#skinned-mesh-attributes
