Skip to main content

NotrinosERP CVE-2026-76913

| EUVDEUVD-2026-129180 HIGH
Path Traversal (CWE-22)
2026-11-18 GitHub_M GHSA-qv4m-m73m-8hj7
8.8
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate with SA_EMPLOYEE role
  2. Delivery
    Upload shell.php via employee Documents tab
  3. Exploit
    Handler stores raw filename under web root unvalidated
  4. Execution
    Request stored .php path from View link
  5. Impact
    Execute arbitrary commands as web server user

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated web session whose user holds the SA_EMPLOYEE ('Manage Employees') HR permission, plus an existing employee record (employee_no), a valid doc_type_id, and the session CSRF token (the hidden _token field validated by check_csrf_token()). The attacker uploads doc_file through tab_documents() in hrm/manage/employees.php; this branch performs no extension allow-list, no getimagesize()/MIME check, and no content inspection, unlike the sibling 'pic' photo upload in the same file. Successful code execution additionally depends on the deployment serving the company/ directory under the web root with PHP enabled - the vendor confirms the only project .htaccess (repo root) blocks .inc/.po/.sh/.pem/.sql/.log but not .php and does not cover company/, so default Apache/mod_php or Nginx+PHP-FPM setups execute the stored file. LIMITING FACTORS: no anonymous access (authentication + CSRF token required), and risk is reduced where SA_EMPLOYEE is granted only to trusted administrators rather than delegated operators.

Impact

This is a genuine, high-priority issue but not an unqualified emergency. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, 8.8) is internally consistent with the mechanism described: a network-reachable, low-complexity authenticated file upload that yields full code execution (C:H/I:H/A:H). The critical caveat is PR:L - exploitation requires an authenticated session holding the SA_EMPLOYEE permission, so this is not an anonymous internet-wide threat; the GHSA notes that if a deployment grants SA_EMPLOYEE only to administrators, privileges-required rises to High (vendor estimate ~7.2). No CISA KEV listing and no EPSS score are present in the input, so there is no signal of active or widespread exploitation; status is best described as no confirmed active exploitation. However, a detailed, self-contained proof-of-concept (full HTTP flow plus local code-execution validation on PHP 8.5) is published directly in the GHSA advisory, which materially lowers the attacker effort versus a theoretical bug. The vuln.today decision label is 'this_week' (not act_now/emergency), aligning with: real RCE + available PoC, but gated behind authentication and a niche product footprint. Net: treat as a prompt-patch priority for anyone running NotrinosERP 1.0.0-1.1.0 who delegates HR roles, rather than a drop-everything internet emergency.

Exploit ScenarioDerived

An attacker who already holds (or phishes/compromises) an operator account with the delegable SA_EMPLOYEE HR permission opens the employee Documents tab, reads the hidden CSRF _token, and uploads a file named 'shell.php' containing a PHP webshell. Because the handler writes the raw client filename under the web-served company/0/documents/employees/ directory with no extension, MIME, or content checks, the attacker then requests the stored path (conveniently exposed in the 'View' link) to run arbitrary commands as the web server user. A complete, locally validated proof-of-concept for this exact flow is published in the GHSA advisory.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 18, 2026

