CWE-270: Privilege Context Switching Error, published in 2025
Filter
The product does not properly manage privileges while it is switching between different contexts that have different privileges or spheres of control.
What the weakness is: CWE-270 at MITRE. All weaknesses
Related attack patterns (CAPEC): 3
- CAPEC-17 Using Malicious Files Likelihood: High · Severity: Very High
- CAPEC-30 Hijacking a Privileged Thread of Execution Likelihood: Low · Severity: Very High
- CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
The attack patterns MITRE's CAPEC relates to CWE-270, as MITRE names them. Credits.
Ask an AI about CWE-270
Show the prompt
Explain CWE-270: Privilege Context Switching Error and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/270.html and https://cve.bz/cve/cwe/270?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.8CVE-2025-60721microsoftEPSS 0.4%
Privilege context switching error in Windows Administrator Protection allows an authorized attacker to elevate privileges locally.
- 8.1CVE-2025-9408EPSS 0.2%
System call entry on Cortex M (and possibly R and A, but I think not) has a race which allows very practical privilege escalation for malicious userspace processes.
- 6.0CVE-2025-26499wind river studio developerEPSS 0.2%
Under heavy system utilization a random race condition can occur during authentication or token refresh operation. This flaw allows one user to be granted a token intended for another user, resulting in impersonation until the session is e…
- 5.6CVE-2025-46406gallagher command centre serverEPSS 0.2%
A Privilege Context Switching Error (CWE-270) in the Command Center Server could allow a privileged Operator with high level access in one Division to perform limited privileged activities across the Division boundary. This issue affects …
- 5.1CVE-2025-49583xwikiEPSS 0.7%
XWiki is a generic wiki platform. When a user without script right creates a document with an `XWiki.Notifications.Code.NotificationEmailRendererClass` object, and later an admin edits and saves that document, the email templates in this o…
- 8.7CVE-2025-49581xwikiEPSS 2.2%
XWiki is a generic wiki platform. Any user with edit right on a page (could be the user's profile) can execute code (Groovy, Python, Velocity) with programming right by defining a wiki macro. This allows full access to the whole XWiki inst…
- 7.9CVE-2024-46975imagination technologies graphics ddkEPSS 0.2%
Kernel software installed and running inside a Guest VM may exploit memory shared with the GPU Firmware to write data into another Guest's virtualised GPU memory.