Rust sudo rs: With Defaults targetpw (or Defaults rootpw) enabled, the password of the target account (or root
Affects rust-sudo-rsSource GCVE Database
Not known to be exploited · CVSS 4.4 Medium : upgrade to 0.2.8-1ubuntu5.2 when convenient.
Data as of 13 Nov 2026, 20:32 UTC
- Patch
- Available – fixed in 0.2.8-1ubuntu5.2
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 12 Nov 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 13 Nov 2026.
What to do
Upgrade the Ubuntu rust-sudo-rs package to 0.2.8-1ubuntu5.2.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 25.10rust-sudo-rspkg:deb/ubuntu/rust-sudo-rs?arch=source&distro=questingOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Update sudo-rs to version 0.2.8-1ubuntu5.2 or later, which contains the official fix for this vulnerability. A standard system update on affected Ubuntu releases will apply the necessary patch. No other mitigation is required as the issue is resolved in the fixed version.
Description
A vulnerability in sudo-rs versions prior to 0.2.8-1ubuntu5.2 allows bypassing authentication when the Defaults targetpw or rootpw options are enabled. The issue arises because sudo-rs incorrectly records the invoking user's UID instead of the authenticated user's UID in the authentication timestamp, enabling a privileged user to run commands as other permitted accounts without knowing their passwords. This flaw is patched in version 0.2.8-1ubuntu5.2.