NIST NVD CVE Vulnerability Records
Pricing
from $1.26 / 1,000 cve-record extracteds
NIST NVD CVE Vulnerability Records
Query and bulk-export official NIST NVD CVE 2.0 records by ID, keyword, severity, CWE, CPE, publication window, modification window, or CISA KEV status.
Pricing
from $1.26 / 1,000 cve-record extracteds
Rating
0.0
(0)
Developer
Automation Lab
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
1
Monthly active users
25 days ago
Last modified
Categories
Features
Share
Query and bulk-export official NIST NVD CVE 2.0 records for vulnerability research, security inventory enrichment, and recurring intelligence refreshes.
The Actor calls the public NVD API directly and returns both analysis-friendly fields and the complete source CVE object. Each dataset row includes descriptions, CVSS metrics, CWE weaknesses, affected CPE configurations, references, CISA KEV metadata, publication time, and modification time.
What can this NVD Actor do?
- Retrieve one or many exact CVE IDs.
- Search CVE descriptions by keywords, or require an exact phrase.
- Filter by exact CVSS v3 severity, CWE ID, or CPE 2.3 name.
- Export only CISA Known Exploited Vulnerabilities.
- Export CVEs published within a bounded date window.
- Refresh records modified within a fixed date window, or within a rolling "last N days" window that a scheduled Task reuses without date edits.
- Paginate official NVD CVE 2.0 results up to your
maxItemslimit. - Preserve the complete source record for forward-compatible processing.
- Produce normalized CVSS, CWE, CPE, reference, and KEV fields for tables and pipelines.
- Save a run summary with the effective query dates, NVD match total, saved count, missing CVE IDs, and whether the export is complete.
No browser or proxy is used. An NVD API key is not required; adding your own free key makes large exports faster.
Who is it for?
Vulnerability management teams
Refresh local vulnerability inventories and identify CVEs whose NVD analysis changed since the previous scheduled run.
SOC and threat-intelligence analysts
Export severity, CISA KEV, weakness, affected-product, and reference context for triage and investigation.
DevSecOps and application security teams
Enrich scanner findings by exact CVE ID and send consistent records to data warehouses, ticketing systems, or remediation dashboards.
Security researchers and data engineers
Create reproducible NVD extracts without implementing API pagination, anonymous rate limits, date validation, deduplication, and record normalization.
Why use this Actor instead of a raw NVD API request?
The NVD API is the authoritative source, but production workflows still need input validation, bounded retries, pagination, deduplication, dataset storage, scheduling, integrations, and stable normalized fields.
This Actor provides those operational pieces while retaining rawNvdRecord. You can use concise fields immediately and still access newly introduced NVD properties before the normalized contract is expanded.
What NVD data is extracted?
| Field | Meaning |
|---|---|
cveId | Official CVE identifier |
description / descriptions | Preferred English description and all supplied languages |
published | NVD publication timestamp |
lastModified | Latest NVD modification timestamp |
vulnStatus | Current NVD analysis status |
highestCvss* | Selected primary score, severity, version, and vector |
cvssMetrics | Normalized CVSS metrics across available versions and sources |
cweIds / weaknesses | Flat CWE identifiers and complete weakness objects |
affectedCpes | Flattened CPE criteria and affected version boundaries |
configurations | Complete nested NVD configuration expressions |
references / referenceUrls | Tagged reference objects and flat URLs |
hasCisaKev | Whether CISA KEV metadata is present |
cisa* | KEV date, due date, action, and vulnerability name |
evaluator* | NVD evaluator notes when supplied |
vendorComments | Vendor comments when present |
nvdUrl | Public NVD CVE detail link |
retrievedAt | UTC retrieval timestamp |
rawNvdRecord | Complete source CVE 2.0 object |
Fields can be null or empty when NVD does not supply that analysis.
Getting started
- Open the Actor in Apify Console.
- Keep the prefilled
CVE-2021-44228lookup or clear CVE IDs to use filters. - Choose a practical
maxItemslimit. - Click Start.
- Open the Dataset tab to inspect, download, or integrate the results.
- Save the run as a Task if you want to schedule a modification-window refresh.
Input parameters
| Input | Type | Default | Notes |
|---|---|---|---|
cveIds | string array | CVE-2021-44228 prefill | Exact lookup mode; at most 500 IDs; cannot be combined with filters |
keywordSearch | string | — | Matches all words in CVE descriptions, in any order |
keywordExactMatch | boolean | false | Require keywordSearch as one exact phrase |
cvssV3Severity | enum | any | Exact LOW, MEDIUM, HIGH, or CRITICAL |
cweId | string | — | Official form such as CWE-79 |
cpeName | string | — | NVD-supported CPE 2.3 name |
hasKev | boolean | false | Return only records with CISA KEV metadata |
publishedStart / publishedEnd | dates | — | Paired YYYY-MM-DD values, up to 120 days |
modifiedStart / modifiedEnd | dates | — | Paired YYYY-MM-DD values, up to 120 days |
modifiedWithinDays | integer | — | Rolling window: modified in the last 1–119 days before the run start (UTC); replaces modifiedStart/modifiedEnd |
maxItems | integer | 100 | Save from 1 to 10,000 unique CVEs |
nvdApiKey | secret string | — | Optional NVD API key; stored as a secret and never logged |
Exact CVE IDs are intentionally a separate mode. Clear the prefilled list before entering search filters.
Example: exact CVE lookup
{"cveIds": ["CVE-2021-44228"],"maxItems": 1}
This is useful for scanner enrichment or incident investigation.
Example: NVD keyword search
{"cveIds": [],"keywordSearch": "Apache Log4j","maxItems": 25}
Without keywordExactMatch, NVD returns records that contain all of the words in any order.
Example: exact phrase search
{"cveIds": [],"keywordSearch": "Apache Log4j2","keywordExactMatch": true,"maxItems": 25}
Exact phrase mode returns only descriptions containing Apache Log4j2 as one contiguous phrase, using NVD's own phrase matching. In a test on 2026-10-31 it returned 3 records, while the same words without exact matching returned 6.
Example: scheduled rolling refresh
{"cveIds": [],"modifiedWithinDays": 2,"maxItems": 5000}
Each run exports CVEs modified between 2 days before the run start and the run start, in UTC. Save it as a Task, schedule it daily, and it never needs date edits. A window longer than the schedule interval gives each run an overlap, so a late or failed run does not leave a gap. Upsert by cveId and keep the newest lastModified downstream.
Example: fixed modification window
{"cveIds": [],"modifiedStart": "2026-08-11","modifiedEnd": "2026-08-11","maxItems": 1000}
Fixed dates are useful for one-off backfills of a specific period.
Example output
The following abbreviated fields come from a real exact-ID run. Large nested arrays and rawNvdRecord are omitted here only for readability.
{"cveId": "CVE-2021-44228","sourceIdentifier": "security@apache.org","published": "2021-12-10T10:15:09.143","lastModified": "2026-08-11T19:33:44.513","vulnStatus": "Analyzed","highestCvssScore": 10,"highestCvssSeverity": "CRITICAL","highestCvssVersion": "3.1","cweIds": ["CWE-20", "CWE-400", "CWE-502", "CWE-917"],"hasCisaKev": true,"nvdUrl": "https://nvd.nist.gov/vuln/detail/CVE-2021-44228"}
How much does it cost to export NIST NVD CVE records?
The Actor uses pay-per-event pricing:
- a $0.005 start fee per run;
- $0.0021 per saved CVE record at the Bronze tier;
- lower per-record prices on higher platform tiers.
Approximate Bronze-tier examples:
| Useful output | CVE-record event charge (plus the $0.005 start fee) |
|---|---|
| 1 CVE | $0.0021 |
| 25 CVEs | $0.0525 |
| 100 CVEs | $0.210 |
| 1,000 CVEs | $2.10 |
Only records accepted into the dataset are charged as cve-record. Each record is charged just before it is saved, so charged and saved counts always match. Duplicates, malformed source entries and requested IDs that NVD does not have are never charged. Empty results do not incur record charges.
If you set a maximum cost per run, the Actor stops saving when the budget is used up and records charge_limit in the run summary. Platform tier and Apify usage may affect the final total shown in Console.
Scheduling vulnerability-intelligence refreshes
Use modifiedStart and modifiedEnd rather than publication dates when your goal is to detect NVD analysis changes. A CVE can receive new CVSS, CPE, reference, CWE, or status information long after publication.
A practical workflow is:
- Save a Task with
modifiedWithinDaysslightly longer than your schedule interval, for example2for a daily schedule or8for a weekly one. - Export the dataset to your warehouse or queue.
- Upsert by
cveId, keeping the record with the newestlastModified. Overlapping windows return some CVEs twice across runs; the upsert makes that harmless. - Compare
lastModifiedor the source object with the stored version. - Trigger remediation review only when relevant fields changed.
- Check
RUN_SUMMARY. IfcompleteisfalsebecausemaxItemswas reached, raisemaxItemsor shorten the window so no changes are skipped.
The Actor does not keep a cursor between runs and does not send alerts. Each run is independent, which is why the overlap matters.
NVD limits one date-filter request window to 120 consecutive days. Split larger historical backfills into multiple runs.
Run summary and export completeness
Every run saves a RUN_SUMMARY record in its key-value store. It is also linked from the run's Output tab. It contains:
outcomeandcomplete:source_exhausted(all NVD matches saved),completed(all requested IDs processed),max_items,charge_limit,time_limit,source_no_progress, orfailed;effectiveQuery: the exact NVD parameters used, including the resolved rolling dates;sourceTotalResultsandsavedRecords;- for CVE ID lookups,
savedIds,missingIds(NVD returned no record),unexpectedResponseIds(NVD returned a different CVE instead, so the ID is not proven absent and is worth rerunning),unprocessedIdsandidsBeyondMaxItems; requests,retries,pages,duplicatesSkipped,invalidRecordsSkippedandmismatchedRecordsSkipped.
Records are saved page by page as they arrive. If NVD or a dataset write fails partway through a large export, the records already saved remain in the dataset and are counted in savedRecords. The run is marked failed and the summary reports complete: false. If a dataset write fails after its records were charged, chargedUnsavedRecords reports how many charged records could not be confirmed as saved.
NVD API limits and reliability
Anonymous NVD access allows about 5 requests per 30 seconds, so the Actor waits 6.5 seconds between anonymous page or exact-ID requests. With your own NVD API key in nvdApiKey, NVD allows 50 requests per 30 seconds. The Actor then waits 1.2 seconds between requests, staying well under that limit. You can request a free key at nvd.nist.gov/developers/request-an-api-key. The key is a secret input. It is sent only to NVD and never written to logs, datasets or diagnostics.
The Actor requests up to 500 records per page and saves each page before fetching the next, so memory stays bounded even for 10,000-record exports in the default 256 MB. Focused queries usually need one request. A 10,000-record anonymous export needs 20 requests and takes a few minutes; long CVE ID lists take one request per ID.
Rate limits (429), NVD server errors (5xx), timeouts and network failures are retried up to 4 attempts. Retries back off at 6.5, 13 and 26 seconds, or follow NVD's Retry-After hint up to 2 minutes. A retry wait or request is only started if it can finish before the run timeout. Otherwise the run stops cleanly with outcome time_limit and the last NVD error in the summary. Other errors are not retried: rejected filter combinations or an invalid key return NVD's reason in the run log and fail immediately. A successful response that is not a valid NVD CVE 2.0 result also fails, rather than being reported as an empty export. A real zero-match result still succeeds with an empty dataset.
Export and integration patterns
The default Apify dataset supports JSON, JSONL, CSV, Excel, XML, and RSS exports. Nested source fields are best preserved in JSON or JSONL.
Common workflows include:
- Apify Schedule → dataset → webhook → SIEM or SOAR;
- exact CVE IDs from a scanner → Actor → enriched remediation tickets;
- daily modification window → warehouse upsert by
cveId; - CISA KEV filter → priority vulnerability dashboard;
- CWE or CPE filter → product-specific research export.
Use the Actor through the Apify API
Replace YOUR_TOKEN with an Apify API token.
cURL
curl -X POST \"https://api.apify.com/v2/acts/automation-lab~nist-nvd-cve-vulnerability-records/runs?token=YOUR_TOKEN&waitForFinish=120" \-H "Content-Type: application/json" \-d '{"cveIds":["CVE-2021-44228"],"maxItems":1}'
JavaScript
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: process.env.APIFY_TOKEN });const run = await client.actor('automation-lab/nist-nvd-cve-vulnerability-records').call({cveIds: ['CVE-2021-44228'],maxItems: 1,});const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(items[0].cveId, items[0].highestCvssScore);
Python
from apify_client import ApifyClientclient = ApifyClient("YOUR_TOKEN")run = client.actor("automation-lab/nist-nvd-cve-vulnerability-records").call(run_input={"cveIds": ["CVE-2021-44228"], "maxItems": 1})items = client.dataset(run["defaultDatasetId"]).list_items().itemsprint(items[0]["cveId"], items[0]["highestCvssScore"])
Use with MCP and AI assistants
Claude Code setup
Add the Actor to Claude Code through Apify MCP:
claude mcp add --transport http apify \"https://mcp.apify.com?tools=automation-lab/nist-nvd-cve-vulnerability-records"
Claude Desktop, Cursor, and VS Code setup
Use this equivalent JSON MCP configuration in Claude Desktop, Cursor, or VS Code:
{"mcpServers": {"apify": {"url": "https://mcp.apify.com?tools=automation-lab/nist-nvd-cve-vulnerability-records"}}}
Example prompts:
- “Fetch the current NVD record for CVE-2021-44228 and summarize CVSS and affected CPEs.”
- “Export critical CISA KEV CVEs modified in this date window.”
- “Find NVD records for this CPE and return CWE IDs and vendor advisory links.”
AI-generated summaries are not a substitute for reviewing the source fields and references.
Legality and responsible use
NVD CVE records are public United States government vulnerability data. Use them for authorized security, research, compliance, and defensive automation.
This Actor is an independent tool. It is not affiliated with, endorsed by, or operated by NIST or the National Vulnerability Database.
A CVE record does not prove that a particular deployed system is exploitable. Evaluate product versions, configurations, vendor guidance, compensating controls, and current threat intelligence before making remediation or disclosure decisions.
Respect NVD service limits. Do not configure overlapping high-frequency Tasks that generate unnecessary load.
Limitations
- Results reflect the NVD API at retrieval time and can change later.
- NVD enrichment may lag the original CVE publication or vendor advisory.
- Not every record has CVSS, CWE, CPE, reference tags, or CISA KEV fields.
cvssV3Severityis an exact upstream filter, not a minimum threshold.- Fixed date endpoints must be paired and cannot span more than 120 days; rolling windows are limited to 119 days.
- Exact phrase mode follows NVD's own phrase matching on descriptions.
- Exact CVE IDs cannot be combined with search filters in one run.
- Large anonymous exports wait between NVD API pages.
- Anonymous CVE ID lookups use one request per ID, so 500 IDs take close to an hour. Add
nvdApiKey(about 10 minutes) or raise the run timeout. If time runs short, the Actor stops cleanly before the timeout, keeps the saved records, and lists the unprocessed IDs inRUN_SUMMARY. - The Actor does not scan systems, prove exploitability, issue alerts, or apply patches.
Troubleshooting
Why did my filtered run fail immediately?
Check that both dates in each window are present, use YYYY-MM-DD, and span at most 120 days. Clear the prefilled cveIds before using filters. Use an official CWE-123 form and a valid CPE 2.3 string.
Why did the run return zero records?
The query may have no current NVD matches. Remove filters one at a time, verify an exact CVE ID on the NVD website, and check that the date window targets publication or modification time as intended.
Why is a large run slow?
The Actor deliberately respects NVD request limits. Add your own free NVD API key in nvdApiKey for about 5x faster paging, or reduce maxItems, narrow the query, or split historical periods.
How do I know whether the export is complete?
Open RUN_SUMMARY from the run's Output tab. complete: true means every NVD match for the query, or every requested CVE ID, was processed. Otherwise outcome explains why the run stopped.
Which export format should I use?
Use JSON or JSONL to preserve nested metrics, configurations, references, and the complete raw source record. CSV is convenient for the flattened summary fields but serializes nested arrays.
Failure diagnostics
When a run fails, the Actor sends sanitized diagnostic input, the exception and the Actor, build and run IDs to our private GlitchTip error-tracking service so we can repair problems. Secret fields such as nvdApiKey and URL query strings are removed first. Reports are retained for 30 days.
FAQ
Does this scrape NVD web pages?
No. It queries the official structured NVD CVE 2.0 API and adds Apify scheduling, storage, billing, retry, and integration behavior.
Is an NVD API key required?
No. Anonymous runs work with conservative request spacing. Your own key in the secret nvdApiKey input raises the NVD allowance for bulk workflows.
Can I export all NVD history in one run?
The Actor allows up to 10,000 records per run, but NVD date queries allow 120-day windows. Use multiple bounded Tasks for a complete historical backfill.
Are records charged if NVD finds nothing?
No cve-record event is charged for an empty result. The one-time run start event still applies.
Can I monitor CVE changes?
Use a scheduled Task with modifiedWithinDays and compare each result to your stored record. The Actor exports refresh data; it does not maintain state or send alerts by itself.
Related Automation Lab Actors
- EPSS CVE Risk Enricher adds exploit-prediction probability and percentile signals to CVE IDs.
Use this NVD Actor for authoritative vulnerability records and the EPSS Actor when you also need prioritization signals from the separate FIRST EPSS dataset.