CVE-2026-129874
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 mas…
Impact
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.
An attacker can exploit this over the network, with a regular user account, without any action by a user. If it succeeds: high risk of data being read, high risk of data or systems being changed, high risk of outages.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Rebuild | Version 3.5.0 ≤4.5.4 | |
| Getrebuild | Rebuild | from 3.5.0 through 4.5.4 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://vul.yulun.ac.cn/20261106/rebuild/
- 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://www.vulncheck.com/advisories/rebuild-3.5.0-through-4.5.4-privilege-escalation-via-roleid-mass-assignment
- https://github.com/advisories/GHSA-hx24-vqhh-r9j7
- https://nvd.nist.gov/vuln/detail/CVE-2026-129874
- https://vul.yulun.ac.cn/20261106/rebuild