/

CVE-2026-86261

Severity:

HIGH RISK

(7.3)

Authorization Bypass (CWE-639) in Hosp Order Controller

CVE-2026-86261

Deferred

Vulnerability type

Category:

Authorization Bypass

CWE:

CWE-285, CWE-639

Impact:

Unauthorized access to protected order functionality or data

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

A remotely exploitable authorization weakness in the Hosp Order Controller allows manipulation of the userIdenf argument to bypass intended access controls. Successful exploitation could permit an unauthorized user to access or operate on order-related resources, depending on deployment permissions and endpoint behavior.

Affected context

The issue occurs in the OrderController component of sfturing hosp_order, specifically within an affected function in ssm_pro/src/main/java/cn/sfturing/web/OrderController.java. It becomes risky when a remotely reachable request accepts a user-controlled userIdenf value and uses that value to determine authorization or resource ownership without independently verifying the requester's permissions.

Exploit preconditions

  • Attack surface: A remotely reachable Order Controller endpoint - Required access: Network access to the exposed application endpoint; valid

authentication may or may not be required depending on deployment controls

  • Trigger point: Processing a request containing a manipulated userIdenf

argument

  • Why exploitation is possible: Authorization decisions may rely on a

user-controlled identifier rather than a trusted identity-to-resource

relationship

Why this happens

The underlying bug is an authorization design flaw in which a request parameter can influence the identity or resource used during an access check. If the application does not bind that identifier to the authenticated principal and enforce server-side ownership or role checks, an attacker may select another user's context. This behavior maps most directly to CWE-639, Authorization Bypass Through User-Controlled Key, and is also consistent with the broader CWE-285 category of Improper Authorization.

Potential impact

  • An attacker may access order information belonging to other users.
  • An attacker could perform unauthorized order-related operations.
  • Confidentiality and integrity of order data may be affected.
  • The application could experience unauthorized workflow changes or

account-related data exposure.

General mitigation guidance

Mitigation generally focuses on removing user-controlled identifiers from authorization decisions wherever possible. The application can derive the effective user identity from a trusted authenticated session or token, enforce object-level authorization on every request, and apply deny-by- default role and ownership checks. Resource identifiers should be treated as lookup inputs rather than proof of entitlement, while input validation, consistent authorization middleware, least-privilege service accounts, and minimizing exposed order operations reduce the security impact of similar flaws.

How teams detect issues like this

Detection approaches include static analysis and code review searches for controller parameters such as userIdenf flowing into database lookups or authorization decisions without a verified principal-to-resource check. Reviewers can inspect whether every object access performs server-side ownership or role validation. Dynamic testing can exercise cross-user resource access with altered identifiers, and policy enforcement can require centralized authorization checks for controller endpoints. Automated review tools may help identify direct use of request parameters in access-control logic.

Sources

SourceLink
github.comgithub.com/sfturing/hosp_order/
github.comgithub.com/sfturing/hosp_order/issues/114
vuldb.comvuldb.com/cve/CVE-2026-86261
vuldb.comvuldb.com/submit/902240
vuldb.comvuldb.com/vuln/399407
vuldb.comvuldb.com/vuln/399407/cti

Frequently asked

questions

The reported weakness can be triggered remotely when the affected Order

Controller endpoint is reachable and accepts the relevant request input.

The attacker needs network access to the application endpoint. Whether

authentication is required depends on the deployment and endpoint security

configuration.

Authorization should be based on a trusted authenticated identity, with

server-side ownership or role checks performed for every requested resource.

A user-supplied identifier should never establish entitlement by itself.

Use centralized object-level authorization, test cross-user access scenarios,

validate identity-to-resource relationships, and enforce least privilege

throughout the application.

Find out what's already
exploitable in your codebase.