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

CVE-2026-110098: Jorani IDOR Authentication Bypass Vulnerability

CVE-2026-110098 is an authentication bypass flaw in Jorani that enables authenticated users to manipulate other employees' leave requests through IDOR. This article covers the technical details, affected versions, and remediation.

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-110098 Overview

CVE-2026-110098 is an Insecure Direct Object Reference (IDOR) vulnerability in Jorani, an open-source leave management application. Versions before 1.0.4 authorize sensitive operations by operation name alone, without validating record ownership. Authenticated users can supply arbitrary numeric request IDs to tamper with colleagues' leave and overtime requests. The flaw is tracked under [CWE-639: Authorization Bypass Through User-Controlled Key].

Critical Impact

Any authenticated Jorani user can view, modify, or delete other employees' leave and overtime requests by manipulating request ID parameters passed to Leaves::edit(), Extra::edit(), Leaves::delete(), Extra::delete(), and Leaves::history().

Affected Products

  • Jorani versions prior to 1.0.4
  • Jorani v1.0.2 (confirmed vulnerable per referenced controller source)
  • Leaves and Extra controllers in application/controllers/

Discovery Timeline

  • 2026-10-13 - CVE-2026-110098 published to the National Vulnerability Database
  • 2026-10-14 - Last updated in NVD database

Technical Details for CVE-2026-110098

Vulnerability Analysis

Jorani's Leaves and Extra controllers perform access checks based solely on the operation name registered with the application's authorization helper. They do not verify that the requesting user owns the record being acted upon. When a controller method such as Leaves::edit() receives a numeric $id parameter, it loads and operates on the matching record without checking whether the record's employee field matches the current session user.

This authorization gap exposes five entry points: Leaves::edit(), Extra::edit(), Leaves::delete(), Extra::delete(), and Leaves::history(). An authenticated attacker can enumerate request IDs and tamper with other employees' pending leave or overtime submissions, delete approved requests, or read another user's leave history.

Root Cause

The root cause is missing object-level authorization. The pre-patch code paths assumed that passing the operation-level authorization check (isAllowed('operation_name')) was sufficient. No ownership comparison between the loaded record and the session user ID was performed before mutating or returning the data.

Attack Vector

Exploitation requires only a valid low-privilege account. The attacker issues HTTP requests to the affected controller endpoints while substituting numeric request identifiers belonging to other employees. Because the server authorizes by operation name only, the request is processed against the victim's record. See the VulnCheck Advisory on Jorani for the full technical write-up.

php
// Patch excerpt from legacy/application/controllers/Extra.php
// Adds ownership validation before allowing edits to an overtime request.
            $this->session->set_flashdata('msg', lang('extra_edit_msg_error'));
            redirect('extra');
        }
+       if ($data['extra']['employee'] != $this->user_id) {
+           log_message('error', 'User #' . $this->user_id . ' illegally tried to edit overtime request #' . $id);
+           $this->session->set_flashdata('msg', lang('extra_edit_msg_error'));
+           redirect('extra');
+       }
    } //Admin

    $this->load->helper('form');

Source: GitHub Commit 59c403224401. The patch rejects the request and logs an error when the record's employee field does not match $this->user_id.

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

Indicators of Compromise

  • Application logs containing the string illegally tried to edit overtime request or similar ownership-mismatch messages introduced by the v1.0.4 patch.
  • Unexpected modifications or deletions of leave and overtime records with session user IDs that differ from the record owner.
  • Access-log entries showing a single authenticated user requesting many sequential numeric IDs against /leaves/edit/, /extra/edit/, /leaves/delete/, /extra/delete/, or /leaves/history/.

Detection Strategies

  • Correlate web server logs with Jorani application logs to flag users accessing request IDs outside their own ID range.
  • Alert on high-frequency enumeration patterns against the five vulnerable endpoints from a single session.
  • Review database audit trails for leave or overtime record changes where the modifying user differs from the record's employee field.

Monitoring Recommendations

  • Enable verbose logging on the Jorani CodeIgniter application and forward logs to a centralized SIEM for retention and query.
  • Monitor HTTP 302 redirect responses from extra and leaves endpoints, which may indicate the patched ownership check triggering.
  • Track administrator-privileged accounts separately, as the patch exempts admins from the ownership check.

How to Mitigate CVE-2026-110098

Immediate Actions Required

  • Upgrade all Jorani instances to version 1.0.4 or later without delay.
  • Audit historical leave and overtime records for unauthorized modifications made before the upgrade.
  • Rotate session secrets and force reauthentication to invalidate any active attacker sessions.

Patch Information

The fix is delivered in GitHub Release v1.0.4 and implemented in commit 59c403224401. The patch adds explicit ownership validation in Leaves and Extra controller methods, comparing the loaded record's employee field against $this->user_id before processing. Additional background is tracked in GitHub Issue #426 Discussion.

Workarounds

  • Restrict network access to the Jorani application to trusted internal users while the upgrade is scheduled.
  • Apply the controller changes from commit 59c403224401 as a local hotpatch if an immediate upgrade is not feasible.
  • Reduce the number of authenticated accounts and remove dormant users to limit the attacker population.
bash
# Upgrade workflow for a typical Jorani deployment
cd /var/www/jorani
git fetch --tags
git checkout v1.0.4
php -r "require 'application/config/database.php'; echo 'config loaded';"
# Run any pending database migrations and clear the CodeIgniter cache
rm -rf application/cache/*
sudo systemctl restart apache2

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.