NotrinosERP Employee Document Upload Allows Authenticated RCE (CVE-2026-76913)

NotrinosERP versions 1.0.0 through 1.1.0 contain an authenticated remote code execution vulnerability in the employee document handler. A user with SA_EMPLOYEE permission can upload a PHP file with an executable extension, which is stored under the web root without validation, allowing server-side code execution. Fixed in 1.1.0.

Overview

CVE-2026-76913 affects NotrinosERP, an open-source ERP system written in PHP and MySQL. In versions 1.0.0 to 1.1.0, the tab_documents() function in hrm/manage/employees.php accepts a doc_file upload from an authenticated user with SA_EMPLOYEE permission. The raw client filename (including an executable extension) is stored under company/0/documents/employees/ without extension, MIME, or content validation. If an attacker uploads a PHP file, it is placed beneath the web root and can be requested directly, resulting in server-side code execution.

This issue is fixed in version 1.1.0. The vendor advisory (GHSA-qv4m-m73m-8hj7) and commits are referenced in the NVD entry.

Affected Systems

- NotrinosERP versions 1.0.0 through 1.1.0 (prior to 1.1.0)

Impact

An authenticated attacker with SA_EMPLOYEE permission can achieve arbitrary code execution on the underlying server, potentially leading to full compromise of the application and host.

Mitigation

Upgrade to NotrinosERP 1.1.0 or later. If immediate upgrade is not possible, restrict SA_EMPLOYEE permissions and ensure the web server does not execute PHP files in the upload directory (e.g., disable script execution in company/0/documents/employees/).

Sources