CVE-2026-76174: Multiple vulnerabilities in Ocsreports for OCS Inventory NG
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.
Security readout for executives and security teams
Plain-English summary
An authenticated Ocsreports administrator can upload a PHP file through the admin_info CSV upload function because validation relies on the client-supplied filename. If the web server processes that file, the attacker could take control of the application and potentially affect connected systems or data.
Executive priority
Treat confirmed Ocsreports 2.12.6 deployments as an urgent remediation item, especially when administration is internet-accessible. Prioritize access restriction, compromise review, and vendor-supported remediation. The high impact justifies urgency despite the administrator-level prerequisite and absence of documented active exploitation.
Technical view
CVE-2026-76174 is a CWE-434 unrestricted file upload in OCS Inventory NG Ocsreports 2.12.6. Exploitation requires network access and administrator privileges but no user interaction. A malicious PHP upload to a web-accessible directory may enable arbitrary code execution under the web-service account. The CVSS 4.0 score is 9.4.
Likely exposure
The supplied record identifies Ocsreports 2.12.6 as affected and lists other versions as unaffected by default. Greatest exposure exists where administrators can remotely reach admin_info and the server executes uploaded PHP files. The evidence does not establish whether custom configurations or adjacent versions are affected.
Exploitation context
No active exploitation is established: the CVE is not listed as KEV in the supplied bundle, and no cited source claims attacks in the wild. Administrator privileges materially limit initial access, but successful exploitation could provide server-side code execution with the web-service account's permissions.
Researcher notes
The vulnerability depends on filename-only validation, placement in a web-accessible directory, and subsequent server processing. Researchers should verify these conditions defensively without executing payloads. The supplied evidence names only version 2.12.6 and does not identify a fixed version, patch, public proof of concept, or observed exploitation.
Mitigation direction
Check OCS Inventory NG and INCIBE guidance for an approved corrected release or vendor mitigation.
Restrict Ocsreports administrative access to trusted users and networks until remediation is confirmed.
Review administrator accounts and revoke unnecessary or suspicious privileges.
Prevent uploaded directories from executing PHP where operationally safe and vendor-supported.
Back up required data, then test vendor remediation before production deployment.
Validation and detection
Inventory Ocsreports deployments and confirm whether version 2.12.6 is installed.
Determine whether the admin_info CSV upload function is reachable by administrator accounts.
Verify whether the upload destination is web-accessible and configured to execute PHP.
Review upload directories and access logs for unexpected PHP files or suspicious administrative activity.
After remediation, confirm the affected workflow rejects unauthorized file types without executing uploaded content.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-434: File access and web shell behavior lookup
File traversal and upload weaknesses can lead teams to review file, web shell, execution, and collection telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
The CVE wording references file access or upload behavior, so file telemetry and web shell review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
1CVSS vectors
3Timeline events
1ADP providers
2Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: total
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-434 · source CWE mapping
Unrestricted Upload of File with Dangerous Type
Unrestricted Upload of File with Dangerous Type represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.