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

CVE-2026-97324: RuoYi-Vue-Pro Auth Bypass Vulnerability

CVE-2026-97324 is an authentication bypass flaw in YunaiV RuoYi-Vue-Pro that allows attackers to gain unauthorized access through improper authorization. This post explains its 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-97324 Overview

CVE-2026-97324 is an improper authorization vulnerability in the YunaiV/zhijiantianya ruoyi-vue-pro project, affecting versions up to 2026.08. The flaw resides in the updateDemoOrderPaid function within yudao-module-pay/src/main/java/cn/iocoder/yudao/module/pay/controller/admin/demo/PayDemoOrderController.java, part of the Demo-order Payment Callback Handler. Attackers can manipulate the ID argument to bypass authorization checks remotely without authentication. The exploit is publicly available, and the vendor did not respond to disclosure attempts. The weakness is categorized as [CWE-266] Incorrect Privilege Assignment.

Critical Impact

Remote, unauthenticated attackers can tamper with demo order payment state by abusing an improperly authorized callback endpoint.

Affected Products

  • YunaiV/zhijiantianya ruoyi-vue-pro
  • Versions up to and including 2026.08
  • Component: Demo-order Payment Callback Handler (PayDemoOrderController.java)

Discovery Timeline

  • 2026-09-24 - CVE CVE-2026-97324 published to NVD
  • 2026-09-24 - Last updated in NVD database

Technical Details for CVE-2026-97324

Vulnerability Analysis

The vulnerability lives in the updateDemoOrderPaid method of PayDemoOrderController.java inside the yudao-module-pay module. This controller handles payment callback updates for demo orders. The endpoint accepts an ID parameter from the request and updates the associated order's paid state. Because the controller does not properly verify that the caller is authorized to modify the referenced order, any remote actor can trigger paid-state updates on arbitrary order identifiers.

Root Cause

The root cause is missing authorization enforcement on a state-changing operation [CWE-266]. The callback handler trusts the client-supplied ID and does not validate ownership, session context, or callback authenticity (such as a signed payment-gateway token). This allows horizontal privilege escalation across order records.

Attack Vector

Exploitation is remote and requires no authentication or user interaction. An attacker crafts an HTTP request to the demo order payment callback endpoint, supplying a target order ID. The server processes the request and marks the order as paid, altering application state without legitimate payment confirmation. Public proof-of-concept material is referenced through VulDB Vulnerability #409332.

No verified exploit code is available in the enriched data. See the VulDB CVE-2026-97324 record for additional technical context.

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

Indicators of Compromise

  • Unexpected HTTP requests to the demo order payment callback route in yudao-module-pay from untrusted source IPs.
  • Demo order records transitioning to a paid state without a corresponding payment-gateway transaction in logs.
  • Repeated requests enumerating sequential ID values against the PayDemoOrderController endpoint.

Detection Strategies

  • Review application access logs for POST or PUT requests invoking updateDemoOrderPaid without a prior authenticated session.
  • Correlate order status changes with upstream payment-provider webhook records to identify unmatched state transitions.
  • Deploy web application firewall rules that flag unauthenticated access to administrative payment callback paths.

Monitoring Recommendations

  • Enable verbose audit logging on the yudao-module-pay controllers and forward events to a centralized SIEM.
  • Alert on order-state mutations originating from IPs outside the approved payment-gateway allowlist.
  • Track anomalous increases in demo order paid-status updates per unit time.

How to Mitigate CVE-2026-97324

Immediate Actions Required

  • Restrict network access to the PayDemoOrderController callback endpoint to known payment-gateway IP ranges.
  • Disable or remove the demo payment module in production deployments if it is not required.
  • Add server-side authorization and callback-signature verification to the updateDemoOrderPaid handler.

Patch Information

No vendor patch is referenced in the enriched data. The vendor was contacted but did not respond. Monitor the upstream VulDB entry and the project repository for a fix, and apply any emerging patch promptly.

Workarounds

  • Place the application behind a reverse proxy that enforces authentication on /admin/pay/demo-order/* paths.
  • Implement a signed-token check validating that callback requests originate from the configured payment provider.
  • Remove the demo order controller from the deployed build when the project is used as a template for production systems.
bash
# Example nginx restriction limiting the demo payment callback to trusted sources
location /admin-api/pay/demo-order/update-paid {
    allow 203.0.113.0/24;   # payment provider range
    deny  all;
    proxy_pass http://ruoyi_vue_pro_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.