CWE-271: Privilege Dropping / Lowering Errors, published in 2026
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
- –CVE-2026-124298EPSS 0.3%
Net::Server versions through 2.018 for Perl keep root's group privileges after the privilege drop when user is set without group. When group is not set, post_bind defaults it to the current group list. In a server started as root that lis…
- 6.3CVE-2026-127152canonical lxdEPSS 0.2%
Improper privilege management during container rebuild in Canonical LXD before 5.21.10, 6.10.2 allows a local user with container permissions to gain root privileges on the host via rebuilding a never-started unprivileged container so it s…
- 9.4CVE-2026-44477linuxfoundation cloudnativepgEPSS 0.5%
CloudNativePG is a platform designed to manage PostgreSQL databases within Kubernetes environments. Prior to 1.29.1 and 1.28.3, the CloudNativePG metrics exporter opens its PostgreSQL connection as the postgres superuser via the pod-local …
- 7.8CVE-2026-35535EPSS 0.2%
In Sudo through 1.9.17p2 before 3e474c2, a failure of a setuid, setgid, or setgroups call, during a privilege drop before running the mailer, is not a fatal error and can lead to privilege escalation.
- 5.8CVE-2026-25704EPSS 0.1%
A Privilege Dropping / Lowering Errors/Time-of-check Time-of-use (TOCTOU) Race Condition vulnerability in cosmic-greeter can allow an attacker to regain privileges that should have been dropped and abuse them in the racy checking logic. …