Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach public registration endpoint
-
ExploitSubmit registration with extra fields (deptId/status/userId/createBy)
-
ImpactCreate user record with attacker-controlled attributes
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
|
| Exploitation Conditions | Requires RuoYi's self-registration feature to be enabled and reachable (the ajaxRegister endpoint in SysRegisterController), which is commonly disabled by default and must be turned on - this is the primary limiting factor. When enabled, no authentication or user interaction is needed (PR:N/UI:N): the attacker abuses the pre-patch registration handler that bound the entire SysUser object, letting unintended fields (deptId, status, userId, createBy) be supplied in the request. Exploitation is limited to RuoYi versions up to and including 4.8.3 (pre-commit d7ad977c); deployments with registration disabled are not exposed through this path. |
| Impact | This is a moderate-priority issue, not a top-tier emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes a network-reachable, low-complexity flaw requiring no privileges or user interaction, but all impact metrics are Low (VC:L/VI:L/VA:L), and the vuln.today Decision label is 'this_month' rather than act_now/emergency. The source-code patch reveals the real mechanism: the registration controller previously bound the entire SysUser entity (ajaxRegister(SysUser user)), allowing a self-registering attacker to mass-assign extra fields such as deptId, status, userId and createBy; the fix replaces this with a narrow RegisterBody DTO exposing only username/password. Exploitation status: a public PoC reference exists (the GitHub issue), but it is not verified as working exploit code, and E:P (Proof-of-Concept) in the vector aligns with that. This is NOT in CISA KEV and no EPSS score was provided, so there is no evidence of widespread or automated exploitation - consistent with targeted, manual abuse at most. Authentication is unauthenticated per PR:N, but note a critical gating factor the CVSS vector does not capture: RuoYi's self-registration endpoint is typically disabled by default and must be explicitly enabled, which sharply limits the real-world exposed population. Net: a genuine mass-assignment weakness worth patching on a normal cycle, but the Low impact scores and config-gating argue against treating it as a drop-everything item. |
| Exploit ScenarioDerived | With self-registration enabled, an unauthenticated attacker submits a crafted registration request to the User Registration Endpoint that includes extra parameters (deptId, status, userId, createBy) beyond the intended username/password, abusing the fact that the endpoint bound the full SysUser object. This lets the attacker influence attributes of the account record that should not be user-controllable. A public PoC reference exists (RuoYi GitHub issue #339); it is not verified as working exploit code. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 19, 2026
Improper input validation in the user self-registration endpoint of yangzongzhuan RuoYi up to and including 4.8.3 lets remote unauthenticated attackers submit extra fields (deptId, status, userId, createBy) that are bound directly onto the SysUser entity, allowing manipulation of account attributes during signup; the assessed impact is integrity-only (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N), rated moderate priority rather than an emergency. Exposure is gated by deployment configuration: the self-registration feature must be explicitly enabled and reachable, and it is commonly left disabled, so installations with registration turned off are not reachable through this path. A public PoC reference exists in the upstream issue tracker; it is not verified as working exploit code, and the issue is not confirmed actively exploited (CISA KEV).
RemediationAI
Apply the upstream fix commit d7ad977c9ca64e9b081c893ec56fe08f51f66698 (or a release built after it), which replaces SysUser request binding with the RegisterBody/LoginBody DTOs in SysRegisterController and SysLoginController, limits SysRegisterService.register to loginName and password, and updates register.js to post "username"; the vendor advisory and patch reference are at https://github.com/yangzongzhuan/RuoYi/commit/d7ad977c9ca64e9b081c893ec56fe08f51f66698 with background at https://github.com/yangzongzhuan/RuoYi/issues/339 and https://vuldb.com/vuln/439656. Where the upgrade cannot be scheduled immediately, the most effective compensating control is to disable the self-registration feature entirely (the account-registration switch in RuoYi's system configuration) and remove or block access to the /register route and the ajaxRegister endpoint at the reverse proxy or WAF - the trade-off is that new users must then be provisioned by an administrator rather than self-enrolling. Restricting the registration page to trusted network ranges offers a narrower version of the same control but leaves the vulnerable binding reachable for anyone inside that range. The upstream project has indicated that updating is the complete fix; partial front-end-only changes (such as the register.js field rename) are not sufficient on their own because the server-side binding is what permits the extra fields. Validate after patching that registration requests carrying deptId, status, userId or createBy are rejected or ignored.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
RuoYi is a Java/Spring Boot administration framework whose authentication and registration flows are handled through Shiro-backed services in the ruoyi-framework module, with web endpoints in ruoyi-admin. Before the fix, SysRegisterController.ajaxRegister accepted a full SysUser domain entity as its request-bound parameter, so Spring's data binding populated every writable property present in the HTTP request rather than only the intended login name and password. That mass-assignment pattern - classified as CWE-20 improper input validation - is what allowed fields such as deptId, status, userId and createBy to be injected at registration time; the same commit also refactors SysLoginController.ajaxLogin, which previously took loose username/password/rememberMe parameters. The patch introduces dedicated data-transfer objects, LoginBody and RegisterBody (the latter extending the former), replacing SysUser on the controller signature, and SysRegisterService.register now constructs a fresh SysUser internally and copies over only loginName and password, so any additional attacker-supplied properties are discarded. The bundled register.js was updated to send "username" instead of "loginName", and register.html received a cache-busting version query on the script include, indicating clients must pick up the new front-end contract. Because the faulty binding sits on the registration controller, the vulnerability is only relevant where RuoYi's account self-registration is switched on; the pre-auth attack surface otherwise does not include this endpoint.
Know when Ruoyi gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Unauthenticated when self-registration is enabled (PR:N/UI:N); mass-assigning extra user fields harms record integrity only (I:L), with no clear confidentiality or availability impact.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A security vulnerability has been detected in yangzongzhuan RuoYi up to 4.8.3. The impacted element is an unknown function of the file ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysLoginController.java of the component User Registration Endpoint. The manipulation of the argument deptId/status/userId/createBy leads to improper input validation. Remote exploitation of the attack is possible. The exploit has been disclosed publicly and may be used. The identifier of the patch is d7ad977c9ca64e9b081c893ec56fe08f51f66698. It is recommended to apply a patch to fix this issue.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
An issue in RUoYi v.4.8.0 allows a remote attacker to escalate privileges via the /editSave method in SysNoticeControlle
An issue in RUoYi v.4.8.0 allows a remote attacker to escalate privileges via the cancelAuthUserAll method does not prop
An issue in RUoYi v.4.8.0 allows a remote attacker to escalate privileges via the jobLogId parameter. Rated critical sev
An issue in RUoYi v.4.8.0 allows a remote attacker to escalate privileges via the changeStatus method. Rated critical se
An issue in RUoYi v.4.8.0 allows a remote attacker to escalate privileges via the jobId parameter. Rated critical severi
RuoYi up to v4.6 was discovered to contain a SQL injection vulnerability via /system/dept/edit. Rated critical severity
A vulnerability, which was classified as critical, has been found in y_project RuoYi 4.7.5. Rated critical severity (CVS
RuoYi v4.8.2 has an access control flaw in the update function allowing unauthorized attackers to modify arbitrary data
An issue in RUoYi v.4.8.0 allows a remote attacker to escalate privileges via the add method of the /add/{parentId} endp
An issue in RUoYi v.4.8.0 allows a remote attacker to escalate privileges via the edit method of the /edit/{dictId} endp
An issue was discovered in Ruoyi 4.8.1 allowing attackers to gain escalated privileges due to the owning department havi
RuoYi v4.7.2 contains a CSV injection vulnerability through ruoyi-admin when a victim opens .xlsx log file. Rated high s
EUVD-2026-129430
GHSA-w2j7-8v4f-6vq2
NVD
CVE.org
EPSS
VulDB
Exploit-DB