Subaltern was a Vulcan officer rank.
Subaltern Lorot of the Vulcan High Command was assimilated by the Borg. (VOY: "Infinite Regress")
In real world usage, subaltern is a generic military term for any junior officer below the rank of an infantry captain (which is equivalent to the Starfleet rank of lieutenant).