cve.bz

CWE-270: Privilege Context Switching Error, published in 2022

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 promptExplain 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

No records match.