Skip to main content
cve.now’s API is public and needs no authentication. Every endpoint is a GET unless noted and returns JSON. The GET endpoints allow cross-origin requests. POST /api/v1/stacks accepts uploads from cve.now or from a server-side client, not from browsers on other sites. Base URL: https://cve.now.

Get one entry

<id> is a CVE, GHSA, or OSV id; case does not matter, and an alias returns the merged entry. The response may be a 302 redirect to a cached public JSON copy of the entry, so follow redirects (curl -L). An unknown id returns 404 with { "error": "not found" }.

Markdown copies

Every entry page has a Markdown copy at the same URL plus .md, written for coding agents: severity, affected versions, fixed versions, references, and links to related entries. A request for /<id> with Accept: text/markdown returns the same Markdown. Markdown browse indexes link each entry’s copy: /latest.md, /critical.md, and /kev.md (100 entries per page, with a next-page link), /tech/<slug>.md, and /ecosystem/<eco>.md. /tech.md lists every valid tech slug and ecosystem. cve.now/llms.txt lists them all.

Entry fields

Optional fields may be absent on older entries. Treat unknown fields as additive.

Browse entries

The response is { "entries": [...], "next_cursor": "..." }, newest first. Each entry is a summary row with the entry’s id, title, dates, severity, and KEV status. Fetch the full entry with /api/v1/entries/<id>. next_cursor is null on the last page. An unknown filter, an invalid cursor, or a limit outside 1 to 200 returns 400.

Read a feed

Passing name, tech, ecosystem, or fix reads a stored feed instead of browsing, with the same JSON as the MCP feed.read operation: { "name", "title", "updatedAt", "items": [...] }, newest first. A feed has no cursor. An unknown feed name returns 404; invalid values return 400.

Check package versions

A one-time check with the same inputs and JSON as the MCP stack.check operation. Send one of:
  • packages: up to 10,000 { ecosystem, name, version } objects
  • lockfile_content, with an optional lockfile_name (such as bun.lock or package-lock.json), to have cve.now parse the lockfile
  • stack_id: the id of an uploaded lockfile
The response lists affected entries, the number of packages checked, and notes about anything it couldn’t check. Each affected entry has id, title, severity (the CVSS score object) and rating (critical, high, medium, low, or the source’s stated rating), url, the matched package, fixed (the versions that fix it for that package, when known), and the signals to rank it by: kev (listed in CISA KEV), activelyExploited (KEV or CISA SSVC exploitation active), publicExploit (a Metasploit module, an Exploit-DB entry, or exploit code on GitHub), epssReached (the EPSS score has reached 0.1), and exposure (as on entries). Nothing is stored. Invalid input returns 400, an unknown stack_id returns 404, and more than 10,000 packages returns 413.

MCP operations over REST

Each MCP operation has a REST endpoint with the same inputs and JSON: cve.get is GET /api/v1/cves/<id> (every <type>.get and <type>.list is the same shape for its type), feed.read is GET /feed?format=json, entities.search is GET /api/v1/search, and stack.check is POST /api/v1/check. The old tool names (get_vulnerability, list_feed, check_stack, and the rest) are deprecated since 2026-11-11: they still answer, and their REST routes are unchanged.

Status

Reports when cve.now last checked each source and whether that check succeeded, the latest polling run, and the historical catalog’s coverage: whether the CVE List snapshot is complete, and how many records it holds. Use it to tell whether the data is current before you rely on an empty result.

Statistics

The aggregate numbers on the homepage: vulnerabilitiesTracked, newThisWeek, criticalFlagged, and sourcesMerged. Values change continuously.

Upload a lockfile

POST the lockfile as the request body, with its file name in the X-Lockfile-Name header. A parsed lockfile returns 201 with { "id": "...", "href": "/stack?stack_id=..." }. Use id as the stack_id for the MCP stack.check operation, or href as a stack feed. A file that is not a supported lockfile returns 422 with an error message. See Check your stack.

Caching and rate of change

Responses are served from a CDN, and cache lifetimes vary by endpoint: about a minute for browsing and status, and up to five minutes for a single entry or the stats, which can be served slightly stale while they refresh. Data changes as sources are polled, every few minutes for most sources. See Data and coverage.