# CVE-2025-66735: youlai-boot V2.21.1 is vulnerable to Incorrect Access Control. The getRoleForm function in SysRoleController.java does…

Source: https://junglewise.ai/threats/cve-2025-66735-youlai-boot-v2-21-1-is-vulnerable-to-incorrect-access-control-the  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-12-22  
License: CC BY 4.0 with a link back

CVE-2025-66735 · Severity: high · CVSS 7.5 · Published 2025-12-22

youlai-boot V2.21.1 is vulnerable to Incorrect Access Control. The getRoleForm function in SysRoleController.java does not perform permission checks, which may allow non-root users to directly access root roles.

Technologies: [Youlai-Boot](https://junglewise.ai/threats/technologies/youlai-youlai-boot). Vendors: [Youlai](https://junglewise.ai/threats/vendors/youlai).

## Quick answers

**Is CVE-2025-66735 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-66735 being exploited in the wild.

**How severe is CVE-2025-66735?** High severity, with a CVSS score of 7.5, published 22 December 2025.

**Which products and versions are affected?** Youlai-Boot. The advisory does not name versions.

**Is there a fix for CVE-2025-66735?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**Am I affected by CVE-2025-66735?** Check whether you run Youlai-Boot. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Affected products

- Youlai-Boot

## Related threats

- [youlai-boot V2.21.1 is vulnerable to Incorrect Access Control. The importUsers function in SysUserController.java does…](https://junglewise.ai/threats/cve-2025-66736-youlai-boot-v2-21-1-is-vulnerable-to-incorrect-access-control-the)
- [Incorrect access control in the getUserFormData function of youlai-boot v2.21.1 allows attackers to access sensitive…](https://junglewise.ai/threats/cve-2025-55471-incorrect-access-control-in-the-getuserformdata-function-of)
- [Incorrect access control in youlai-boot v2.21.1 allows attackers to escalate privileges and access the Administrator backend.](https://junglewise.ai/threats/cve-2025-55469-incorrect-access-control-in-youlai-boot-v2-21-1-allows-attackers)
