DEV Community

Get new CVE alerts for the software you run using the free NVD API

If you run software, new CVEs are your problem the day they are published. Paid scanners are the full answer, but small teams can get most of the value from the free NVD (National Vulnerability Database) API.

This post shows how to pull new serious CVEs for the products you run, and a real result from this week. Disclosure: I built an Apify Actor on top of this API and it is paid per result. The NVD API itself is free and official.

Query the NVD API

curl -s "https://services.nvd.nist.gov/rest/json/cves/2.0?keywordSearch=nginx&cvssV3Severity=HIGH&pubStartDate=2026-11-11T00:00:00.000&pubEndDate=2026-11-25T00:00:00.000"

Useful parameters:

  • keywordSearch
  • cvssV3Severity (LOW, MEDIUM, HIGH, CRITICAL)
  • a publish date window (max 120 days per request)

Without an API key you are limited to about 5 requests per 30 seconds, so sleep between calls. A free key raises that.

Real result: HIGH severity CVEs published 11 to 25 Nov 2026

Keyword HIGH CVEs in window Example
nginx 1 CVE-2026-136412, OpenResty stream-lua-nginx-module use-after-free, CVSS 8.1
openssl 0 none
wordpress 7 CVE-2026-116758, a plugin stored XSS, CVSS 7.2 (plugins, not WordPress core)

Two lessons. First, keyword search is loose: a plugin "for WordPress" matches the keyword but does not mean WordPress core is affected.

Second, NVD scores new CVEs with a delay, so a brand-new CVE can be unscored for days and will not show up under a severity filter.

Make it useful: only show what is new

The annoying part of any CVE feed is repeats. You want each run to return only CVEs you have not seen, above your severity bar, with context: is it on CISA's Known Exploited Vulnerabilities list, and what is the CISA due date.

Automate it

My Actor, CVE Watch, takes a product list, remembers what it already showed you, and returns new CVEs with product, cve_id, severity, CVSS score and vector, a direct-match flag, the CISA known-exploited flag and due date, and a link. A webhook URL can send results to Slack.

Strict matching keeps only CVEs where the product is in the affected list or the first 300 characters of the description.

Price: $2 per 1,000 CVEs returned, and since only new items return, most daily runs cost cents.

https://apify.com/lightdata-tools/cve-watch

Which products would you watch first? Tell me what matching rules would help.

Read on DEV Community ↗ ← Back to News

Comments

No comments yet. Start the discussion.