{"items":[{"id":"NVI-00006096","kind":"vulnerability","title":"NotrinosERP: Authenticated arbitrary file upload leads to remote code execution via HRM employee \"Documents\" (doc_file)","revision":2,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-qv4m-m73m-8hj7","CVE-2026-76913"],"plain_summary":"GitHub lists this reviewed advisory for notrinos/notrinos-erp. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-9119436b6f7d75adb6171d97b331aa62"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"The original advisory lists fixed boundaries 1.1.0 for notrinos/notrinos-erp. Confirm the publisher’s latest guidance.","source_ids":["sr-a716f45a5dedd3ef1b111e3ebea70808"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-10-27T15:09:57.000Z","value":"8.8 high","meaning":"GitHub source severity; exploitability and local consequence require separate evidence.","source_id":"sr-9119436b6f7d75adb6171d97b331aa62"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-9119436b6f7d75adb6171d97b331aa62","url":"https://github.com/advisories/GHSA-qv4m-m73m-8hj7","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-qv4m-m73m-8hj7","publisher":"GitHub Advisory Database","observed_at":"2026-10-31T22:06:46.371Z"},{"id":"sr-a716f45a5dedd3ef1b111e3ebea70808","url":"https://github.com/advisories/GHSA-qv4m-m73m-8hj7","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-qv4m-m73m-8hj7","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:41.353Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-9119436b6f7d75adb6171d97b331aa62"],"technology":"notrinos/notrinos-erp","known_exclusions":[],"conditions_summary":"#### Summary\nAn authenticated user with the HR \"Manage Employees\" permission (`SA_EMPLOYEE`) can upload a\nfile with an arbitrary extension through the employee **Documents** tab. The handler writes the\nraw client-supplied filename — extension intact — into a web-served directory with no extension,\nMIME, or content validation, so a `.php` file is stored under the web root and executes as code,\nyielding remote code execution on the server.\n\n#### Details\nThe document-upload branch in `hrm/manage/employees.php` (function `tab_documents()`) moves the\nuploaded file using the client filename verbatim:\n\n```php\n// hrm/manage/employees.php -> tab_documents()  (HEAD lines 597-602; release 1.0.0 lines 568-573)\n$upload_dir = company_path().'/documents/employees';\nif (!file_exists($upload_dir))\n    mkdir($upload_dir, 0777, true);\n$file_path = $upload_dir.'/'.$employee_id.'_'.time().'_'.$_FILES['doc_file']['name'];\nif (!move_uploaded_file($_FILES['doc_file']['tmp_name'], $file_path)) { ... }\n```\n\nThere is **no** extension allow-list, `getimagesize()`, MIME check, or content inspection on this\npath. Contrast this with the profile-photo (`pic`) upload in the *same file*, which validates image\ntype/","public_affected_ranges":["<= 1.0.0"]},{"certainty":"source_listed","source_ids":["sr-a716f45a5dedd3ef1b111e3ebea70808"],"technology":"notrinos/notrinos-erp","known_exclusions":[],"conditions_summary":"#### Summary\nAn authenticated user with the HR \"Manage Employees\" permission (`SA_EMPLOYEE`) can upload a\nfile with an arbitrary extension through the employee **Documents** tab. The handler writes the\nraw client-supplied filename — extension intact — into a web-served directory with no extension,\nMIME, or content validation, so a `.php` file is stored under the web root and executes as code,\nyielding remote code execution on the server.\n\n#### Details\nThe document-upload branch in `hrm/manage/employees.php` (function `tab_documents()`) moves the\nuploaded file using the client filename verbatim:\n\n```php\n// hrm/manage/employees.php -> tab_documents()  (HEAD lines 597-602; release 1.0.0 lines 568-573)\n$upload_dir = company_path().'/documents/employees';\nif (!file_exists($upload_dir))\n    mkdir($upload_dir, 0777, true);\n$file_path = $upload_dir.'/'.$employee_id.'_'.time().'_'.$_FILES['doc_file']['name'];\nif (!move_uploaded_file($_FILES['doc_file']['tmp_name'], $file_path)) { ... }\n```\n\nThere is **no** extension allow-list, `getimagesize()`, MIME check, or content inspection on this\npath. Contrast this with the profile-photo (`pic`) upload in the *same file*, which validates image\ntype/","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 1.1.0"]}],"null_published_at":"2026-10-31T22:27:09.628Z","source_updated_at":"2026-10-27T15:09:57.000Z","source_disclosed_at":"2026-07-10T19:34:03.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"Source facts changed; compare the preserved prior revision.","null_first_observed_at":"2026-10-31T21:42:41.353Z"},{"id":"NVI-00006096","kind":"vulnerability","title":"NotrinosERP: Authenticated arbitrary file upload leads to remote code execution via HRM employee \"Documents\" (doc_file)","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-qv4m-m73m-8hj7","CVE-2026-76913"],"plain_summary":"OSV carries this publisher advisory for notrinos/notrinos-erp. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"The original advisory lists fixed boundaries 1.1.0 for notrinos/notrinos-erp. Confirm the publisher’s latest guidance.","source_ids":["sr-a716f45a5dedd3ef1b111e3ebea70808"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-a716f45a5dedd3ef1b111e3ebea70808","url":"https://github.com/advisories/GHSA-qv4m-m73m-8hj7","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-qv4m-m73m-8hj7","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:41.353Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-a716f45a5dedd3ef1b111e3ebea70808"],"technology":"notrinos/notrinos-erp","known_exclusions":[],"conditions_summary":"#### Summary\nAn authenticated user with the HR \"Manage Employees\" permission (`SA_EMPLOYEE`) can upload a\nfile with an arbitrary extension through the employee **Documents** tab. The handler writes the\nraw client-supplied filename — extension intact — into a web-served directory with no extension,\nMIME, or content validation, so a `.php` file is stored under the web root and executes as code,\nyielding remote code execution on the server.\n\n#### Details\nThe document-upload branch in `hrm/manage/employees.php` (function `tab_documents()`) moves the\nuploaded file using the client filename verbatim:\n\n```php\n// hrm/manage/employees.php -> tab_documents()  (HEAD lines 597-602; release 1.0.0 lines 568-573)\n$upload_dir = company_path().'/documents/employees';\nif (!file_exists($upload_dir))\n    mkdir($upload_dir, 0777, true);\n$file_path = $upload_dir.'/'.$employee_id.'_'.time().'_'.$_FILES['doc_file']['name'];\nif (!move_uploaded_file($_FILES['doc_file']['tmp_name'], $file_path)) { ... }\n```\n\nThere is **no** extension allow-list, `getimagesize()`, MIME check, or content inspection on this\npath. Contrast this with the profile-photo (`pic`) upload in the *same file*, which validates image\ntype/","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 1.1.0"]}],"null_published_at":"2026-10-31T22:13:05.858Z","source_updated_at":"2026-10-27T15:15:07.978Z","source_disclosed_at":"2026-07-10T19:34:03.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-10-31T21:42:41.353Z"}],"next_cursor":null,"snapshot_revision":"42594"}