The Daily Byte
Breaking
Welcome to The Daily Byte — real stories from across Pakistan.
Monday, 23 November 2026 · Pakistan

The Daily Byte

Stories from Pakistan that deserve to be heard

CVE-2026-76913: NotrinosERP Upload Flaw Gives RCE

By The Daily Byte ·22 Nov 2026 ·3 min read
Rows of server racks in a data centre aisle, representative of the web server hosting an ERP system

NotrinosERP, an open-source enterprise resource planning system written in PHP and MySQL, has a file-upload flaw that lets a low-privilege authenticated user run code on the server hosting it. The flaw, tracked as CVE-2026-76913, was published in the National Vulnerability Database on 18 November 2026 and is fixed in NotrinosERP 1.1.0. It is rated high severity, with a CVSS score of 8.8.

The problem is in the employee document handler in hrm/manage/employees.php. Through its tab_documents() function, an authenticated user holding the SA_EMPLOYEE permission can submit a file as doc_file. The handler stores the raw client-supplied filename, including its extension, under company/0/documents/employees/, and it performs no validation of the file extension, the MIME type or the file contents. Because that directory sits beneath the web root, a stored PHP file is executed by the server when it is requested, turning an ordinary document upload into remote code execution.

The attack needs only low-privilege access, and it works over the network with no user interaction. The CVSS vector is AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, meaning low complexity and high impact on confidentiality, integrity and availability. The weakness is classed as CWE-22, improper limitation of a pathname to a restricted directory, and CWE-434, unrestricted upload of a file with a dangerous type. In an ERP deployment the compromised server is the system that holds the business's day-to-day operational records, so code execution there is a serious incident, not a minor bug.

Versions affected and the fix

All versions from 1.0.0 up to, but not including, 1.1.0 are affected. The fix, in version 1.1.0, moves employee document attachments to the system's core attachment handling, with the changes recorded in the project's public commits. Administrators should update to 1.1.0, then check the employee documents directory for files with executable extensions that should not be there, and review which accounts hold the SA_EMPLOYEE permission, since that permission is all the flaw needs.

No exploitation reported

No public proof-of-concept code had been reported at the time of writing, and no exploitation in the wild has been confirmed. That is not a reason to delay: the flaw is straightforward to use, the affected endpoint is reachable by any user who can manage employee records, and the fix is a version update. The fix was published through GitHub's security advisory process, and the two fix commits are public, so administrators can inspect exactly what changed before they update. Operators who cannot update immediately should restrict access to the employee document upload and treat any unexpected executable file under the documents directory as a sign of compromise.