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-109376 Overview
CVE-2026-109376 is an incorrect authorization vulnerability [CWE-863] in ERPNext versions 15.55.0 through 16.50.0. The flaw resides in the get_timesheet_html method within erpnext/templates/pages/projects.py. The method validates only Project read access and ignores the hide_timesheets flag and project membership checks. Authenticated portal users can therefore enumerate project Timesheets they should not be able to view. Disclosed data includes timesheet names, status values, time-log dates, and the identity of the user who last modified each record.
Critical Impact
Authenticated portal users can read Timesheet metadata for projects they are not members of, bypassing the hide_timesheets control and leaking workforce activity information.
Affected Products
- ERPNext 15.55.0 through 16.50.0
- Frappe ERPNext portal projects.py templates
- Deployments exposing the ERPNext customer/portal interface
Discovery Timeline
- 2026-10-12 - CVE-2026-109376 published to NVD
- 2026-10-12 - Last updated in NVD database
Technical Details for CVE-2026-109376
Vulnerability Analysis
ERPNext exposes a portal view for projects that renders associated Timesheet data through the get_timesheet_html helper. The helper issues a database query for Timesheet records linked to a given project after confirming the caller holds read permission on the parent Project doctype. It does not evaluate the project-level hide_timesheets toggle, and it does not verify that the caller is a project member. Any authenticated portal user who can read a Project document can therefore retrieve its Timesheet listing. The leaked fields include timesheet name, status, start and end dates, and the modified_by user. This information supports reconnaissance of internal staff, project cadence, and user identifiers for follow-on attacks.
Root Cause
The root cause is a missing authorization check in erpnext/templates/pages/projects.py (lines 99–106 in v16.50.0). The function enforces coarse read permission on Project but omits enforcement of the hide_timesheets flag and membership-based access control defined elsewhere in the portal logic.
Attack Vector
Exploitation is remote and requires only a low-privileged authenticated portal account. The attacker browses or scripts requests to the project portal endpoint and receives Timesheet HTML for projects where hide_timesheets was expected to apply. No user interaction and no elevated privileges are required.
# Security patch excerpt - erpnext/templates/pages/projects.py
# Commit eb217deef7bd407d34254aee3b3e175e4d357c90
# fix(projects): show portal timesheets only to project members
import frappe
from frappe import _
from frappe.utils.user import is_website_user
Source: GitHub ERPNext Commit
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 AttacksDetection Methods for CVE-2026-109376
Indicators of Compromise
- Portal HTTP requests from a single authenticated user that enumerate multiple project IDs against the Timesheet rendering endpoint.
- Access log entries referencing get_timesheet_html or the project portal page for projects where the requester is not a listed member.
- Spikes in portal GET traffic to /projects/* paths from accounts classified as website users.
Detection Strategies
- Correlate ERPNext application logs with the project membership tables to flag users retrieving Timesheet HTML for projects they do not belong to.
- Alert on repeated access to projects configured with hide_timesheets = 1 from non-member portal accounts.
- Review the patched source and instrument the vulnerable function to log callers prior to upgrade.
Monitoring Recommendations
- Enable Frappe audit logging for portal routes and forward it to a central analytics backend.
- Track per-user request rates against project portal URLs and baseline normal portal behavior.
- Monitor for abnormal expansion of a portal account's accessible project set over short time windows.
How to Mitigate CVE-2026-109376
Immediate Actions Required
- Upgrade ERPNext to the fixed release that contains commit eb217deef7bd407d34254aee3b3e175e4d357c90 from pull request 60280.
- Audit portal user accounts and revoke access for inactive or unrecognized website users.
- Review Timesheet exposure for projects where hide_timesheets was expected to apply and assess information disclosure.
Patch Information
The fix adds membership-aware checks around portal Timesheet rendering. Details are available in the VulnCheck advisory and the upstream commit. Administrators running 15.55.0 through 16.50.0 should apply the patched release.
Workarounds
- Restrict portal access by disabling or limiting the website user role on affected ERPNext instances until patching is complete.
- Place the ERPNext portal behind an authenticated reverse proxy that enforces IP allow-listing for trusted project collaborators.
- Temporarily remove or guard the get_timesheet_html call in erpnext/templates/pages/projects.py to prevent portal rendering of Timesheet data.
# Upgrade ERPNext using the bench CLI
bench update --no-backup
bench --site <site-name> migrate
bench restart
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

