Skip to main content
Vulnerability Database/CVE-2026-108701

CVE-2026-108701: 1Panel-dev CordysCRM Auth Bypass Flaw

CVE-2026-108701 is an authorization bypass flaw in 1Panel-dev CordysCRM that allows authenticated users to modify contracts across organizations without proper permissions. This post covers technical details, affected versions, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-108701 Overview

CVE-2026-108701 is a missing authorization vulnerability [CWE-862] in 1Panel-dev CordysCRM before version 1.9.2. The flaw resides in the ContractController.sortModule handler that services the POST /contract/sort endpoint. The handler lacks any permission annotation, so authenticated users without contract update rights can modify contracts they do not own. By supplying dragNodeId, stage, and field values in the request body, an attacker can alter any contract in the system, including contracts belonging to other organizations within a multi-tenant deployment.

Critical Impact

Any authenticated low-privilege user can tamper with contract records across tenant boundaries by sending a crafted request to the unprotected sort endpoint.

Affected Products

  • 1Panel-dev CordysCRM versions prior to 1.9.2
  • ContractController sort handler at POST /contract/sort
  • OpportunityController sort handler at POST /opportunity/sort (fixed in the same commit)

Discovery Timeline

  • 2026-10-11 - CVE-2026-108701 published to the National Vulnerability Database (NVD)
  • 2026-10-13 - Last updated in NVD database

Technical Details for CVE-2026-108701

Vulnerability Analysis

CordysCRM uses a custom @CsPermission annotation to enforce resource-level authorization on controller methods. The annotation ties an action to a permission constant and binds it to a specific resource identifier derived from the request. Several sort handlers on contract and opportunity kanban views shipped without this annotation, so the global authentication filter admitted any logged-in session while no per-resource check ran.

The sortModule method accepts a StageSortRequest containing a dragNodeId that references the contract being moved between stages. The service layer applies the change directly using the supplied identifier, with no ownership or role verification. The result is a write primitive against arbitrary contract records exposed to the authenticated user population.

Root Cause

The root cause is a missing authorization check [CWE-862] on a state-changing endpoint. The developer relied on controller-level authentication alone and did not attach the @CsPermission annotation that governs other contract mutations. Business logic trusted the client-supplied dragNodeId as a legitimate target.

Attack Vector

An attacker needs valid low-privilege credentials to the CordysCRM instance. They send a POST request to /contract/sort with a dragNodeId pointing at any contract in the database. The server updates the contract's stage and field values without validating ownership, scope, or role.

java
// Patch applied in commit 98e2615569b402063bc02f369274a05f40217d6e
@PostMapping("/sort")
@Operation(summary = "合同阶段看板拖拽排序")
@CsPermission(value = PermissionConstants.CONTRACT_UPDATE, resourceId = "{#request.dragNodeId}", formType = FormKeyConstants.CONTRACT)
public void sortModule(@Validated @RequestBody StageSortRequest request) {
    contractService.sort(request, SessionUtils.getUserId());
}

Source: GitHub Commit 98e2615. The fix adds the @CsPermission annotation that enforces CONTRACT_UPDATE against the resource identified by dragNodeId. The same patch adds equivalent coverage to OpportunityController.sortModule.

Detect Identity Attacks the Moment Authentication Fails

Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.

Stop Identity Attacks

Detection Methods for CVE-2026-108701

Indicators of Compromise

  • POST requests to /contract/sort or /opportunity/sort originating from user sessions that lack the CONTRACT_UPDATE or OPPORTUNITY_MANAGEMENT_UPDATE permission.
  • Request bodies containing dragNodeId values that reference contracts outside the authenticated user's organization or assigned scope.
  • Audit log entries showing stage or field changes on contracts without a matching UI drag event from an authorized owner.

Detection Strategies

  • Correlate web access logs for /contract/sort with the application's permission matrix and flag any call made by a role lacking contract update rights.
  • Compare dragNodeId values in request payloads against the authenticated user's tenant and organization scope recorded in the session table.
  • Baseline normal sort activity per user and alert on bursts of sort calls that touch many distinct dragNodeId values in a short window.

Monitoring Recommendations

  • Enable verbose request logging on CordysCRM backend controllers under cn.cordys.crm.contract and cn.cordys.crm.opportunity.
  • Forward application and reverse proxy logs to a centralized analytics platform and retain full request bodies for sort endpoints during triage.
  • Add database-side auditing on contract and opportunity tables to capture the acting user ID for every stage or field update.

How to Mitigate CVE-2026-108701

Immediate Actions Required

  • Upgrade CordysCRM to version 1.9.2 or later, which includes commit 98e2615569b402063bc02f369274a05f40217d6e.
  • Review contract and opportunity audit trails for unauthorized stage or field changes since the vulnerable version was deployed.
  • Rotate credentials for low-privilege accounts if logs show suspicious access to /contract/sort or /opportunity/sort.

Patch Information

The vendor fix adds the @CsPermission annotation to the affected sort handlers, binding each call to the CONTRACT_UPDATE or OPPORTUNITY_MANAGEMENT_UPDATE permission and the resource identified by dragNodeId. See the GitHub Commit Update, the vulnerable code snippet, and the VulnCheck Advisory for CordysCRM. A public GitHub PoC Script demonstrates the broken function level authorization pattern.

Workarounds

  • Block POST /contract/sort and POST /opportunity/sort at the reverse proxy or WAF for user groups that do not require kanban drag functionality until the upgrade is applied.
  • Restrict CordysCRM access to trusted internal networks and require strong authentication to limit the pool of users that can reach the vulnerable endpoints.
  • Reduce the number of accounts with CRM login rights to the minimum operationally required while the patch is being staged.
bash
# Example nginx block to restrict the vulnerable endpoints pre-patch
location ~ ^/(contract|opportunity)/sort$ {
    allow 10.0.0.0/8;        # trusted admin subnet only
    deny all;
    proxy_pass http://cordyscrm_backend;
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.