REBUILD 4.3.0 through 4.5.4 Privilege Escalation via /commons/file-preview CSRF Token Leak
- State
- Published
- Severity
- 8.7 High
- Published
- Nov 16, 2026
- Updated
- Nov 16, 2026
- Reserved
- Nov 16, 2026
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.
| Product | Versions |
|---|---|
| rebuild getrebuild | 4.3.0 through 4.5.4 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.7 High | VulnCheck | |
| 3.1 | 8.8 High | VulnCheck |
Weaknesses
- CWE-266 Incorrect Privilege Assignment
References
- https://vul.yulun.ac.cn/20261106/rebuild/Third-Party Advisory
- https://github.com/getrebuild/rebuild/blob/741e3e50553665ef076596099ab04ff61ded8ddf/src/main/java/com/rebuild/web/commons/FilePreviewer.java#L376-L389Technical Details
- https://github.com/getrebuild/rebuild/blob/741e3e50553665ef076596099ab04ff61ded8ddf/src/main/java/com/rebuild/api/user/AuthTokenManager.java#L62-L71Technical Details
- VulnCheck Advisory: REBUILD 4.3.0 through 4.5.4 Privilege Escalation via /commons/file-preview CSRF Token LeakThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.