CVE-2026-137715 in Webmininfo

Summary

by MITRE • 11/27/2026

Webmin through 2.670 before 07d1949 does not escape a save_log.cgi log file path. This is relevant for code execution if a shared-hosting provider offers Webalizer module access.

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Analysis

by VulDB Data Team • 11/27/2026

The vulnerability identified in Webmin versions prior to commit 07d1949, specifically affecting releases up through version 2.670, centers on an improper neutralization of special elements within input data known as a path traversal or unescaped file path issue. The flaw resides within the save_log.cgi component, which is responsible for handling log file operations in Webmin's web-based administration interface. When administrators configure logging settings through this module, the system fails to properly sanitize or escape characters that could alter the intended destination of the written data. This lack of input validation allows an attacker who has access to the configuration interface to manipulate the file path parameter, potentially directing write operations to arbitrary locations on the server's filesystem rather than the designated log directory.

This technical flaw is particularly dangerous in shared-hosting environments where Webmin provides access to modules like Webalizer for analyzing web traffic logs. In such multi-tenant setups, multiple users or administrators may have varying levels of privilege within the same instance of Webmin. If an attacker gains control over a lower-privileged account that has permission to use the log saving functionality, they can exploit this path traversal weakness to write files outside the intended scope. By injecting specific sequences into the file name field, such as directory traversal characters or null bytes depending on the underlying operating system and Perl interpreter version, the attacker can force the server to create a new file in a sensitive location, such as a web-accessible directory or a script execution path.

The operational impact of this vulnerability is severe because it directly facilitates remote code execution under specific conditions. If an attacker successfully writes a malicious script into a directory that is both writable by the Webmin process and executable or interpretable by the web server, they can achieve arbitrary command execution on the host system. For instance, writing a Perl or CGI script to a public-facing directory allows the attacker to trigger its execution via HTTP requests. This effectively bypasses authentication controls if the target file resides in a publicly accessible area, granting the attacker full control over the underlying operating system. Even without immediate web access, placing malicious files in other critical directories can lead to privilege escalation or persistence mechanisms that compromise the integrity of the entire hosting environment.

From a classification perspective, this vulnerability aligns with CWE-434, which describes the unrestricted upload of file with dangerous type, and CWE-22, known as improper limitation of a pathname to a restricted directory. The exploitation technique maps closely to MITRE ATT&CK techniques involving command and script interpretation or unauthorized access to resources via misconfigured permissions. These standards highlight that the root cause is not merely a coding error but a failure in enforcing strict boundaries on user-supplied input, allowing it to influence system behavior beyond its intended context.

Mitigation strategies must focus primarily on updating Webmin to version 07d1949 or later, where this path escaping issue has been resolved by the developers through improved input sanitization and validation logic. For organizations unable to patch immediately due to compatibility constraints, temporary mitigations include restricting access to the save_log.cgi endpoint via firewall rules or reverse proxy configurations that limit source IPs to trusted administrators only. Additionally, ensuring that Webmin is not exposed directly to untrusted networks reduces the attack surface significantly. In shared-hosting scenarios, it is crucial to enforce strict separation of privileges and ensure that log directories are configured with restrictive permissions that prevent writing executable scripts by non-root users. Regular auditing of file system changes in web-accessible directories can also help detect attempts at exploitation before they result in full compromise.

Responsible

MITRE

Reservation

11/27/2026

Disclosure

11/27/2026

Moderation

accepted

CPE

ready

EPSS

0.00511

KEV

no

Activities

low

Sources

Want to stay up to date on a daily basis?

Enable the mail alert feature now!