Home / trifectatechfoundation / sudo-rs / CVE-2025-64517
CVE-2025-64517: is it exploited, and which versions of trifectatechfoundation sudo-rs are affected and fixed?
CVE-2025-64517 is an authentication bypass (improper authentication) vulnerability in trifectatechfoundation sudo-rs. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:08 UTC). Affected: sudo-rs from 0.2.5 before 0.2.10 (GitHub advisory GHSA-q428-6v73-fc4q). Fixed in 0.2.10 (GitHub advisory GHSA-q428-6v73-fc4q). Severity: Medium (4.4, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:08 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:15 UTC.
What is CVE-2025-64517?
sudo-rs doesn't record authenticating user properly in timestamp
sudo-rs is a memory safe implementation of sudo and su written in Rust. With `Defaults targetpw` (or `Defaults rootpw`) enabled, the password of the target account (or root account) instead of the invoking user is used for authentication. sudo-rs starting in version 0.2.5 and prior to version 0.2.10 incorrectly recorded the invoking user’s UID instead of the authenticated-as user's UID in the authentication timestamp. Any later `sudo` invocation on the same terminal while the timestamp was still valid would use that timestamp, potentially bypassing new authentication even if the policy would have required it. A highly-privileged user (able to run commands as other users, or as root, through sudo) who knows one password of an account they are allowed to run commands as, would be able to run commands as any other account the policy permits them to run commands for, even if they don't know the password for those accounts. A common instance of this would be that a user can still use their own password to run commands as root (the default behaviour of `sudo`), effectively negating the intended behaviour of the `targetpw` or `rootpw` options. Version 0.2.10 contains a patch for the issue. Versions prior to 0.2.5 are not affected, since they do not offer `Defaults targetpw` or `Defaults rootpw`.
From the CVE record by GitHub_M, last updated February 12, 2026, 15:49 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| trifectatechfoundation | sudo-rs | >= 0.2.5, < 0.2.10 |
As the CVE record by GitHub_M states it, last updated February 12, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| crates.io | sudo-rs | >= 0.2.5, < 0.2.10 | 0.2.10 | GHSA-q428-6v73-fc4q |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated November 13, 2025. Summary: sudo-rs doesn't record authenticating user properly in timestamp.
How severe is CVE-2025-64517?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.4 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-64517 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, November 13, 2025)
- EPSS
- 0.18% probability of exploitation activity in the next 30 days, percentile 7.5 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-287 Improper Authentication
Where are the vendor advisories and references?
- https://github.com/trifectatechfoundation/sudo-rs/security/advisories/GHSA-q428-6v73-fc4q x_refsource_CONFIRM
- https://github.com/trifectatechfoundation/sudo-rs/commit/8423fd986c3fa58b357f238c0db5e54baca5255d. x_refsource_MISC
- https://github.com/trifectatechfoundation/sudo-rs/releases/tag/v0.2.10 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- November 5, 2025
- Published
- November 12, 2025, 22:08 UTC
- CVE record updated
- February 12, 2026, 15:49 UTC by GitHub_M
- NVD
- Deferred, last modified October 18, 2026, 20:10 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:15 UTC; KEV December 3, 2026, 11:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect sudo-rs?
- Nov 12, 2025CVE-2025-64170 trifectatechfoundation sudo-rs: missing Password Field Masking
- May 12, 2025CVE-2025-46718 trifectatechfoundation sudo-rs: system information exposed
- May 12, 2025CVE-2025-46717 trifectatechfoundation sudo-rs: system information exposed
Questions about CVE-2025-64517
Is CVE-2025-64517 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:08 UTC. FIRST's EPSS gives it a 0.18% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of trifectatechfoundation sudo-rs are affected by CVE-2025-64517?
sudo-rs from 0.2.5 before 0.2.10, per the GitHub advisory GHSA-q428-6v73-fc4q. The tables above give every range the sources list.
Which version fixes CVE-2025-64517?
0.2.10, per the GitHub advisory GHSA-q428-6v73-fc4q. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-64517?
Medium (4.4, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2025-64517?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.