{"id":"CVE-2026-129874","kind":"vulnerability","aliases":["CVE-2026-129874"],"related":[],"title":"REBUILD: low-privileged users can grant themselves administrator role","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.","summary":"REBUILD versions 3.5.0 through 4.5.4 let a logged-in low-privileged user change their own roleId through mass assignment on the record save endpoints. Submitting a User record with the built-in administrator role gives full administrator privileges.","severity":"high","cvss":8.8,"epss":null,"exploited":false,"exploited_at":null,"products":[{"name":"REBUILD","fixed":[],"affected":">= 3.5.0, <= 4.5.4","ecosystem":"vendor"}],"ecosystems":["vendor"],"tags":["other","privilege-escalation","rebuild","self-hosted"],"not_affected_if":["auth-required"],"how_to_check":"Check the installed REBUILD version: 3.5.0 through 4.5.4 is affected per VulnCheck. The researcher reproduced it on the official image getrebuild/rebuild:4.5.3. Any account that can log in can exploit it. Review who has login rights and audit User records for unexpected roleId 003-0000000000000001 (the built-in administrator role). Also check access logs for POSTs to /app/entity/record-save or /app/entity/common-save with metadata.entity set to User.","fix":"No fix confirmed. The vendor has published no advisory for this CVE. A 4.5.5 tag exists on GitHub, but its notes do not mention this issue, so do not assume it fixes it. Check the getrebuild/rebuild releases.","status":"open","published_at":"2026-11-16T15:17:26+00:00","first_seen_at":"2026-11-16T15:37:53+00:00","triaged_at":"2026-11-16T15:40:02+00:00","updated_at":"2026-11-16T15:43:35+00:00","category":"other","confidence":0.7,"triage":{"at":"2026-11-16T15:40:02Z","model":"claude-haiku-5-5","output":{"fix":"unknown","reach":"network","title":"REBUILD: low-privileged users can grant themselves administrator role","impact":"high","summary":"REBUILD versions 3.5.0 through 4.5.4 let a logged-in low-privileged user change their own roleId through mass assignment on the record save endpoints. Submitting a User record with the built-in administrator role gives full administrator privileges.","audience":"businesses","category":"other","nicknames":[],"who_cares":["rebuild","self-hosted"],"confidence":0.6,"fix_status":"unknown","needs_auth":"yes","worst_case":"attacker becomes full administrator of the application","analyst_note":"Confirm the fixed version and vendor advisory; the sources give no fix. Check the vulncheck advisory for the fix and any mitigation.","how_to_check":"- Check the installed REBUILD version against the affected range `3.5.0` through `4.5.4`\n- Look for the `/app/entity/record-save` and `/app/entity/common-save` endpoints in the deployment","plain_action":"","product_name":"REBUILD","needs_analyst":true,"not_affected_if":["auth-required"],"who_is_affected":"Any REBUILD deployment in the affected range where users can log in is exposed, since the attacker only needs a low-privileged account. The sources do not name a specific configuration that changes exposure. Instances that do not allow user self-registration or have no low-privileged accounts are less exposed.","user_interaction":"no","product_ecosystem":"vendor","needs_special_setup":"unknown","severity_if_unknown":"high"},"cost_usd":0.000736,"input_tokens":4615,"output_tokens":548,"severity_before":"high"},"analyst_status":"done","analyst_note":"Confirm the fixed version and vendor advisory; the sources give no fix. Check the vulncheck advisory for the fix and any mitigation.","search":"'-129874':13A,16A '-2026':12A,15A '/app/entity/common-save':94C '/app/entity/record-save':92C '3.5.0':28B,68C '4.5.4':30B,70C 'administr':9A,61B,65B,110C,119C 'allow':77C 'assign':46B,90C 'attack':95C 'authent':81C 'built':59B,108C 'built-in':58B,107C 'bypass':112C 'chang':40B 'contain':71C 'cve':11A,14A 'endpoint':51B 'escal':21B,74C 'fals':114C 'full':64B,118C 'gain':117C 'give':63B 'grant':7A 'host':25B 'let':31B 'log':34B 'logged-in':33B 'low':3A,37B,79C 'low-privileg':2A,36B,78C 'mass':45B,89C 'modifi':84C 'privileg':4A,20B,38B,66B,73C,80C,120C 'privilege-escal':19B 'rebuild':1A,17A,22B,26B,67C 'record':49B,55B,101C 'restrict':115C 'role':10A,62B,111C 'roleid':43B,87C,103C 'save':50B 'self':24B 'self-host':23B 'set':104C 'submit':52B,97C 'updat':113C 'user':5A,39B,54B,82C,100C 'version':27B 'vulner':75C","nicknames":[],"mitigations":[],"who_affected":"Self-hosted REBUILD 3.5.0 through 4.5.4 is affected. Any logged-in user, even with a minimal role, can make themselves administrator by saving their own User record with roleId set to the built-in administrator role. Instances where no untrusted or low-privileged accounts can log in are lower risk. The same researcher report lists other issues in these versions (SYSTEM_USER token via file preview, 4.3.0 to 4.5.4; MCP password-hash disclosure, 4.5.0 to 4.5.4), which are separate.","tier":"B","verified":{},"analyst_revisit_at":null,"fix_status":"unknown","audience":"businesses","plain_action":null,"pkeys":["rebuild"],"ptokens":["rebuild"],"labels":["high","other","privilegeescalation","rebuild","selfhosted","vendor"],"campaign_type":null,"search_a":"'-129874':13A,16A '-2026':12A,15A 'administr':9A 'cve':11A,14A 'grant':7A 'low':3A 'low-privileg':2A 'privileg':4A 'rebuild':1A,17A 'role':10A 'user':5A","search_b":"'3.5.0':28B '4.5.4':30B 'administr':61B,65B 'assign':46B 'built':59B 'built-in':58B 'chang':40B 'endpoint':51B 'escal':21B 'full':64B 'give':63B 'host':25B 'let':31B 'log':34B 'logged-in':33B 'low':37B 'low-privileg':36B 'mass':45B 'privileg':20B,38B,66B 'privilege-escal':19B 'rebuild':22B,26B 'record':49B,55B 'role':62B 'roleid':43B 'save':50B 'self':24B 'self-host':23B 'submit':52B 'user':39B,54B 'version':27B","search_c":"'/app/entity/common-save':94C '/app/entity/record-save':92C '3.5.0':68C '4.5.4':70C 'administr':110C,119C 'allow':77C 'assign':90C 'attack':95C 'authent':81C 'built':108C 'built-in':107C 'bypass':112C 'contain':71C 'escal':74C 'fals':114C 'full':118C 'gain':117C 'low':79C 'low-privileg':78C 'mass':89C 'modifi':84C 'privileg':73C,80C,120C 'rebuild':67C 'record':101C 'restrict':115C 'role':111C 'roleid':87C,103C 'set':104C 'submit':97C 'updat':113C 'user':82C,100C 'vulner':75C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-11-16T15:17:26+00:00","kev":null,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"disclosure@vulncheck.com","poc_count":1,"sources":[{"source":"nvd","external_id":"CVE-2026-129874","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129874","severity":null,"published_at":"2026-11-16T15:17:26+00:00","modified_at":"2026-11-16T15:17:26+00:00","first_seen_at":"2026-11-16T15:37:53+00:00","fetched_at":"2026-11-16T15:37:53+00:00","note":null},{"source":"analyst","external_id":"CVE-2026-129874:4135","url":"https://vul.yulun.ac.cn/20261106/rebuild/","severity":null,"published_at":"2026-11-16T15:43:35+00:00","modified_at":"2026-11-16T15:43:35+00:00","first_seen_at":"2026-11-16T15:43:35+00:00","fetched_at":"2026-11-16T15:43:35+00:00","note":"Read VulnCheck advisory and researcher report (Wu Yulun, PoC script with output on 4.5.3 image). No vendor advisory or fix statement found; 4.5.5 tag exists on GitHub but its notes do not mention this CVE, so fix left unknown. No exploitation reports.","cites":["https://vul.yulun.ac.cn/20261106/rebuild/","https://github.com/getrebuild/rebuild/tags"]}],"documents":[{"id":170595,"url":"https://www.vulncheck.com/advisories/rebuild-3.5.0-through-4.5.4-privilege-escalation-via-roleid-mass-assignment","title":"Third-party advisory: www.vulncheck.com","kind":"advisory","source":"nvd","publisher":"research","text":null,"published_at":null,"relation":"advisory","confidence":null,"note":"Third-party advisory: www.vulncheck.com"},{"id":170731,"url":"https://vul.yulun.ac.cn/20261106/rebuild/","title":"REBUILD Vulnerability Report (Wu Yulun)","kind":"advisory","source":"analyst","publisher":null,"text":null,"published_at":null,"relation":"poc","confidence":null,"note":null},{"id":170732,"url":"https://github.com/getrebuild/rebuild/tags","title":"getrebuild/rebuild tags","kind":"release","source":"analyst","publisher":null,"text":null,"published_at":null,"relation":"mentions","confidence":null,"note":null}],"disclosures":[],"exploit_sources":[{"type":"poc","url":"https://vul.yulun.ac.cn/20261106/rebuild/"}],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}