An Insecure Direct Object Reference (IDOR) exists in the REST API, allowing unauthenticated users to access objects directly by manipulating identifiers. IDOR is a type of access control flaw where an application provides direct access to objects based on user-supplied input.