CVE-2026-134635: Webmin through 2.670 OS Command Injection via ldap-client/check.cgi
Webmin through 2.670 contains an OS command injection vulnerability in ldap-client/check.cgi that allows LDAP directory writers to execute commands via unquoted uid values. Attackers can create a posixAccount entry with shell metacharacters in its uid, executing commands as root when an administrator runs Check Configuration.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
An attacker needs permission to create or modify LDAP directory entries as a writer, specifically to create a posixAccount entry with a malicious uid value. Exploitation also requires an administrator to run Check Configuration.
Does exploitation require direct access to the Webmin host?
No direct host access is described. The attacker supplies shell metacharacters through the uid field of a LDAP posixAccount entry, and the command executes when the administrator-triggered configuration check processes that entry.
What privileges would successful exploitation obtain?
The injected command executes as root. This can affect confidentiality, integrity, and availability of the Webmin host.
How can I assess whether I may be affected?
Review whether Webmin is version 2.670 or earlier and whether the LDAP client module is used. Check LDAP for posixAccount entries whose uid values contain shell metacharacters, and determine whether administrators have run Check Configuration while those entries were present.