UBUNTU-CVE-2026-76174

Source
https://ubuntu.com/security/CVE-2026-76174
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-76174.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-76174
Upstream
  • CVE-2026-76174
Published
2026-09-04T00:00:00Z
Modified
2026-09-05T06:16:05.806934542Z
Severity
  • 9.4 (Critical) CVSS_V4 - 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 CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:16.04:LTS / ocsinventory-server

Package

Name
ocsinventory-server
Purl
pkg:deb/ubuntu/ocsinventory-server?arch=source&distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.1.2-1
2.1.2-1ubuntu1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "ocsinventory-reports",
            "binary_version": "2.1.2-1ubuntu1"
        },
        {
            "binary_name": "ocsinventory-server",
            "binary_version": "2.1.2-1ubuntu1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-76174.json"

Ubuntu:18.04:LTS / ocsinventory-server

Package

Name
ocsinventory-server
Purl
pkg:deb/ubuntu/ocsinventory-server?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.2+dfsg-0.1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "ocsinventory-reports",
            "binary_version": "2.2+dfsg-0.1"
        },
        {
            "binary_name": "ocsinventory-server",
            "binary_version": "2.2+dfsg-0.1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-76174.json"

Ubuntu:20.04:LTS / ocsinventory-server

Package

Name
ocsinventory-server
Purl
pkg:deb/ubuntu/ocsinventory-server?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.5+dfsg1-1
2.5+dfsg1-1ubuntu0.1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "ocsinventory-reports",
            "binary_version": "2.5+dfsg1-1ubuntu0.1"
        },
        {
            "binary_name": "ocsinventory-server",
            "binary_version": "2.5+dfsg1-1ubuntu0.1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-76174.json"

Ubuntu:22.04:LTS / ocsinventory-server

Package

Name
ocsinventory-server
Purl
pkg:deb/ubuntu/ocsinventory-server?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.8.1+dfsg1-1
2.8.1+dfsg1-1ubuntu0.1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "ocsinventory-reports",
            "binary_version": "2.8.1+dfsg1-1ubuntu0.1"
        },
        {
            "binary_name": "ocsinventory-server",
            "binary_version": "2.8.1+dfsg1-1ubuntu0.1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-76174.json"

Ubuntu:24.04:LTS / ocsinventory-server

Package

Name
ocsinventory-server
Purl
pkg:deb/ubuntu/ocsinventory-server?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.8.1+dfsg1+~2.11.1-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "ocsinventory-reports",
            "binary_version": "2.8.1+dfsg1+~2.11.1-1"
        },
        {
            "binary_name": "ocsinventory-server",
            "binary_version": "2.8.1+dfsg1+~2.11.1-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-76174.json"