---
title: "CWE-507: Trojan Horse"
url: https://radicalnotion.ai/cwe/cwe-507
type: cwe
description: "The product appears to contain benign or useful functionality, but it also contains code that is hidden from normal operation that violates the intended security policy of the user or the system administrator."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-507: Trojan Horse

- **Abstraction:** Base
- **Structure:** Simple
- **Status:** Incomplete
- **CVEs with this as primary weakness:** 1
- **Of those, in CISA KEV:** 0
- **New in 2026:** 0
- **CWE catalog version:** 4.21

## Description

The product appears to contain benign or useful functionality, but it also contains code that is hidden from normal operation that violates the intended security policy of the user or the system administrator.

## Modes of introduction

| Phase | Note |
| --- | --- |
| Distribution | - |
| Implementation | - |
| Operation | - |

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Confidentiality, Integrity, Availability | Execute Unauthorized Code or Commands | - |

## Potential mitigations

### Operation

Most antivirus software scans for Trojan Horses.

### Installation

Verify the integrity of the product that is being installed.

## Real CVEs with this weakness

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2020-26292 | Potential Malware Discovered (Possible False Positive) | critical | 9.8 | - | No | 2021-01-04 |

## Related attack patterns (CAPEC)

- [CAPEC-698](https://radicalnotion.ai/capec/capec-698): Install Malicious Extension

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-506](https://radicalnotion.ai/cwe/cwe-506) | Embedded Malicious Code |
| Child | [CWE-508](https://radicalnotion.ai/cwe/cwe-508) | Non-Replicating Malicious Code |
| Child | [CWE-509](https://radicalnotion.ai/cwe/cwe-509) | Replicating Malicious Code (Virus or Worm) |

## Taxonomy mappings

| Taxonomy | Entry | Id | Fit |
| --- | --- | --- | --- |
| Landwehr | Trojan Horse | - | - |

## Frequently asked questions

### What is CWE-507?

The product appears to contain benign or useful functionality, but it also contains code that is hidden from normal operation that violates the intended security policy of the user or the system administrator.

### What CVEs are caused by CWE-507?

1 recorded CVE is attributed to CWE-507: CVE-2020-26292.

### How do you prevent CWE-507?

Most antivirus software scans for Trojan Horses.

### What are the consequences of CWE-507?

Exploiting CWE-507 can lead to: Execute Unauthorized Code or Commands.

### Is CWE-507 actively exploited?

1 recorded CVE is caused by CWE-507; it is not currently in CISA's KEV catalog of actively exploited flaws.

Primary source: [MITRE CWE](https://cwe.mitre.org/data/definitions/507.html)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/cwe/cwe-507). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
