Description
REBUILD 3.5.0 through 4.5.4 contains a privilege escalation vulnerability that allows low-privileged authenticated users to modify their own roleId through mass assignment in /app/entity/record-save and /app/entity/common-save. Attackers can submit their own User record with roleId set to the built-in administrator role, bypassing updatable=false restrictions to gain full administrator privileges.
Metrics
CVSS 3.1 8.8/10
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| getrebuild | rebuild | >= 3.5.0, <= 4.5.4 |
References
- https://github.com/getrebuild/rebuild/blob/741e3e50553665ef076596099ab04ff61ded8ddf/src/main/java/com/rebuild/core/metadata/EntityRecordCreator.java#L81-L84
- https://github.com/getrebuild/rebuild/blob/741e3e50553665ef076596099ab04ff61ded8ddf/src/main/java/com/rebuild/core/privileges/UserService.java#L236-L247
- https://vul.yulun.ac.cn/20261106/rebuild/
- https://www.vulncheck.com/advisories/rebuild-3.5.0-through-4.5.4-privilege-escalation-via-roleid-mass-assignment
Timeline
- Published
- Nov 16, 2026
- Last modified
- Nov 16, 2026
- NVD status
- Deferred