KernelScan Cves API

Search and read Linux kernel CVEs.

GitHub OpenAPI

Operations 5

GET /api/cves Cve List #
GET /api/cves/{cve_id}/timeline Cve Timeline #
GET /api/cves/{cve_id}/stable-queue Cve Stable Queue #
GET /api/cves/{cve_id}/public Cve Public Detail #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/kernelscan-io:kernelscan-io-cves-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

kernelscan-io-cves-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: KernelScan Cves API
  description: 'Public REST API for KernelScan — the Linux kernel CVE analyzer. Upload a kernel .config and get a CycloneDX VEX report of affecting CVEs, query the CVE database, and manage product analyses. Authenticate with `Authorization: Bearer ks_live_` (create one at /api/auth/api-keys). The same surface is also available over MCP at /mcp/.'
  version: 1.0.0
  contact:
    name: KernelScan Support
    url: https://kernelscan.io/docs
    email: support@kernelscan.io
  termsOfService: https://kernelscan.io/agb
servers:
- url: https://kernelscan.io
tags:
- name: CVEs
  description: Search and read Linux kernel CVEs.
paths:
  /api/cves:
    get:
      tags:
      - CVEs
      summary: Cve List
      operationId: cve_list_api_cves_get
      parameters:
      - name: kernel_version
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Kernel Version
      - name: search
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Search
      - name: needs_assessment
        in: query
        required: false
        schema:
          anyOf:
          - type: boolean
          - type: 'null'
          description: If true, return only CVEs the auditor has not yet processed (ai_assessed_at IS NULL). NVD-scored CVEs are included so the auditor can enrich them with factors + prose.
          title: Needs Assessment
        description: If true, return only CVEs the auditor has not yet processed (ai_assessed_at IS NULL). NVD-scored CVEs are included so the auditor can enrich them with factors + prose.
      - name: severity
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: 'Filter by effective severity: CRITICAL, HIGH, MEDIUM, LOW'
          title: Severity
        description: 'Filter by effective severity: CRITICAL, HIGH, MEDIUM, LOW'
      - name: cvss_min
        in: query
        required: false
        schema:
          anyOf:
          - type: number
            maximum: 10.0
            minimum: 0.0
          - type: 'null'
          description: Minimum effective CVSS score
          title: Cvss Min
        description: Minimum effective CVSS score
      - name: cvss_max
        in: query
        required: false
        schema:
          anyOf:
          - type: number
            maximum: 10.0
            minimum: 0.0
          - type: 'null'
          description: Maximum effective CVSS score
          title: Cvss Max
        description: Maximum effective CVSS score
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 200
          minimum: 1
          default: 100
          title: Limit
      - name: offset
        in: query
        required: false
        schema:
          type: integer
          minimum: 0
          default: 0
          title: Offset
      - name: reassess
        in: query
        required: false
        schema:
          type: string
          pattern: ^(exclude|include|only)$
          description: 'With needs_assessment=true, admin only (backend#473): exclude (default) | include — also CVEs with a pending re-assessment, those first | only — just those.'
          default: exclude
          title: Reassess
        description: 'With needs_assessment=true, admin only (backend#473): exclude (default) | include — also CVEs with a pending re-assessment, those first | only — just those.'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Cve List Api Cves Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/cves/featured:
    get:
      tags:
      - CVEs
      summary: Cves Featured
      description: 'Latest high-severity, AI-assessed CVEs — fully detailed, no auth required.


        Drives the homepage "Recent High-Severity CVEs" section and is the

        single source of truth for what SSR /cve/{id} pages may expose publicly.'
      operationId: cves_featured_api_cves_featured_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Cves Featured Api Cves Featured Get
  /api/cves/{cve_id}/timeline:
    get:
      tags:
      - CVEs
      summary: Cve Timeline
      description: 'CVE lifecycle timeline (backend#368) — threat and kernel-code events.


        A separate, lazily-loaded endpoint rather than a block inside

        ``/public``: the timeline needs the sighting table and every fix row, and

        joining that into the CVE payload would make each of the ~20 rows on a list

        page pay for a detail-only visualisation. A detail view opens, this fires

        once.


        Visibility follows the CVE browser (see _can_view_cve_detail): anonymous

        callers get public CVEs only, signed-in users everything their plan''s feed

        window shows. Anything else is a 404, never a 403, so the endpoint cannot be

        used to probe which CVEs exist outside the caller''s window.'
      operationId: cve_timeline_api_cves__cve_id__timeline_get
      parameters:
      - name: cve_id
        in: path
        required: true
        schema:
          type: string
          title: Cve Id
      - name: branch
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            maxLength: 64
          - type: 'null'
          description: Product kernel series, e.g. "6.6" — floats that lane to the top in product context. Cosmetic ordering only; it never changes which events are returned.
          title: Branch
        description: Product kernel series, e.g. "6.6" — floats that lane to the top in product context. Cosmetic ordering only; it never changes which events are returned.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Cve Timeline Api Cves  Cve Id  Timeline Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/cves/{cve_id}/stable-queue:
    get:
      tags:
      - CVEs
      summary: Cve Stable Queue
      description: 'Stable/LTS backport status of one CVE, per active stable series

        (backend#358, contract docs/stable-queue-contract.md §4–§6, shape

        tests/fixtures/stable_queue/examples/read_cve.json).


        Visibility is the timeline''s (_can_view_cve_detail): anonymous callers get

        public CVEs only, signed-in users their plan''s window, and anything else

        is a 404 — never a 403 — so the route cannot probe which CVEs exist. It

        never names a KSCAN-PRE-CVE candidate. Lazy: a detail view fires it once;

        no CVE list row joins the queue.


        ``Cache-Control: no-store``: per-series ``freshness`` is computed against

        the request time and the watcher confirms the queue every 5 minutes, so a

        cached answer would claim a freshness the data no longer has. Nothing is

        cached server-side either.'
      operationId: cve_stable_queue_api_cves__cve_id__stable_queue_get
      parameters:
      - name: cve_id
        in: path
        required: true
        schema:
          type: string
          title: Cve Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/cves/{cve_id}/public:
    get:
      tags:
      - CVEs
      summary: Cve Public Detail
      description: 'Full details of a single CVE if it qualifies for public exposure.


        Returns 404 for any CVE that doesn''t qualify — we don''t want to reveal

        whether a CVE exists behind the paywall via a different status code.'
      operationId: cve_public_detail_api_cves__cve_id__public_get
      parameters:
      - name: cve_id
        in: path
        required: true
        schema:
          type: string
          title: Cve Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Cve Public Detail Api Cves  Cve Id  Public Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
externalDocs:
  description: KernelScan documentation
  url: https://kernelscan.io/docs