Skip to main content
EPSS 0.5%top 58%

CVE-2026-76174: CWE-434 Unrestricted upload of file with dangerous type in OCS Inventory NG Ocsreports

0
Critical
VulnerabilityCVE-2026-76174cvecve-2026-76174cwe-434
Published: 09/03/2026 (09/03/2026, 09:38:05 UTC)
Source: CVE Database V5
Vendor/Project: OCS Inventory NG
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
High
Subsq. Integrity
High
Subsq. Availability
High
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Affected software

OCS Inventory NG

Ocsreports

Affected versions
=2.12.6

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/07/2026, 13:14:12 UTC

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.

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

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 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