/

CVE-2026-123991

Severity:

HIGH RISK

(7.3)

Unrestricted File Upload (CWE-434) in DataEase Auth Filter

CVE-2026-123991

Deferred

Vulnerability type

Category:

Unrestricted File Upload

CWE:

CWE-284, CWE-434

Impact:

Unauthorized file upload

Severity:

HIGH RISK

(7.3)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

DataEase has an authentication-filter weakness affecting its standalone static-resource upload endpoint. A remote attacker may be able to upload files without the intended authentication checks when access to the endpoint is not otherwise restricted.

Affected context

The issue is reported in DataEase versions up to 2.10.27 and involves WhitelistUtils.endsWithAny in WhitelistUtils.java, part of the Authentication Filter. The risk occurs when the standalone static-resource upload endpoint relies on a URI suffix whitelist without independently enforcing authentication.

Exploit preconditions

  • Attack surface: The standalone static-resource upload endpoint, reachable remotely
  • Required access: Network access to the endpoint; the reported weakness concerns missing authentication enforcement
  • Trigger point: A request to the upload endpoint with a file argument
  • Why exploitation is possible: URI suffix whitelist handling does not independently require authentication for this endpoint

Why this happens

The root cause is an authorization enforcement gap in the authentication filter. A suffix-based whitelist is used in a way that can allow access to a file-upload endpoint without an independent authentication check. This is primarily CWE-434: Unrestricted Upload of File with Dangerous Type, with an access-control aspect related to CWE-284: Improper Access Control.

Potential impact

  • An attacker may upload files without authorization.
  • Uploaded content could be served as static resources or otherwise handled by the application, depending on deployment and file-processing behavior.
  • The issue could undermine trust in hosted content and create opportunities for follow-on attacks.

General mitigation guidance

Defensive patterns include enforcing authentication and authorization directly on upload endpoints, independent of URI suffix or whitelist logic. Treat uploaded files as untrusted: constrain permitted types and sizes, validate content, store files outside executable or publicly served paths where possible, and apply least-privilege permissions to storage and processing components. Avoid relying on filename extensions or routing rules as substitutes for access control.

How teams detect issues like this

Review authentication-filter and routing logic for upload endpoints that are exempted through suffix-based allowlists. Use static analysis and code review to identify upload handlers lacking endpoint-level authorization, and verify that policy checks apply consistently regardless of URI form. Security testing and policy enforcement can also confirm that unauthenticated requests cannot reach file-upload operations.

Sources

SourceLink
github.comgithub.com/dataease/dataease/releases/tag/v2.10.28
vuldb.comvuldb.com/cve/CVE-2026-123991
vuldb.comvuldb.com/submit/1035491
vuldb.comvuldb.com/vuln/432070
vuldb.comvuldb.com/vuln/432070/cti

Frequently asked

questions

The report describes remote exploitation when the affected upload endpoint is reachable and its authentication check is not enforced.

The attacker needs network access to the endpoint. The reported weakness is that authentication may not be required there as intended.

Enforce authentication and authorization directly on the upload endpoint rather than relying on URI suffix allowlists.

Treat uploaded files as untrusted, apply endpoint-level access controls, and review routing exceptions to ensure they cannot bypass security checks.

Find out what's already
exploitable in your codebase.