CWE•Base•Incomplete•20 recent CVEs
CWE-829Inclusion of Functionality from Untrusted Control Sphere
Description
The product imports, requires, or includes executable functionality (such as a library) from a source that is outside of the intended control sphere.
Common consequences
- Confidentiality,Integrity,Availability→Execute Unauthorized Code or CommandsAn attacker could insert malicious functionality into the program by causing the program to download code that the attacker has placed into the untrusted control sphere, such as a malicious web site. This could enable the injection of malwa
Potential mitigations
- Architecture and DesignUse a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid [REF-1482].
- Architecture and Design[object Object]
- Architecture and DesignFor any security checks that are performed on the client side, ensure that these checks are duplicated on the server side, in order to avoid CWE-602. Attackers can bypass the client-side checks by modifying values after the checks have been performed, or by changing the client to remove the client-side checks entirely. Then, these modified values would be submitted to the server.
- Architecture and Design,Operation[object Object]
- Architecture and Design,OperationRun your code using the lowest privileges that are required to accomplish the necessary tasks [REF-76]. If possible, create isolated accounts with limited privileges that are only used for a single task. That way, a successful attack will not immediately give the attacker access to the rest of the software or its environment. For example, database applications rarely need to run as the database ad
- Implementation[object Object]
- Architecture and Design,Operation[object Object]
- Architecture and Design,Implementation[object Object]
- OperationUse an application firewall that can detect attacks against this weakness. It can be beneficial in cases in which the code cannot be fixed (because it is controlled by a third party), as an emergency prevention measure while more comprehensive software assurance measures are applied, or to provide defense in depth [REF-1481].
Related CWEs
Recent CVEs classified under this CWE
CVE-2026-112697.12026-06-05CVE-2026-88797.52026-06-03CVE-2026-52419.62026-06-03CVE-2022-490427.82026-06-03CVE-2022-490367.82026-06-03CVE-2026-443588.22026-05-28CVE-2026-58438.22026-05-22CVE-2026-58178.22026-05-22CVE-2026-84288.82026-05-21CVE-2026-84268.82026-05-21CVE-2026-73732026-05-15CVE-2026-443125.82026-05-14CVE-2026-449957.32026-05-11CVE-2026-451846.52026-05-09CVE-2026-443369.62026-05-08CVE-2026-439449.62026-05-08CVE-2026-439408.42026-05-08CVE-2026-435718.82026-05-05CVE-2026-435698.82026-05-05CVE-2026-430038.02026-05-01