CWEweakness
CWE-272 Least Privilege Violation
- Abstraction
- Base
- Structure
- Simple
- Status
- Incomplete
- Languages
- Not Language-Specific
- CWE version
- 5.0
Description
The elevated privilege level required to perform operations such as chroot() should be dropped immediately after the operation is performed.
Common consequences
• Access Control, Confidentiality: Gain Privileges or Assume Identity, Read Application Data, Read Files or Directories — An attacker may be able to access resources with the elevated privilege that could not be accessed with the attacker's original privileges. This is particularly likely in conjunction with another flaw, such as a buffer overflow.
Potential mitigations
• [Architecture and Design, Operation] Very carefully manage the setting, management, and handling of privileges. Explicitly manage trust zones in the software.
• [Architecture and Design] Follow the principle of least privilege when assigning access rights to entities in a software system.
• [Architecture and Design] Compartmentalize the system to have "safe" areas where trust boundaries can be unambiguously drawn. Do not allow sensitive data to go outside of the trust boundary and always be careful when interfacing with a compartment outside of the safe area.
Ensure that appropriate compartmentalization is built into the system design, and the compartmentalization allows for and reinforces privilege separation functionality. Architects and designers should rely on the principle of least privilege to decide the appropriate time to use privileges and the time to drop privileges.
Detection methods
• Automated Static Analysis - Binary or Bytecode: According to SOAR [REF-1479], the following detection techniques may be useful:
Cost effective for partial coverage:
• Compare binary / bytecode to application permission manifest
• Dynamic Analysis with Automated Results Interpretation: According to SOAR [REF-1479], the following detection techniques may be useful:
Cost effective for partial coverage:
• Host-based Vulnerability Scanners - Examine configuration for flaws, verifying that audit mechanisms work, ensure host configuration meets certain predefined criteria
• Manual Static Analysis - Source Code: According to SOAR [REF-1479], the following detection techniques may be useful:
Highly cost effective:
• Manual Source Code Review (not inspections)
Cost effective for partial coverage:
• Focused Manual Spotcheck - Focused manual analysis of source
• Automated Static Analysis - Source Code: According to SOAR [REF-1479], the following detection techniques may be useful:
Cost effective for partial coverage:
• Source code Weakness Analyzer
• Context-configured Source Code Weakness Analyzer
• Automated Static Analysis: According to SOAR [REF-1479], the following detection techniques may be useful:
Cost effective for partial coverage:
• Permission Manifest Analysis
• Architecture or Design Review: According to SOAR [REF-1479], the following detection techniques may be useful:
Highly cost effective:
• Inspection (IEEE 1028 standard) (can apply to requirements, design, source code, etc.)
• Formal Methods / Correct-By-Construction
Cost effective for partial coverage:
• Attack Modeling
Related
Attack pattern · CAPEC (3)
Child of · CWE (1)
- CWE-271 Privilege Dropping / Lowering Errors weakness
Referenced by CAPEC · weakness (3)
Referenced by CVE · weakness (44)
- CVE-2026-81452 Dell Alienware Command Center (AWCC), versions prior to 6.14.54.0, contain a Least Privilege Violation vulnerability. vulnerability
- CVE-2026-103504 Changing an organization team's permission through the API with only the `permission` field did not rebuild the team's per-unit access, and… vulnerability
- CVE-2026-106589 In sshd in OpenSSH through 10.6, in certain environments such as QNX 6 and SCO OpenServer 5, sshd-session can unexpectedly have root… vulnerability
- CVE-2026-55226 Strimzi provides a way to run an Apache Kafka cluster on Kubernetes or OpenShift in various deployment configurations. vulnerability
- CVE-2026-79693 Dell SCG 5.0 Appliance versions prior to 5.36.00.16 and Dell SCG 5.0 Application versions prior to 5.36.00.00, contains a Least Privilege… vulnerability
- CVE-2026-79944 Dell SCG 5.0 Appliance versions prior to 5.36.00.16 and Dell SCG 5.0 Application versions prior to 5.36.00.00, contains a Least Privilege… vulnerability
- CVE-2025-62299 HCL IntelliOps Event Management (IEM) is affected by a least privileges violation which could allow an attacker to access the resource with… vulnerability
- CVE-2026-49500 Dell Alienware Command Center (AWCC), versions prior to 6.14.20.0, contain an Improper Link Resolution Before File Access ('Link… vulnerability
- CVE-2026-59915 Dell Alienware Command Center (AWCC), versions prior to 6.14.20.0, contain a Least Privilege Violation vulnerability. vulnerability
- CVE-2026-15270 A weakness has been identified in D-link DIR-823G 1.0.2B05_20181207. vulnerability
- CVE-2026-15271 A security vulnerability has been detected in TOTOLINK A3000RU, A3100R, A950RG, AC1200T10, CP450, CS185R_T10 and EX200 up to 20260906. vulnerability
- CVE-2026-11620 A security flaw has been discovered in TOTOLINK EX200 4.0.3c.7646. vulnerability
- CVE-2026-11492 A security flaw has been discovered in D-Link DIR-823G 1.0.2B05. vulnerability
- CVE-2026-11494 A security vulnerability has been detected in TOTOLINK AC1200 T8 4.1.5cu.8611. vulnerability
- CVE-2026-11497 A vulnerability has been found in D-Link DCS-5615 1.01.00. vulnerability
- CVE-2026-11554 A vulnerability was determined in TOTOLINK CP450 4.1.0cu.747. vulnerability
- CVE-2026-11555 A vulnerability was identified in D-Link DGS-1100-08PD 1.00.006. vulnerability
- CVE-2026-39459 A vulnerability exists in iControl REST and the TMOS Shell (tmsh) where a highly privileged, authenticated attacker with at least the… vulnerability
- CVE-2026-32655 Dell Alienware Command Center (AWCC), versions prior to 6.13.8.0, contain a Least Privilege Violation vulnerability. vulnerability
- CVE-2026-35535 In Sudo through 1.9.17p2 before 3e474c2, a failure of a setuid, setgid, or setgroups call, during a privilege drop before running the… vulnerability
- CVE-2025-9711 A vulnerability in Brocade Fabric OS before 9.2.1c3 could allow elevating the privileges of the local authenticated user to “root” using… vulnerability
- CVE-2025-59106 The binary serving the web server and executing basically all actions launched from the Web UI is running with root privileges. vulnerability
- CVE-2026-23634 Pepr is a type safe K8s middleware. vulnerability
- CVE-2025-68267 In JetBrains TeamCity before 2025.11.1 excessive privileges were possible due to storing GitHub personal access token instead of an… vulnerability
- CVE-2025-8757 A vulnerability was found in TRENDnet TV-IP110WN 1.2.2 and classified as problematic. vulnerability
- CVE-2025-8758 A vulnerability was found in TRENDnet TEW-822DRE FW103B02. vulnerability
- CVE-2025-8181 A vulnerability, which was classified as critical, was found in TOTOLINK N600R and X2000R 1.0.0.1. vulnerability
- CVE-2025-7722 The Social Streams plugin for WordPress is vulnerable to privilege escalation in all versions up to, and including, 1.0.1. vulnerability
- CVE-2025-1384 Least Privilege Violation (CWE-272) Vulnerability exists in the communication function between the NJ/NX-series Machine Automation… vulnerability
- CVE-2025-49144 Notepad++ is a free and open-source source code editor. vulnerability
Referenced by OWASP · mapped cwe (1)
- CS-Authorization Authorization Cheat Sheet Cheat Sheet