/

CVE-2026-75169

Severity:

HIGH RISK

(8.8)

Unrestricted Upload (CWE-434) in MBS X-Serie ugwupload.cgi

CVE-2026-75169

Deferred

Vulnerability type

Category:

Unrestricted File Upload

CWE:

CWE-434

Impact:

Arbitrary File Write and Potential System Compromise

Severity:

HIGH RISK

(8.8)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

MBS-Solutions X-Serie Gateway firmware contains an arbitrary file upload vulnerability in the /cgi-bin/ugwupload.cgi endpoint. A remote authenticated user with the Admin role may upload arbitrary file content to hardcoded paths, which could enable file replacement, persistence, or further compromise depending on the target locations and runtime permissions.

Affected context

The issue occurs in X-Serie Gateway firmware V6_00_05 when the upload endpoint accepts administrator-controlled content and writes it to predefined filesystem paths. Risk depends on whether the endpoint is reachable remotely, how administrator access is protected, what paths are writable, and whether uploaded files can later be executed, served, or consumed by privileged processes.

Exploit preconditions

  • Attack surface: The remotely reachable /cgi-bin/ugwupload.cgi endpoint
  • Required access: A valid authenticated account with the Admin role
  • Trigger point: Processing an upload request through the gateway's CGI handler
  • Why exploitation is possible: The handler permits attacker-controlled file

content to be written to hardcoded paths without sufficiently restricting the

content, file type, or resulting filesystem effects

Why this happens

The vulnerability results from an upload implementation that treats administrator-supplied file content as trusted and permits it to be written to predefined filesystem locations. Insufficient validation of file content, destination behavior, or upload purpose maps to CWE-434, Unrestricted Upload of File with Dangerous Type. The underlying insecure pattern is allowing external input to create or replace files without enforcing a narrowly defined type, destination, and lifecycle.

Potential impact

  • Attackers may overwrite or create files in writable gateway locations.
  • The vulnerability could enable persistence or unauthorized configuration changes.
  • Uploaded content may be executed or interpreted if written to a sensitive location.
  • The gateway may experience service disruption or degraded availability.
  • Compromise could extend to connected systems if the gateway has trusted network access.

General mitigation guidance

Mitigation generally focuses on narrowing the upload feature to its intended

purpose and reducing the trust placed in uploaded content.

Common defensive patterns include:

  • Allowing only explicitly required file types, formats, and upload operations.
  • Validating content by structure and schema rather than relying only on filenames or extensions.
  • Restricting writes to dedicated, non-executable directories with controlled ownership.
  • Preventing uploads from overwriting system, configuration, script, or web-served files.
  • Applying least privilege to the gateway process and administrative accounts.
  • Using isolated temporary storage and moving only validated content into its final location.
  • Requiring strong authentication and limiting administrative interfaces to trusted networks.
  • Monitoring and protecting hardcoded destination paths through filesystem permissions and integrity controls.

How teams detect issues like this

Organizations can assess this class of issue through:

  • Static analysis for upload handlers that write request bodies directly to filesystem paths.
  • Code review checks for missing content validation, extension-only validation, or unrestricted destination handling.
  • Tests confirming that uploads cannot target executable, configuration, or security-sensitive locations.
  • Web and gateway logs identifying unusual upload requests, unexpected file names, or repeated administrative uploads.
  • File-integrity monitoring for changes in CGI, configuration, startup, and other privileged directories.
  • Policy enforcement requiring dedicated non-executable upload storage and least-privilege filesystem access.

Automated security review tools may help identify dangerous upload sinks and insufficient validation patterns.

Sources

SourceLink
en.mbs-solutions.deen.mbs-solutions.de/mbs
en.mbs-solutions.deen.mbs-solutions.de/xserie
github.comgithub.com/SilviaMun/vulnerability-research/tree/main/CVE-2026-75169

Frequently asked

questions

Yes, when the CGI endpoint is remotely reachable and the attacker has valid

credentials for an account with the Admin role.

The described issue requires authenticated administrative access. Credential

theft, reuse, or exposure of an administrative interface could make that

prerequisite easier to satisfy.

Constrain uploads to the narrowest required formats and destinations, validate

content structurally, use non-executable storage, and prevent overwrites of

sensitive files.

Apply least privilege, isolate upload directories, enforce strong administrative

access controls, review upload code for filesystem sinks, and monitor sensitive

paths for unexpected changes.

Find out what's already
exploitable in your codebase.