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

CVE-2026-111632: Aureus ERP Authorization Bypass Vulnerability

CVE-2026-111632 is an authorization bypass flaw in Aureus ERP through version 1.6.0 that breaks multi-company data segregation. 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-111632 Overview

CVE-2026-111632 is an authorization bypass vulnerability in Aureus ERP through version 1.6.0. Authenticated API users can create or move records into companies they do not belong to by supplying a foreign company_id value. The flaw affects plugin REST API endpoints including partners, sales, and inventories. Exploitation breaks multi-company tenant isolation, allowing attackers to inject or relocate records across company boundaries within the same ERP instance. The vulnerability is tracked as CWE-639: Authorization Bypass Through User-Controlled Key.

Critical Impact

Authenticated users can violate multi-company data segregation by writing records into unauthorized tenant companies through standard REST API create and update operations.

Affected Products

  • Aureus ERP versions through 1.6.0
  • Webkul Partners plugin REST endpoints
  • Webkul Sales and Inventories plugin REST endpoints

Discovery Timeline

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

Technical Details for CVE-2026-111632

Vulnerability Analysis

Aureus ERP enforces multi-company segregation using the BelongsToCompany trait, which scopes records to the authenticated user's company context. However, REST API request validators such as PartnerRequest accept a user-supplied company_id field without verifying that the authenticated user has access to the referenced company. The server trusts the submitted identifier and persists the record under the attacker-chosen company, bypassing tenant isolation. This is a classic insecure direct object reference where an authorization key is user-controlled rather than server-derived.

Root Cause

The company_id input in create and update API requests is validated for existence but not for ownership. The Form Request classes in the Webkul plugins (partners, accounts, sales, inventories) lacked a validation rule tying the company_id to the set of companies accessible by the current user session.

Attack Vector

An authenticated low-privilege API user issues a POST or PUT request to a plugin endpoint such as /api/partners with a JSON body containing a company_id that belongs to another tenant. The record is created or moved under that foreign company, polluting its data or exposing attacker-controlled entities inside its workflows.

php
// Security patch - FiscalPositionRequest.php
 use Illuminate\Contracts\Validation\ValidationRule;
 use Illuminate\Foundation\Http\FormRequest;
+use Webkul\Support\Rules\WithinAllowedCompanies;
 
 class FiscalPositionRequest extends FormRequest
 {

// Security patch - JournalRequest.php
 use Illuminate\Foundation\Http\FormRequest;
 use Illuminate\Validation\Rule;
 use Webkul\Account\Enums\JournalType;
+use Webkul\Support\Rules\WithinAllowedCompanies;
 
 class JournalRequest extends FormRequest
 {
// Source: https://github.com/aureuserp/aureuserp/commit/5dab06a958d1e7546cf9f2ebf48f9843909ed972

The patch introduces a WithinAllowedCompanies validation rule that constrains company_id to companies the authenticated user may access.

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

Indicators of Compromise

  • Records in the Aureus ERP database whose company_id does not match the company_id of their creating user account
  • API request logs containing POST or PUT bodies with company_id values that differ from the authenticated user's assigned company
  • Unexpected partner, sale, or inventory entries appearing in tenant companies without a corresponding audit trail entry

Detection Strategies

  • Query the application database to join records with user company assignments and flag mismatches on company_id across tables using the BelongsToCompany trait
  • Inspect web server access logs for REST API requests to /api/partners, /api/sales, /api/inventories, and related plugin endpoints and correlate payload company_id against the session identity
  • Enable Laravel request logging to capture full JSON bodies for authenticated API traffic during the exposure window

Monitoring Recommendations

  • Alert on API create and update requests where the submitted company_id is not in the user's allowed company list
  • Monitor for sudden volume increases in record creation under specific companies attributable to users outside that tenant
  • Forward Aureus ERP application logs to a centralized log platform for cross-tenant anomaly analysis

How to Mitigate CVE-2026-111632

Immediate Actions Required

  • Upgrade Aureus ERP to a release that includes commit 5dab06a95 which adds the WithinAllowedCompanies validation rule
  • Audit existing records across partners, sales, inventories, journals, and fiscal positions for cross-company contamination
  • Rotate API tokens for users who have interacted with vulnerable endpoints and review their activity history

Patch Information

The vendor merged pull request #1575 (fix/api-company-id-tenant-isolation) in commit 5dab06a95. The fix adds a WithinAllowedCompanies rule to the affected Form Request classes, rejecting any company_id value that is not within the authenticated user's allowed company set. See the VulnCheck Advisory for Aureus ERP for additional context.

Workarounds

  • Add a middleware or request-level validator that strips or overrides client-supplied company_id fields and sets them from the authenticated session
  • Restrict REST API access to trusted internal integrations only until the patched version is deployed
  • Apply database-level row security policies that reject inserts and updates where company_id does not match the application role's tenant context
bash
# Pull the fixed version from the upstream repository
git clone https://github.com/aureuserp/aureuserp.git
cd aureuserp
git checkout 5dab06a958d1e7546cf9f2ebf48f9843909ed972
composer install --no-dev
php artisan migrate --force
php artisan config:cache

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.