BaseIncomplete

CWE-829Inclusion of Functionality from Untrusted Control Sphere

Category: other

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· 1

  • Confidentiality / Integrity / Availability — Execute Unauthorized Code or Commands
    An 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 malware, information exposure by granting excessive privileges or permissions to the untrusted functionality, DOM-based XSS vulnerabilities, stealing user's cookies, open redirect to malware (CWE-601), etc.

Potential mitigations· 5

  • [Architecture and Design]Use 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]
  • [Architecture and Design]For 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]
  • [Architecture and Design, Operation]Run 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 administrator, especially in day-to-day operations.

Related CAPEC attack patterns· 13

CAPEC-175CAPEC-201CAPEC-228CAPEC-251CAPEC-252CAPEC-253CAPEC-263CAPEC-538CAPEC-549CAPEC-640CAPEC-660CAPEC-695CAPEC-698

References

  1. https://cwe.mitre.org/data/definitions/829.html

Exploits (incoming)13

TypeTargetConfidenceTier
AttackPatternSerialized Data External Linkingcapec-201100%live
AttackPatternRoot/Jailbreak Detection Evasion via Hookingcapec-660100%live
AttackPatternInclusion of Code in Existing Processcapec-640100%live
AttackPatternLocal Execution of Codecapec-549100%live
AttackPatternCode Inclusioncapec-175100%live
AttackPatternInstall Malicious Extensioncapec-698100%live
AttackPatternDTD Injectioncapec-228100%live
AttackPatternLocal Code Inclusioncapec-251100%live
AttackPatternForce Use of Corrupted Filescapec-263100%live
AttackPatternRepo Jackingcapec-695100%live
AttackPatternPHP Local File Inclusioncapec-252100%live
AttackPatternRemote Code Inclusioncapec-253100%live
AttackPatternOpen-Source Library Manipulationcapec-538100%live

Compliance frameworks addressing this (incoming)1

TypeTargetConfidenceTier
ComplianceControlowasp_llm_top10-llm03100%live

(incoming)47

TypeTargetConfidenceTier
VulnerabilityCVE-2025-0982cve-2025-09820%live
VulnerabilityCVE-2025-11023cve-2025-110230%live
VulnerabilityCVE-2025-12509cve-2025-125090%live
VulnerabilityCVE-2025-15612cve-2025-156120%live
VulnerabilityCVE-2025-20236cve-2025-202360%live
VulnerabilityCVE-2025-27607cve-2025-276070%live
VulnerabilityCVE-2025-27668cve-2025-276680%live
VulnerabilitySudo Inclusion of Functionality from Untrusted Control Sphere Vulnerabilitycve-2025-324630%live
VulnerabilityCVE-2025-36355cve-2025-363550%live
VulnerabilityCVE-2025-36727cve-2025-367270%live
VulnerabilityCVE-2025-39507cve-2025-395070%live
VulnerabilityCVE-2025-53546cve-2025-535460%live
VulnerabilityCVE-2025-54135cve-2025-541350%live
VulnerabilityCVE-2025-59828cve-2025-598280%live
VulnerabilityCVE-2025-61592cve-2025-615920%live
VulnerabilityCVE-2025-62726cve-2025-627260%live
VulnerabilityCVE-2025-64496cve-2025-644960%live
VulnerabilityCVE-2025-65964cve-2025-659640%live
VulnerabilityCVE-2025-66022cve-2025-660220%live
VulnerabilityCVE-2025-67900cve-2025-679000%live
VulnerabilityCVE-2025-70046cve-2025-700460%live
VulnerabilityCVE-2025-70974cve-2025-709740%live
VulnerabilityCVE-2025-8714cve-2025-87140%live
VulnerabilityCVE-2026-0770cve-2026-07700%live
VulnerabilityCVE-2026-1699cve-2026-16990%live
VulnerabilityCVE-2026-22208cve-2026-222080%live
VulnerabilityCVE-2026-26862cve-2026-268620%live
VulnerabilityCVE-2026-26974cve-2026-269740%live
VulnerabilityCVE-2026-27941cve-2026-279410%live
VulnerabilityCVE-2026-28135cve-2026-281350%live

Showing top 30 of 47 by confidence. Click any target to see the full neighbourhood.

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CWE
Use of Prohibited Code
CWE
Dependency on Vulnerable Third-Party Component
CWE
Exposure of Resource to Wrong Sphere
CWE
Use of Low-Level Functionality
CWE
Reliance on Insufficiently Trustworthy Component
CWE
Externally Controlled Reference to a Resource in Another Sphere
Sourced from MITRE CWE 4.20. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.