RUSTSEC-2026-0591
Ineffective default DACL on Windows
Mitigation
- Upgrade secmem-proc to 0.3.9 or later.
Who should check
- Projects that depend on crates.io package secmem-proc (>= 0.0.0-0, < 0.3.9)
Vulnerability facts
- Affected
- secmem-proc >= 0.0.0-0, < 0.3.9
- Fixed in
- 0.3.9
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- Modified
Description
On Windows, affected versions of this crate do not provide the intended security-enhancement. In particular, any process running under the same user as the hardened process can reset our DACL, and thus bypass the protection the DACL should have provided. Usage of the crate however *does not actively harm security*. On affected version, an explicit owner SID (taken from the process token) was used for the DACL. However, Windows implicitly grants extra access rights to the well-known "owner rights" SID, unless it occurs in the DACL, which it did not. This allows any process under the same user to reset the DACL of our process, making this defence effectively useless. The new code uses the well-known "owner rights" SID, preventing the attack. The default hardening setup is fixed in version `0.3.9`. Users creating a custom DACL with the API from the `win_acl` module need to manually update their code to get the security enhancement. They are strongly advised to use a well-known "owner rights" SID created using the new `win_acl::SidRef::well_known` (introduced in version `0.3.9`) in their DACL instead of the owner SID returned by `win_acl::TokenUser::sid`.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| crates.io secmem-proc | >= 0.0.0-0, < 0.3.9 | 0.3.9 | osv |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by RUSTSEC-2026-0591. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/RUSTSEC-2026-0591.md Affected: secmem-proc >= 0.0.0-0, < 0.3.9 Fixed in: 0.3.9 Steps: 1. Search this machine and project for secmem-proc (crates.io): dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is RUSTSEC-2026-0591 being exploited?
There is no confirmed exploitation: RUSTSEC-2026-0591 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.
How serious is RUSTSEC-2026-0591?
It has no CVSS score yet. Unknown.
Which versions are affected by RUSTSEC-2026-0591?
secmem-proc >= 0.0.0-0, < 0.3.9.
Is there a fix for RUSTSEC-2026-0591?
Yes. Fixed in 0.3.9. Upgrade secmem-proc to 0.3.9 or later.
How do I check if I'm affected by RUSTSEC-2026-0591?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.