CVE-2026-109171

yshop-crm through 2.1.3 Missing Authorization via /admin-api/crm/contract/check

Published Oct 12, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
yshop-crm through 2.1.3 contains a missing authorization vulnerability that allows any authenticated back-office user to approve or reject contracts by calling POST /admin-api/crm/contract/check. Because CrmContractController lacks @PreAuthorize and approver checks are commented out, attackers can approve contracts to alter customer deal and purchase data or reject them to return products to stock.

Analysis

AI-generated

Technical impact

The vulnerability allows any authenticated back‑office user to approve or reject contracts via the POST /admin-api/crm/contract/check endpoint because the controller lacks proper authorization checks. An attacker can alter customer deal and purchase records by approving a contract they should not, or trigger a return of products to stock by rejecting a contract, effectively manipulating inventory data and financial records.

Affected Systems

The issue is present in the open‑source yshop‑crm module from vendor guchengwuyue, affecting all deployments of version 2.1.3 and any earlier releases that have not applied later updates. Systems running this module without the patch remain vulnerable.

Risk and Exploitability

The CVSS score of 5.3 indicates a moderate severity, and the EPSS score is not available, suggesting no known widespread exploitation yet. The vulnerability is not listed in the CISA KEV catalogue. Exploitation requires an authenticated back‑office session; an attacker must obtain or compromise valid credentials to access the API. Once authenticated, the missing authorization allows the endpoint to be called without further checks, making the attack path straightforward for any compromised or weakly protected user account.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest vendor patch that restores authorization checks on the /admin-api/crm/contract/check endpoint
  • Add or enable @PreAuthorize annotations and enforce approver role validation in CrmContractController
  • Remove all commented‑out approval logic and ensure the approval status is verified against the logged‑in user’s permissions
  • Restrict access to the contract checking endpoint to users with the appropriate role or disable the endpoint if no approval workflow is required
  • Audit other API endpoints for similar missing authorization or commented‑out checks and remediate accordingly

Generated by OpenCVE AI on October 12, 2026 at 14:40 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Guchengwuyue
Guchengwuyue yshop-crm
Vendors & Products Guchengwuyue
Guchengwuyue yshop-crm
Type Values Removed Values Added
Description yshop-crm through 2.1.3 contains a missing authorization vulnerability that allows any authenticated back-office user to approve or reject contracts by calling POST /admin-api/crm/contract/check. Because CrmContractController lacks @PreAuthorize and approver checks are commented out, attackers can approve contracts to alter customer deal and purchase data or reject them to return products to stock.
Title yshop-crm through 2.1.3 Missing Authorization via /admin-api/crm/contract/check
Weaknesses CWE-862
References
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 26, 2026, 4:46 PM
Reserved
Oct 12, 2026, 12:41 PM
Status
Deferred
Published
Oct 12, 2026, 1:17 PM
Modified
Oct 26, 2026, 5:17 PM