CVE-2025-50900
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedAn issue was discovered in getrebuild/rebuild 4.0.4. The affected source code class is com.rebuild.web.RebuildWebInterceptor, and the affected function is preHandle In the filter code, use CodecUtils.urlDecode(request.getRequestURI()) to obtain the URL-decoded request path, and then determine whether the path endsWith /error. If so, execute return true to skip this Interceptor. Else, redirect to /user/login api. Allowing unauthenticated attackers to gain sensitive information or escalated privileges.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceThe RebuildWebInterceptor in getrebuild/rebuild v4.0.4 contains an authentication bypass vulnerability in its preHandle method. The interceptor attempts to skip authentication for paths ending with '/error' by using URL-decoded URI comparison with endsWith. Attackers can craft malicious URLs to bypass this check and access protected resources without authentication, potentially gaining sensitive information or escalated privileges.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data<= 4.0.4CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify the installed Rebuild versionLocate the build manifest, WAR file version, or application properties file that contains the Rebuild version number. Common locations include version.properties, MANIFEST.MF in the JAR/WAR, or the about page in the web UI.Affected if The version is 4.0.4 or any earlier version of Rebuild v4.x.
-
Locate the RebuildWebInterceptor classSearch the deployed application codebase or decompiled classes for the file RebuildWebInterceptor.java. This is typically found in the web module package structure. Verify the preHandle method contains logic that checks for '/error' path endings.Affected if The RebuildWebInterceptor class exists and contains a preHandle method that uses endsWith to skip authentication for paths ending with '/error'.
-
Verify the URL path matching logicExamine the preHandle method code to confirm it performs URL-decoded URI comparison using endsWith for the '/error' path check. Look for the specific condition that allows the bypass.Affected if The code shows that the authentication skip relies solely on endsWith('/error') against the decoded URI without additional validation.
-
Check if the application has protected endpointsReview the application's URL routing configuration or security configuration to identify which endpoints require authentication. Look for patterns that would typically be protected but could be reached via the vulnerable interceptor logic.Affected if Protected endpoints exist and the RebuildWebInterceptor is registered in the filter chain before authentication filters.
-
Test for authentication bypassIf you have access to a test environment, attempt to access a protected resource using a URL that might bypass the endsWith('/error') check, such as URL-encoded variations or path traversal patterns that resolve to protected paths.Affected if Requests to protected endpoints succeed without authentication when using crafted URLs that bypass the '/error' path check logic.
You are affected if the installed Rebuild version is 4.0.4 or earlier and the RebuildWebInterceptor with the vulnerable preHandle logic is active in the request filter chain.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
From vendor dataFix the interceptor logic to properly enforce authentication checks for all protected paths rather than relying on a simple string ending check. Implement robust path validation and ensure all non-public endpoints require valid authentication.
- Consultation2.0 h
- Implementation4.0 h
- Testing3.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,088.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2025-50900 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2025-50900 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data