app/controllers/api/v1/hosts_controller.rb in Foreman before 1.2.2 does not properly restrict access to hosts, which allows remote attackers to access arbitrary hosts via an API request.
Weaknesses in this category are related to the management of permissions, privileges, and other security features that are used to perform access control.