Get the weaknesses (CWE), attack patterns (CAPEC) and MITRE ATT&CK techniques linked to a specific CVE.
## What this tool does
Follows the chain CVE → CWE → CAPEC → ATT&CK: returns the weaknesses of the CVE, the CAPEC attack patterns that
exploit them, the ATT&CK techniques mapped to those attack patterns (active techniques only), and a summary of the
ATT&CK tactics involved.
## When to use this tool
Use this tool when the user asks:
- "Which ATT&CK techniques are related to CVE-XYZ?"
- "Which tactics could an attacker use with this vulnerability?"
- "Which attack patterns exploit the weaknesses of this CVE?"
## Inputs
- **cve_id**: valid CVE identifier (`CVE-YYYY-NNNNN`).
## Outputs
- `cve_id`, `url`: link to the CVE on SecDB
- `cwe`: weaknesses, each with `id`, `name` and `url`
- `capec`: attack patterns, each with `id`, `name`, `via` (the CWE it comes from) and `url`
- `attack`: ATT&CK techniques, each with `id`, `name`, `tactics` (`id` and `name`), `via` (the CAPEC it comes from),
`url` and `mitre_url`
- `tactics`: ATT&CK tactics, each with `id`, `name` and `technique_count`
## LLM usage guidelines
- The link is derived from the weaknesses of the CVE: it does not mean that the vulnerability is exploited with these techniques. Say "related to" or "could be linked to", never "exploited via".
- Empty lists are normal: many weaknesses have no CAPEC attack pattern and many attack patterns have no ATT&CK technique.
- For real-world exploitation use `kev_check`, `vulnerability_exploits` and `sightings_search`.
- For the details of a technique or a weakness use `attack_info` or `cwe_info`.