/

CVE-2026-124590

Severity:

HIGH RISK

(7.3)

Improper Authorization (CWE-285) in Library Manager System

CVE-2026-124590

Deferred

Vulnerability type

Category:

Improper Authorization

CWE:

CWE-266, CWE-285

Impact:

Unauthorized actions or access to resources, depending on the affected operation and deployment

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

CVE-2026-124590 is an improper authorization vulnerability in the library_manager_system application. A remotely initiated request that manipulates user-related fields may bypass or confuse authorization checks, potentially allowing actions that the requester should not be permitted to perform.

Affected context

The reported issue involves the BookController.addBook function, associated with src/main/java/com/zbw/controller/UserController.java. It concerns manipulation of userName, userPwd, userEmail, or userId; the risk depends on whether the affected endpoint is reachable and how the application validates identity and permissions.

Exploit preconditions

  • Attack surface: A remotely reachable application request handled by the affected function.
  • Required access: The report does not establish whether authentication is required; access to the endpoint and its relevant request fields is necessary.
  • Trigger point: Processing of user-related arguments by the addBook operation.
  • Why exploitation may be possible: Authorization decisions may not be reliably tied to the authenticated caller and the requested operation.

Why this happens

The reported behavior is consistent with an authorization check that does not correctly verify whether the requester is permitted to perform the requested action. This maps to CWE-285: Improper Authorization. The related CWE-266: Incorrect Privilege Assignment may also apply if user-controlled identity or account fields affect the privileges used for the operation.

Potential impact

  • A requester may be able to perform actions outside their intended permissions.
  • User or application data may be accessed or changed without proper authorization.
  • The issue could enable actions to be associated with an unintended user identity.
  • Further impact may depend on the endpoint's privileges and the application's access controls.

General mitigation guidance

Defensive approaches generally focus on making authorization explicit and independent of user-controlled request fields.

  • Derive the caller's identity from trusted authentication context rather than submitted identity fields.
  • Check permissions for each operation and resource on the server side.
  • Allowlist fields clients may modify and keep sensitive identity or privilege fields server-controlled.
  • Apply least privilege to application components and accounts.
  • Use consistent authorization policies and deny access by default when permission cannot be established.

How teams detect issues like this

Review controller and service-layer code for authorization decisions based on request-supplied user identifiers or profile fields. Use static analysis and code review checks to flag missing permission checks, insecure direct object references, and client-writable identity or privilege attributes. Enforce policy tests that verify users cannot perform operations on behalf of other accounts or access resources outside their permissions.

Sources

SourceLink
github.comgithub.com/zhangbw409/library_manager_system/
github.comgithub.com/zhangbw409/library_manager_system/issues/15
vuldb.comvuldb.com/cve/CVE-2026-124590
vuldb.comvuldb.com/submit/1040539
vuldb.comvuldb.com/vuln/433014
vuldb.comvuldb.com/vuln/433014/cti

Frequently asked

questions

The report states that an attack may be initiated remotely. Practical exploitability depends on whether the affected endpoint is reachable and how the application enforces authentication and authorization.

The available description does not specify whether authentication is required. The relevant condition is access to the affected operation and its user-related request fields.

Make authorization decisions on the server using the authenticated caller's trusted identity, and verify permission for each requested operation and resource.

Keep identity and privilege attributes under server control, apply deny-by-default authorization policies, and test access boundaries across users and roles.

Find out what's already
exploitable in your codebase.