Skip to content

CVEDB

Everyone

The CVEDB API provides vulnerability lookups by CVE, CPE, or product. It combines NVD data with linked EUVD and GitHub Security Advisory (GHSA) records when available. Enterprise customers can download the SQLite database.

See the interactive OpenAPI reference for current schemas and parameters. The database article documents the SQLite schema and data freshness.

Frequently Asked Questions

  • How much does it cost?
    The API is free for non-commercial use. Commercial use requires an Enterprise license.
  • How often is it updated?
    The API database is updated daily. Upstream publication and a successful refresh affect when changes become available. Check /last_updated for the last successful database download timestamp (Unix seconds, UTC).
  • Do I need a Shodan API key?
    No. You can use the CVEDB API without a Shodan account or API key.

Single-record lookups

CVE: /cve/{cve_id}

Terminal window
curl -X 'GET' \
'https://cvedb.shodan.io/cve/CVE-2025-8960?format=json' \
-H 'accept: application/json'

Returns one JSON object. Upstream-backed values may be null when unavailable.

FieldDescription
cve_idCVE identifier.
summaryHuman-readable vulnerability description.
cvssHighest available CVSS score, preferring v4, then v3, then v2.
cvss_versionVersion used for cvss.
cvss_v2, cvss_v3, cvss_v4Individual version-specific CVSS scores.
epssEPSS probability from 0 to 1, estimating exploitation likelihood over the next 30 days.
ranking_epssRelative EPSS ranking from 0 to 1.
kevWhether the CVE is listed in Known Exploited Vulnerabilities data.
propose_actionProposed mitigation/action when supplied by the source.
ransomware_campaignRansomware campaign information when supplied by the source.
referencesReference URLs associated with the CVE.
cpesAffected CPE 2.3 identifiers.
published_timeSource publication date-time for the CVE.
euvdOptional nested EUVD record; fields are listed below.
ghsaOptional nested GHSA record; fields are listed below.

EUVD: /euvd/{euvd_id}

Looks up one EUVD entry, for example EUVD-2024-16003. The response has EUVD fields at the top level and linked CVE and GHSA objects nested under cve and ghsa when available. The identifier is case-insensitive; no query parameters are required.

Terminal window
curl -X 'GET' \
'https://cvedb.shodan.io/euvd/EUVD-2024-16003' \
-H 'accept: application/json'
FieldDescription
idEUVD identifier.
descriptionVulnerability description published by EUVD.
published_timeEUVD publication date-time.
cvssEUVD CVSS base score, from 0 to 10.
cvss_versionCVSS version used for the EUVD base score.
epssEPSS score recorded by EUVD, from 0 to 1.
assignerOrganization that assigned the EUVD entry.
referencesReference links listed in the EUVD entry.
productsProducts listed in the EUVD entry.
vendorsVendors listed in the EUVD entry.
cveOptional nested CVE record.
ghsaOptional nested GitHub Security Advisory record.

GHSA: /ghsa/{ghsa_id}

Looks up one GHSA entry, for example GHSA-wcwp-r3fj-mm3p. The response has GHSA fields at the top level and linked CVE and EUVD objects nested under cve and euvd when available. The identifier is case-insensitive; no query parameters are required.

Terminal window
curl -X 'GET' \
'https://cvedb.shodan.io/ghsa/GHSA-wcwp-r3fj-mm3p' \
-H 'accept: application/json'
FieldDescription
idGitHub Security Advisory identifier.
summaryShort advisory summary.
detailsFull advisory description.
published_timeAdvisory publication date-time.
modified_timeAdvisory last-modified date-time.
withdrawn_timeAdvisory withdrawal date-time, when applicable.
severitySeverity records supplied by GHSA.
affectedAffected packages and version ranges.
referencesAdvisory reference links and types.
cwe_idsAssociated CWE identifiers.
github_severityGitHub's advisory severity rating.
github_reviewedWhether GitHub reviewed the advisory.
github_reviewed_atDate-time of the GitHub review.
euvdOptional nested EUVD record.
cveOptional nested CVE record.

Search endpoints

CVE search: /cves

Search by CPE 2.3 or product; do not supply both. Supports pagination, publication-date filtering, KEV filtering, EPSS sorting, and count-only mode.

  • cpe23, product (optional): Search key; use one, not both.
  • count (default false): Return match count only.
  • is_kev (default false): Restrict results to KEV entries.
  • sort_by_epss (default false): Sort by descending EPSS; otherwise sort by publication time.
  • skip (default 0), limit (default 1000): Pagination controls.
  • start_date, end_date (optional): Publication-date bounds, formatted YYYY-MM-DD or YYYY-MM-DDTHH:MM:SS.
  • format (default json): Response format, such as JSON or Markdown.
Terminal window
curl -X 'GET' \
'https://cvedb.shodan.io/cves?cpe23=cpe%3A2.3%3Aa%3Alibpng%3Alibpng%3A0.8&count=false&is_kev=false&sort_by_epss=false&skip=0&limit=1000&format=json' \
-H 'accept: application/json'
curl -X 'GET' \
'https://cvedb.shodan.io/cves?product=nginx&count=false&is_kev=true&sort_by_epss=true&skip=0&limit=1000&format=json' \
-H 'accept: application/json'

CPE search: /cpes

Returns CPE identifiers associated with a required product.

  • product (required): Product name.
  • count (default false): Return the number of matching CPE groups.
  • skip (default 0), limit (default 1000): Pagination controls.
  • format (default json): Response format, such as JSON or Markdown.
Terminal window
curl -X 'GET' \
'https://cvedb.shodan.io/cpes?product=nginx&count=false&skip=0&limit=1000&format=json' \
-H 'accept: application/json'

For current response models and parameter defaults, see the interactive OpenAPI reference.