JeecgBoot versions through 3.9.5 have a missing authorization vulnerability that allows any authenticated user to assign or remove department heads by calling a specific API endpoint. This flaw enables low-privileged users to arbitrarily set user IDs, department IDs, and status values, potentially elevating users to department head roles or demoting existing ones. The vulnerability impacts the integrity of department-scoped views within the application.