BuzzPHP
LightDarkSystem

NotrinosERP: Authenticated arbitrary file upload leads to remote code execution via HRM employee "Documents" (doc_file)

High severity. Published 10 July 2026. Update notrinos/notrinos-erp to 1.1.0 or later: composer update notrinos/notrinos-erp.

Which versions are affected?

PackageAffected versionsFixed in
notrinos/notrinos-erp (opens in a new tab)<= 1.0.01.1.0

What should you do?

Update every affected package you use to its fixed version, then check that nothing else in your project matches an advisory. To see which version you run, and whether anything is still affected:

composer show notrinos/notrinos-erp
composer audit

Advisory details

SeverityHighCVSS 8.8
Published
Updated
CVECVE-2026-76913 (opens in a new tab)
GHSAGHSA-qv4m-m73m-8hj7 (opens in a new tab)
WeaknessCWE-22, CWE-434

What the advisory says

Summary An authenticated user with the HR "Manage Employees" permission (SAEMPLOYEE) can upload a file with an arbitrary extension through the employee Documents tab. The handler writes the raw client-supplied filename — extension intact — into a web-served directory with no extension, MIME, or content validation, so a .php file is stored under the web root and executes as code, yielding remote code execution on the server.

Details The document-upload branch in hrm/manage/employees.php (function tabdocuments()) moves the uploaded file using the client filename verbatim:

There is no extension allow-list, getimagesize(), MIME check, or content inspection on this path.

Source: GHSA-qv4m-m73m-8hj7 (opens in a new tab) in the GitHub Advisory Database (CC BY 4.0). Data from GitHub (opens in a new tab) as of .

All Composer security advisories