CWE-1061

Insufficient Encapsulation
AI Translation Available

The product does not sufficiently hide the internal representation and implementation details of data or methods, which might allow external components or modules to modify data unexpectedly, invoke unexpected functionality, or introduce dependencies that the programmer did not intend.

Status
incomplete
Abstraction
class

Common Consequences

access control other
Impacts
varies by context bypass protection mechanism reduce maintainability increase analytical complexity

Detection Methods

automated static analysis

Potential Mitigations