CWE-270: Privilege Context Switching Error
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
- 8.1CVE-2026-132264significant-gravitasEPSS 0.7%
AutoGPT is a workflow automation platform for creating, deploying, and managing continuous artificial intelligence agents. In versions 0.6.63 through 0.10.0, an external API key or OAuth token that has only the EXECUTE_BLOCK permission can…
- 8.5CVE-2026-128796acer connect m6e 5g portable wifi routerEPSS 0.2%
System service 'antaiuiserver' exposes transaction 14 (sendMyATCmd) & 4, allowing ANY app on device to send arbitrary AT commands to modem without permissions (no READ_PHONE_STATE, SEND_SMS). Enables reading IMEI, IMSI, ICCID, and managing…
- 8.8CVE-2026-88200microsoft sharepoint serverEPSS 0.8%
Privilege context switching error in Microsoft Office SharePoint allows an authorized attacker to elevate privileges over a network.
- 9.4CVE-2026-9560openvpn connectEPSS 0.4%
Privilege escalation via background service of OpenVPN Connect 3.5.1 through 3.8.1 on macOS allows attackers to execute arbitrary commands with elevated privileges via local IPC channel
- 7.5CVE-2026-34853huaweiEPSS 0.2%
Permission bypass vulnerability in the LBS module. Impact: Successful exploitation of this vulnerability may affect availability.
- 2.0CVE-2025-55210sangoma freepbxEPSS 0.6%
FreePBX is an open-source web-based graphical user interface (GUI) that manages Asterisk. Prior to 17.0.5 and 16.0.17, FreePBX module api (PBX API) is vulnerable to privilege escalation by authenticated users with REST/GraphQL API access. …
- 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.
- 6.7CVE-2024-12570gitlabEPSS 0.6%
An issue has been discovered in GitLab CE/EE affecting all versions starting from 13.7 prior to 17.4.6, from 17.5 prior to 17.5.4, and from 17.6 prior to 17.6.2. It may have been possible for an attacker with a victim's `CI_JOB_TOKEN` to o…
- 8.4CVE-2024-11263zephyrproject zephyrEPSS 0.3%
When the Global Pointer (GP) relative addressing is enabled (CONFIG_RISCV_GP=y), the gp reg points at 0x800 bytes past the start of the .sdata section which is then used by the linker to relax accesses to global symbols.
- 8.8CVE-2024-36513fortinet forticlientEPSS 0.2%
A privilege context switching error vulnerability [CWE-270] in FortiClient Windows version 7.2.4 and below, version 7.0.12 and below, 6.4 all versions may allow an authenticated user to escalate their privileges via lua auto patch scripts.
- 5.4CVE-2024-51987duendesoftware duende.accesstokenmanagementEPSS 0.4%
Duende.AccessTokenManagement.OpenIdConnect is a set of .NET libraries that manage OAuth and OpenId Connect access tokens. HTTP Clients created by `AddUserAccessTokenHttpClient` may use a different user's access token after a token refresh …
- 5.5CVE-2024-47173aimeos ai-admin-graphqlEPSS 0.7%
Aimeos is an e-commerce framework. All SaaS and marketplace setups using the Aimeos GraphQL API admin interface version from 2024.04 up to 2024.07.1 are affected by a potential denial of service attack. Version 2024.07.2 fixes the issue.
- 8.8CVE-2024-8641gitlabEPSS 1.0%
An issue has been discovered in GitLab CE/EE affecting all versions starting from 13.7 prior to 17.1.7, from 17.2 prior to 17.2.5, and from 17.3 prior to 17.3.2. It may have been possible for an attacker with a victim's CI_JOB_TOKEN to obt…
- 5.5CVE-2024-37294aimeos aimeos-coreEPSS 0.6%
Aimeos is an Open Source e-commerce framework for online shops. All SaaS and marketplace setups using Aimeos version from 2022/2023/2024 are affected by a potential denial of service attack. Users should upgrade to versions 2022.10.17, 202…
- 8.8CVE-2023-37912xwiki xwiki-renderingEPSS 3.0%
XWiki Rendering is a generic Rendering system that converts textual input in a given syntax into another syntax. Prior to version 14.10.6 of `org.xwiki.platform:xwiki-core-rendering-macro-footnotes` and `org.xwiki.platform:xwiki-rendering-…
- 9.8CVE-2023-25754apache airflowEPSS 2.4%
Privilege Context Switching Error vulnerability in Apache Software Foundation Apache Airflow.This issue affects Apache Airflow: before 2.6.0.
- 8.8CVE-2023-26475xwikiEPSS 1.9%
XWiki Platform is a generic wiki platform. Starting in version 2.3-milestone-1, the annotation displayer does not execute the content in a restricted context. This allows executing anything with the right of the author of any document by a…
- 5.4CVE-2020-1719redhat wildflyEPSS 0.6%
A flaw was found in wildfly. The EJBContext principle is not popped back after invoking another EJB using a different Security Domain. The highest threat from this vulnerability is to data confidentiality and integrity. Versions before wil…
- 7.8CVE-2021-3493canonical ubuntu linuxKEVExploitEPSS 49%
The overlayfs implementation in the linux kernel did not properly validate with respect to user namespaces the setting of file capabilities on files in an underlying file system. Due to the combination of unprivileged user namespaces along…
- 3.1CVE-2020-7020elastic elasticsearchEPSS 1.1%
Elasticsearch versions before 6.8.13 and 7.9.2 contain a document disclosure flaw when Document or Field Level Security is used. Search queries do not properly preserve security permissions when executing certain complex queries. This coul…
- 6.5CVE-2020-7019elastic elasticsearchEPSS 1.4%
In Elasticsearch before 7.9.0 and 6.8.12 a field disclosure flaw was found when running a scrolling search with Field Level Security. If a user runs the same query another more privileged user recently ran, the scrolling search can leak fi…
- 8.8CVE-2019-14819redhat openshift container platformEPSS 1.1%
A flaw was found during the upgrade of an existing OpenShift Container Platform 3.x cluster. Using CRI-O, the dockergc service account is assigned to the current namespace of the user performing the upgrade. This flaw can allow an unprivil…
- 7.8CVE-2017-2663redhat subscription-managerEPSS 0.4%
It was found that subscription-manager's DBus interface before 1.19.4 let unprivileged user access the com.redhat.RHSM1.Facts.GetFacts and com.redhat.RHSM1.Config.Set methods. An unprivileged local attacker could use these methods to gain …