CVE-2025-28408 Missing authorization in n/a
Remote attackers can escalate privileges in RuoYi by exploiting improper validation of the deptId parameter in the selectDeptTree endpoint.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-28408?
CVE-2025-28408 is a critical missing authorization vulnerability in Ruoyi Ruoyi, published on 7 Apr 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An issue in RUoYi v.4.8.0 allows a remote attacker to escalate privileges via the selectDeptTree method of the /selectDeptTree/{deptId} endpoint does not properly validate the deptId parameter
Weakness: CWE-284
Which versions are affected by CVE-2025-28408?
It affects 1 product.
Products include Ruoyi Ruoyi.
How do I fix CVE-2025-28408?
No fix has been published for CVE-2025-28408 yet. Limit exposure of the affected software until one is available.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2025-28408 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-28408 exists.
Other vulnerabilities in Ruoyi Ruoyi
Sources
Also known as GHSA-8843-g665-5rpj.