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

CVE-2026-111657: BeikeShop Auth Bypass Vulnerability

CVE-2026-111657 is an authentication bypass flaw in BeikeShop that allows authenticated customers to manipulate other customers' return shipments. This post explains its impact, 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-111657 Overview

CVE-2026-111657 is an Insecure Direct Object Reference (IDOR) vulnerability affecting BeikeShop through version 2.0.0.31. The flaw resides in the markAsShipped handler of RmaController and allows authenticated customers to modify Return Merchandise Authorization (RMA) records that belong to other customers. By submitting sequential RMA identifiers to the account/rmas/{id}/mark_as_shipped endpoint, an attacker can overwrite courier names and tracking numbers and mark approved returns as shipped. The weakness is categorized under CWE-639: Authorization Bypass Through User-Controlled Key.

Critical Impact

Authenticated users can tamper with other customers' return shipments, corrupting order fulfillment data and enabling fraudulent return workflows across the storefront.

Affected Products

  • BeikeShop versions up to and including 2.0.0.31
  • The RmaController component in beike/Shop/Http/Controllers/Account/RmaController.php
  • The account/rmas/{id}/mark_as_shipped shop route defined in beike/Shop/Routes/shop.php

Discovery Timeline

  • 2026-10-16 - CVE-2026-111657 published to NVD
  • 2026-10-16 - Last updated in NVD database

Technical Details for CVE-2026-111657

Vulnerability Analysis

BeikeShop exposes a customer-facing RMA workflow that lets shoppers mark approved returns as shipped and record courier metadata. The markAsShipped handler accepts an RMA identifier from the URL path and loads the corresponding record without verifying that the record belongs to the authenticated session user. As a result, any authenticated customer can target arbitrary RMA records by iterating numeric identifiers.

The endpoint accepts courier name and tracking number inputs and persists them against the chosen RMA. Attackers can therefore overwrite legitimate shipping details, inject false tracking numbers, or prematurely transition returns into a shipped state. This disrupts the merchant's refund and warehouse reconciliation processes.

Root Cause

The root cause is missing ownership validation between the authenticated user and the referenced RMA object. The controller logic in RmaController.php lines 67–93 resolves the RMA by its primary key without filtering on the current customer identifier. The route definition in shop.php lines 98–111 only enforces session authentication, not record ownership.

Attack Vector

An attacker registers or logs in as a standard customer and issues POST requests to account/rmas/{id}/mark_as_shipped while enumerating sequential id values. Each request supplies attacker-controlled courier and tracking fields that overwrite the targeted RMA. No elevated privileges, user interaction, or additional tokens are required beyond a valid customer session. Full technical analysis is available in the HackMD IDOR write-up and the VulnCheck advisory.

No verified public exploit code is available at this time. The vulnerability can be reproduced using standard HTTP tooling by replaying the mark-as-shipped request with modified RMA identifiers.

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-111657

Indicators of Compromise

  • Multiple POST requests to account/rmas/{id}/mark_as_shipped from a single customer session targeting non-sequential or unrelated RMA identifiers.
  • RMA records whose courier name or tracking number were modified by a user ID that does not match the record's owning customer ID.
  • Returns transitioning to the shipped state without a corresponding warehouse or customer-facing event in audit logs.

Detection Strategies

  • Correlate web access logs against the RMA ownership table to flag mark-as-shipped actions performed by non-owning accounts.
  • Baseline normal customer activity and alert on sequential enumeration patterns against /account/rmas/ paths.
  • Review database audit trails for rmas table updates where the updating session identity differs from the customer_id foreign key.

Monitoring Recommendations

  • Instrument the BeikeShop application tier to emit structured logs containing the authenticated customer ID and the target RMA ID for every state change.
  • Forward web server and application logs to a centralized analytics platform and build alerts on high-rate access to the mark-as-shipped endpoint.
  • Monitor for customer accounts that touch an unusually high number of distinct RMA identifiers within a short time window.

How to Mitigate CVE-2026-111657

Immediate Actions Required

  • Upgrade BeikeShop to a release later than 2.0.0.31 once the vendor publishes a patched version.
  • Audit the rmas table for recent unauthorized changes to courier and tracking fields and roll back altered records where appropriate.
  • Temporarily disable or gate the customer-facing mark-as-shipped workflow until ownership checks are in place.

Patch Information

At the time of publication, no fixed version is referenced in the NVD entry for CVE-2026-111657. Administrators should track the BeikeShop repository and the VulnCheck advisory for an official security release. Until a patch ships, operators should apply a local code fix that validates rma.customer_id against the authenticated user before performing updates.

Workarounds

  • Add an ownership check inside RmaController::markAsShipped that aborts the request when the loaded RMA's customer_id does not match the current session user.
  • Deploy a web application firewall (WAF) rule that rate-limits POST requests to account/rmas/{id}/mark_as_shipped per authenticated session.
  • Place the storefront behind a reverse proxy that logs every request to the RMA endpoints for post-incident review.
bash
# Example WAF rule concept to rate-limit mark_as_shipped requests per session
# Pseudocode - adapt to your WAF syntax (ModSecurity, Cloudflare, etc.)
SecRule REQUEST_URI "@rx ^/account/rmas/[0-9]+/mark_as_shipped$" \
    "id:1026111657,phase:1,deny,status:429,\
     msg:'CVE-2026-111657 BeikeShop RMA IDOR rate limit',\
     chain"
  SecRule &REQUEST_HEADERS:Cookie "@gt 0" \
    "setvar:session.rma_hits=+1,\
     expirevar:session.rma_hits=60"

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.