CVE-2026-129873 REBUILD 4.3.0 through 4.5.4 Privilege Escalation via /commons/file-preview CSRF Token Leak
Low-privileged REBUILD users can steal a SYSTEM token via the file preview redirect and gain admin access.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Harmful if only installed
- No
- Needs a specific call
- No
- Fix
- None listed
What is CVE-2026-129873?
CVE-2026-129873 is a high-severity privilege escalation vulnerability in getrebuild rebuild, published on 16 Nov 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
REBUILD 4.3.0 through 4.5.4 contains a privilege escalation vulnerability that allows low-privileged authenticated users to obtain a SYSTEM_USER token by requesting /commons/file-preview with an arbitrary src value. Attackers can read the leaked _csrfToken from the redirect Location header and send it as X-AuthToken to access the admin center and administrative APIs.
Weakness: CWE-266
Which versions are affected by CVE-2026-129873?
1 open source package ship an affected version, including getrebuild/rebuild.
An affected version is exposed as installed. No special setting or call is needed.
| Package | Affected | Fixed in |
|---|---|---|
getrebuild/rebuild GitHubpkg:github/getrebuild/rebuild | From 4.3.0 to 4.5.4 | None |
How do I fix CVE-2026-129873?
No fix has been published for CVE-2026-129873 yet. Limit exposure of the affected software until one is available.
Upgrade, and run services with the fewest rights they need. More about Privilege escalation.
Is CVE-2026-129873 being exploited?
There is no known exploitation of CVE-2026-129873 in the wild and no public exploit code.
Sources
Also known as GHSA-c4xj-2c9x-wr53.