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.
Metrics
CVSS 3.1 8.8/10
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| getrebuild | rebuild | >= 4.3.0, <= 4.5.4 |
References
- https://github.com/getrebuild/rebuild/blob/741e3e50553665ef076596099ab04ff61ded8ddf/src/main/java/com/rebuild/api/user/AuthTokenManager.java#L62-L71
- https://github.com/getrebuild/rebuild/blob/741e3e50553665ef076596099ab04ff61ded8ddf/src/main/java/com/rebuild/web/commons/FilePreviewer.java#L376-L389
- https://vul.yulun.ac.cn/20261106/rebuild/
- https://www.vulncheck.com/advisories/rebuild-4.3.0-through-4.5.4-privilege-escalation-via-commons-file-preview-csrf-token-leak
Timeline
- Published
- Nov 16, 2026
- Last modified
- Nov 16, 2026
- NVD status
- Deferred