---
id: "CVE-2026-129874"
page: "https://infrastack.ai/live/CVE-2026-129874"
kind: "vulnerability"
aliases: ["CVE-2026-129874"]
title: "REBUILD: low-privileged users can grant themselves administrator role"
severity: "high"
cvss: 8.8
epss: null
exploited: false
status: "open"
category: "other"
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"]
published_at: "2026-11-16T15:17:26+00:00"
first_seen_at: "2026-11-16T15:37:53+00:00"
updated_at: "2026-11-16T15:43:35+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-129874", "first_seen_at": "2026-11-16T15:37:53+00:00"}, {"source": "analyst", "url": "https://github.com/getrebuild/rebuild/tags", "first_seen_at": "2026-11-16T15:43:35+00:00", "cites": ["https://github.com/getrebuild/rebuild/tags", "https://vul.yulun.ac.cn/20261106/rebuild/"]}]
exploit_sources: [{"type": "poc", "url": "https://vul.yulun.ac.cn/20261106/rebuild/"}]
---

# REBUILD: low-privileged users can grant themselves administrator role

Link for people: https://infrastack.ai/live/CVE-2026-129874 (this .md is for agents)

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.

_Summary, check and fix written by a model from the sources; labelled as such._

## Affected

- vendor:REBUILD affected >= 3.5.0, <= 4.5.4 fixed no fixed version listed

## 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.

## Timeline

- 2026-11-16T15:37:53+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-129874
- 2026-11-16T15:43:35+00:00 analyst https://github.com/getrebuild/rebuild/tags — 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.

## Documents

- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/rebuild-3.5.0-through-4.5.4-privilege-escalation-via-roleid-mass-assignment
- [mentions] getrebuild/rebuild tags https://github.com/getrebuild/rebuild/tags
- [poc] REBUILD Vulnerability Report (Wu Yulun) https://vul.yulun.ac.cn/20261106/rebuild/

## From the sources

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.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
