Canonical: https://agentmasterdata.com/datasets/cwe/

[DATASET CATALOG](https://agentmasterdata.com/#datasets) / Reference

Live

# Software weaknesses (CWE)

Look up software weakness IDs, names and typed relationships in the CWE taxonomy.

Available in the published API release. Discovery checked 2026-11-21T01:28:46.273Z; check current [availability](https://api.agentmasterdata.com/readyz) and [pricing](https://api.agentmasterdata.com/v1/pricing) before use.

## When to choose it

A security-triage agent follows a CWE ID supplied by a KEV entry, such as CWE-79, to its weakness name and typed relationships. A matching reference does not establish whether a particular system is vulnerable.

## Dataset facts

Source: MITRE Common Weakness Enumeration · CWE 5.0 (`mitre-cwe`)

Identifier: CWE ID, for example CWE-79

Coverage: CWE 5.0 taxonomy: 984 weaknesses, including deprecated entries; 1,622 typed relationships and 1,278 structured consequence occurrences. Counts describe the checked release.

Freshness: Pinned CWE 5.0 edition; versioned reference data, not a live MITRE query. No automatic refresh schedule is promised.

Limitations: Taxonomy/reference scope only. Detection, mitigation, consequence notes and other guidance are excluded. No vulnerability detection, risk scoring, inferred CVE impact, system applicability or remediation advice. Validity is unknown: include_inactive=true includes these values, which retain active:null and warnings. Deprecated entries retain their source-stated status.

Access: Available through paid get_reference_data REST and MCP at the shared Agent Master Data API, at the existing reference-data price. Discovery is free; inspect current pricing and terms before authorizing payment.

Usage terms: CWE Terms of Use (The MITRE Corporation), under the reviewed taxonomy-only scope. Preserve the complete MITRE notice accompanying every data-bearing response; the API attribution page publishes the complete notice. No MITRE affiliation or endorsement is claimed. [Read the full MITRE notice](https://api.agentmasterdata.com/legal/attribution).

Reference domain: `mitre-cwe`

## Approved source fields

- code — canonical CWE identifier
- label — weakness name
- status — source-stated weakness status
- abstraction — source-stated taxonomy level
- relationships — typed links and qualifiers
- technology_categories — selected source platform categories
- consequences — structured scopes, impacts and optional likelihood

Source fields describe the collection; use the API schema for response structure. The count and data version above describe the checked release, not a live counter.

## Query capabilities

- Exact CWE IDs in the mitre-cwe domain
- Case-insensitive substring query against code or label
- include_inactive=true for unknown validity; preserve active:null and warnings
- Cursor pagination, 1–125 values per page
- Join KEV source-supplied CWE IDs to taxonomy references; no inferred vulnerability impact

## Reference request shape

Illustrative arguments for `get_reference_data`, not an executed request or a sample result. Check live availability and authorize the quoted spend before calling.

```
{
  "domain": "mitre-cwe",
  "codes": [
    "CWE-79"
  ],
  "include_inactive": true,
  "limit": 1
}
```

`include_inactive: true` intentionally includes values whose validity is unknown. Preserve `active: null` and `reference_value_validity_unknown`; do not relabel them as known active. Use `include_inactive: false` if your task accepts only known-active values.

[Exact input schema](https://agentmasterdata.com/contracts/schemas/tools/get_reference_data.input.schema.json) · [Result envelope](https://agentmasterdata.com/contracts/schemas/common/result-envelope.schema.json)

## Before accepting a result

Inspect the response’s source licenses, public-use terms, version, warnings and available source timestamps. An absent retrieval timestamp is unknown freshness, not today’s data.

[Read the agent guide ](https://agentmasterdata.com/agent-guide)

[Agent guide](https://agentmasterdata.com/agent-guide) · [Live API schema](https://api.agentmasterdata.com/v1/master-data/schema)
