Skip to content
OpenAdvisories
Critical · 9.4 CVE-2026-76174 EUVD-2026-70368GHSA-gw56-v6qq-x5hm

Multiple vulnerabilities in Ocsreports for OCS Inventory NG

Published Sep 3, 2026 · Updated Sep 3, 2026 · Assigned by INCIBE

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.

Affected products

VendorProductAffectedFixed
OCS Inventory NG Ocsreports 2.12.6 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 12 ocsinventory-server No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS ocsinventory-server No fix yet —
Ubuntu 22.04 LTS ocsinventory-server No fix yet —
Ubuntu 20.04 LTS ocsinventory-server No fix yet —
Ubuntu 18.04 LTS ocsinventory-server No fix yet —
Ubuntu 16.04 LTS ocsinventory-server No fix yet —

References