CVE-2026-76174: CWE-434 Unrestricted upload of file with dangerous type in OCS Inventory NG Ocsreports
Description
Unrestricted file upload vulnerability in the CSV file upload functionality of the Ocsreports admin_info endpoint. The application validates files solely based on the name provided by the client, without properly checking their content or securely restricting the permitted file types. This allows a user with administrator privileges to upload PHP files to a directory accessible via the web interface. If the file is subsequently processed by the server, an attacker could execute arbitrary code with the privileges of the account used by the web service.
CVSS v4.0
Score 9.4critical
Affected software
OCS Inventory NG
Ocsreports
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability (CWE-434) affects Ocsreports component of OCS Inventory NG version 2.12.6. It arises because the CSV file upload functionality does not properly validate or restrict the types of files uploaded, relying solely on the filename provided by the client. An attacker with administrator privileges can upload malicious PHP files to a directory accessible via the web interface. If the server processes these files, it could lead to arbitrary code execution under the web service account. The CVSS 4.0 base score is 9.4, indicating critical severity. No official patch or remediation level is currently documented, and no known exploits are reported in the wild.
Potential Impact
Successful exploitation allows an attacker with administrator privileges to upload and execute arbitrary PHP code on the server, potentially leading to full compromise of the web service environment. This can result in unauthorized control over the server, data exposure, or further lateral movement within the affected system.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict administrator access to trusted users only and consider disabling or restricting the CSV upload functionality. Monitor for suspicious file uploads and web server activity related to uploaded files. Avoid exposing the upload directory to direct web access if possible.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- INCIBE
- Date Reserved
- 2026-08-19T10:24:12.151Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a994376acd9273b49c1618f
Added to database: 09/03/2026, 09:52:54 UTC
Last enriched: 09/07/2026, 13:14:12 UTC
Last updated: 10/16/2026, 18:48:24 UTC
Views: 109
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.