Authenticated remote code execution in NotrinosERP 1.0.0 through 1.1.0: a user holding the delegable SA_EMPLOYEE ('Manage Employees') permission can upload a .php file through the employee Documents tab (doc_file, handled by tab_documents() in hrm/manage/employees.php), which is written with the raw client-supplied filename into company/0/documents/employees/ beneath the web root, so requesting the stored path executes server-side code. Exploitation requires an authenticated session, an existing employee_no, a valid doc_type_id and the session CSRF _token, and successful code execution depends on the deployment serving company/ with PHP enabled (the project's only .htaccess does not block .php and does not cover that directory). The issue is fixed in version 1.1.0; it is not in CISA KEV, and the advisory includes a public proof-of-concept request plus local validation of the write-and-execute mechanism, which is not verified as working exploit code against a production deployment - priority is this_week, not an emergency, because access is authenticated and risk drops sharply where SA_EMPLOYEE is not delegated beyond administrators.

RemediationAI

Vendor-released patch: upgrade to NotrinosERP 1.1.0 (https://github.com/notrinos/NotrinosERP/releases/tag/1.1.0), which is the reference fix; the associated changes are commits 71cac7cd199e40cff7f2b18551620133e29f8967 and 99ae49fe1a880ed3144a6ea4b917d0ca4260bfd8, which route employee documents through the HR module and block generic add, view and delete of ST_EMPLOYEE attachments in admin/attachments.php. The advisory's recommended remediation is to stop using the client filename on disk (server-generated, extension-less names mirroring the uniqid() pattern in includes/ui/attachment.inc, with the original name kept only as a database label), enforce an extension/MIME allow-list and size cap like the existing 'pic' branch, and either store uploads outside the web root or drop an .htaccess/web.config in company/*/documents/ that disables script execution (php_admin_flag engine off, RemoveHandler .php, SetHandler none); it also advises htmlspecialchars() on the stored path before emitting the 'View' link to close the secondary XSS. Where patching must wait, the actionable compensating controls are to keep SA_EMPLOYEE restricted to trusted administrators rather than delegated HR operators (which reduces, but does not remove, exposure since the account is still authenticated), and to disable PHP execution for company/*/documents/ at the web server - trade-off: any legitimate PHP-based document preview in that tree stops working, and the setting must be applied per vhost and verified, since the bundled repo-root .htaccess does not cover company/ and does not block .php. Existing deployments should also review company/*/documents/employees/ for unexpected .php files and treat any with attacker-chosen names as potential compromise.

Affected VersionsENISA

NotrinosERP 1.0.0, < 1.1.0

Affected Packages

composer notrinos/notrinos-erp fix: 1.1.0
euvd notrinoserp fix: 1.1.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in composer, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

NotrinosERP is a PHP/MySQL ERP whose HR module stores employee paperwork on disk. The vulnerable branch is the document upload in hrm/manage/employees.php (tab_documents()), which builds the destination with company_path().'/documents/employees' and then calls move_uploaded_file() with $_FILES['doc_file']['name'] concatenated verbatim after the employee id and a timestamp. No extension allow-list, getimagesize()/MIME check, size cap or content inspection is applied, even though the sibling 'pic' photo handler in the same file validates image type/extension/size and core includes/ui/attachment.inc deliberately generates an extension-less uniqid() name with a comment warning that client filenames must never be trusted. Because config.default.php sets $comp_path = $path_to_root.'/company', the dropped file lands inside the web root; the repo-root .htaccess denies only .inc/.po/.sh/.pem/.sql/.log and neither blocks .php nor applies to company/, so Apache/mod_php or Nginx+PHP-FPM deploy­ments serve the stored shell. The advisory classifies the upload weakness as CWE-434 (unrestricted upload of dangerous file type) alongside CWE-22 (path traversal), and notes that a multipart filename containing '../' enables traversal on PHP builds that do not basename $_FILES['name']. A secondary sink exists in hrm/includes/ui/employee_ui.inc, where the stored path is concatenated unescaped into the 'View' link href, giving a stored-XSS vector (CWE-79) and conveniently handing the attacker the exact URL of the uploaded file. The trigger is the multipart POST with a .php filename; the CSRF token gates the request but does not inspect the file.

Know when Notrinoserp gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.8 HIGH

Network-reachable HTTP upload (AV:N), no special timing or configuration beyond defaults (AC:L), requires the delegable SA_EMPLOYEE role (PR:L, not PR:N), no victim interaction (UI:N); webshell yields full server control (C/I/A:H).

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Nov 18, 2026 - 22:03 EUVD
CVE Published
Nov 18, 2026 - 20:12 cve.org
HIGH 8.8

DescriptionCVE.org

NotrinosERP is an open-source web-based enterprise resource planning system written in PHP and MySQL. From 1.0.0 until 1.1.0, the employee document handler in hrm/manage/employees.php allows an authenticated user with SA_EMPLOYEE permission to submit doc_file through tab_documents() and stores the raw client filename, including an executable extension, under company/0/documents/employees/ without extension, MIME, or content validation. Uploading a PHP file places executable content beneath the web root, where requesting the stored file results in server-side code execution. This issue is fixed in version 1.1.0.

Technical POC Analysis

CWE-434 (Unrestricted Upload of File with Dangerous Type) leading to RCE, with CWE-22 (path traversal) as a secondary vector; the CVE record assigns CWE-22.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

NotrinosERP versions 1.0.0 through 1.1.0 contain a high-severity authenticated remote code execution flaw (CVE-2026-76913) that allows users with delegated 'Manage Employees' permissions to upload and execute malicious PHP files. This could enable attackers with valid low-privilege accounts to compromise the ERP server, potentially leading to data breaches, operational disruption, and reputational damage. Leadership should prioritize remediation because the ERP likely holds sensitive employee and business data, and exploitation requires only an authenticated session, which many internal users possess.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis; interim mitigations include restricting the SA_EMPLOYEE permission to trusted users, disabling PHP execution in the company/ directory via web server configuration, and deploying a web application firewall to block malicious file uploads.

Threat Intelligence Overview

EPSS Score
0.5%
Top 59% exploitable
Prevalence
Low
niche open-source PHP/MySQL ERP, limited real enterprise deployment footprint
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy