Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

GHSA-qv4m-m73m-8hj7: NotrinosERP: Authenticated arbitrary file upload leads to remote code execution via HRM employee "Documents" (doc_file)

0
High
Published: 07/10/2026 (07/10/2026, 19:34:03 UTC)
Source: GCVE Database
Product: notrinos/notrinos-erp

Description

An authenticated user with the HR "Manage Employees" permission (SA_EMPLOYEE) in NotrinosERP version 1.0.0 and earlier can upload arbitrary files through the employee Documents tab. The uploaded file is saved under the web root with the original filename and extension intact, without any validation or sanitization, allowing a .php file to be uploaded and executed. This leads to remote code execution on the server. The vulnerability also allows path traversal via crafted filenames. The uploaded file's URL is exposed unescaped in the UI, facilitating exploitation. The vulnerability requires authentication and a valid CSRF token but no further file validation is performed.

CVSS v3.1

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected software

Packagistghsa
notrinos/notrinos-erp
Affected versions
<=1.0.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/11/2026, 09:49:41 UTC

Technical Analysis

NotrinosERP versions up to 1.0.0 contain a vulnerability in the HR module's employee document upload functionality. Authenticated users with the SA_EMPLOYEE permission can upload files with arbitrary extensions, including .php, which are stored under the web root without extension or MIME type validation. The upload handler uses the client-supplied filename verbatim, enabling remote code execution by accessing the uploaded PHP file. The application does not sanitize or restrict file extensions, nor does it prevent path traversal via crafted filenames. The uploaded file's path is displayed unescaped in the UI, exposing the exact URL for exploitation. The vulnerability requires authentication and a valid CSRF token but no file content checks are performed.

Potential Impact

Successful exploitation allows any authenticated user with the SA_EMPLOYEE permission to execute arbitrary PHP code on the server hosting NotrinosERP, resulting in full remote code execution. This compromises the confidentiality, integrity, and availability of the server and potentially the entire application environment. The vulnerability also introduces a stored cross-site scripting (XSS) vector due to unescaped output of the file path. The attack surface is limited to authenticated users with specific HR permissions, but these permissions may be delegated or assigned to non-administrators depending on deployment.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict the assignment of the SA_EMPLOYEE permission to trusted users only. As a temporary mitigation, implement server-side controls to block execution of uploaded files in the documents directory, such as web server configuration to deny execution of .php files in the upload path. Additionally, consider applying input validation to restrict allowed file extensions and sanitize filenames. Monitor vendor channels for an official patch or update addressing this issue.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-qv4m-m73m-8hj7
Osv Schema Version
1.4.0
Aliases
[]
Ecosystems
["Packagist"]
Database Specific Severity
HIGH
Cvss Version
3.1

Threat ID: 6a520eb368715ace438f5266

Added to database: 07/11/2026, 09:36:51 UTC

Last enriched: 07/11/2026, 09:49:41 UTC

Last updated: 07/12/2026, 03:33:07 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses