CWE-271: Privilege Dropping / Lowering Errors, published in 2025
Filter
The product does not drop privileges before passing control of a resource to an actor that does not have those privileges.
What the weakness is: CWE-271 at MITRE. All weaknesses
Ask an AI about CWE-271
Show the prompt
Explain CWE-271: Privilege Dropping / Lowering Errors and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/271.html and https://cve.bz/cve/cwe/271?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.
By year: all 2026 2025 2024 2023 2022 2021
- 7.9CVE-2025-53819nixos nixEPSS 0.2%
Nix is a package manager for Linux and other Unix systems. Builds with Nix 2.30.0 on macOS were executed with elevated privileges (root), instead of the build users. The fix was applied to Nix 2.30.1. No known workarounds are available.
- 7.3CVE-2025-23395EPSS 0.2%
Screen 5.0.0 when it runs with setuid-root privileges does not drop privileges while operating on a user supplied path. This allows unprivileged users to create files in arbitrary locations with `root` ownership, the invoking user's (real)…