Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

What is unpatched

unpatched tells you when software you run is affected by a vulnerability, which version to upgrade to, and whether the bug is being exploited. You write down what you run, with versions, in one file (unpatched.yml). Every day it checks that list against open vulnerability data and tells you only about what needs action.

It is for people who run software they did not write and have nobody whose job it is to watch advisories:

  • homelabbers and self-hosters with 5 to 30 things running
  • one-person IT teams and small businesses with a firewall, a VPN, a NAS, a mail server, a CMS and a few databases
  • MSPs that keep one private repository per client

Edge devices with exploited bugs (Fortinet, Ivanti, Citrix, Palo Alto, MOVEit) and software past its end of life are what get small organisations breached. Dependabot, Renovate, OSV-Scanner and Trivy cover code and container images, not a FortiGate or a Nextcloud install. CVE feeds list every CVE for a vendor and leave the sorting to you. About 40% of CVEs have a CVSS score of 7 or more, so sorting by CVSS gives mostly noise.

What you get

  • Told only when it matters. A finding is one product you run and one vulnerability that affects its version. Nothing else is sent.
  • What to do. Every finding says the version to upgrade to, and for end of life software, that you have to move to a supported release.
  • Ranked by exploitation. The bucket is decided by CISA KEV, the CISA SSVC exploitation flag, public exploits, EPSS and whether the item faces the internet. See Findings and rules.
  • Evidence for every verdict. Each finding lists the sources that said so and the rule ids behind its bucket. unpatched explain shows them. No model decides anything.
  • Honest about gaps. If the data is missing, conflicting or cannot be read, the verdict is unknown, with the reason. It is never “not affected” without evidence.
  • Quiet by default. A GitHub issue per stack item, a weekly digest in the chat channels you choose, and a status issue that says when it last ran, so silence never means broken.

How it works

daily, in the unpatched repository           daily, in your repository
CVE.org, NVD, KEV, EPSS, endoflife.date,     download the database (hash checked)
Exploit-DB, Metasploit ids                   match your stack locally
        |                                    rank findings, compare with last run
        v                                            |
one SQLite database, a release asset  ------->       v
                                             issues, chat messages, report

The list of what you run never leaves your repository. See Privacy.

Ways to run it

WayFor
GitHub ActionThe main way. A private repository, two files, issues in your inbox.
Command lineA laptop, a cron job, a script. --exit-code can gate a pipeline.
DockerA homelab server or a NAS that runs a scheduled container.
An AI agent“Am I affected by this new Ivanti bug?” answered through an MCP server.

What it is not

  • Not a dependency or container scanner. It does not read your code, lock files or images. Use OSV-Scanner or Trivy for that. It can check a package you name with a purl, through OSV, but it does not discover packages.
  • Not a network scanner. It does not probe hosts or fingerprint versions. You say what runs and in which version, and it is only as good as that list.
  • Not a SaaS. There is no server, no account and no API key. GitHub runs it.
  • Not a guarantee. It can be wrong, and a quiet report is not proof of safety. Read How accurate is it.

Where to go next

Start with GitHub

This is the main way to run unpatched. You need a GitHub account and about five minutes. The Action runs once a day, opens an issue for each finding, and keeps one status issue up to date. It needs no token of your own and no secret, unless you also want chat messages.

1. Make a private repository

Create a new repository and set it to Private. The stack file lists your software and its versions, which is a map for an attacker. Do not put it in a public repository. See the public repository warning.

2. Write unpatched.yml

Add unpatched.yml at the top of the repository. Start from this file (it is what unpatched init writes) and keep only what you run:

# unpatched.yml: what you run, and where to tell you.
# Keep this file in a PRIVATE repository: it lists your software and versions.
# Check it with `unpatched check`; `unpatched schema config` prints the format.

# File format version. Only 1 exists.
version: 1

# The software you run. Each entry is either a catalog `product` (find ids with
# `unpatched search <name>`) or a package `purl`.
stack:
  # A firewall that faces the internet. Edge devices are what attackers hit first.
  - product: fortios
    version: 7.2.5
    exposure: internet # internet | internal (default: internal)
    name: Office firewall # your label; tells several instances apart

  - product: nextcloud
    version: 29.0.3
    exposure: internet

  # Quote versions YAML would read as numbers ("15.4" is a number to YAML).
  - product: postgresql
    version: "15.4"

  - product: home-assistant
    version: 2024.10.1

  # A package: unpatched asks OSV about it (needs the network).
  # - purl: pkg:deb/debian/openssl@3.0.11-1~deb12u1?distro=bookworm

# Accept a risk on purpose. `until` is required: nothing is ignored forever, and
# the finding comes back when the date has passed.
# ignore:
#   - cve: CVE-2024-1234
#     product: nextcloud # optional: a product id or a stack `name`; default is all
#     reason: "The app is disabled"
#     until: 2027-01-31

# Where findings go. GitHub issues need no secret and are on by default.
# Secrets are never written here: they come from environment variables
# (repository secrets in GitHub Actions).
notify:
  issues: true
  # telegram:
  #   chat: "123456789" # the bot token is in UNPATCHED_TELEGRAM_TOKEN
  # slack: true # webhook URL in UNPATCHED_SLACK_WEBHOOK
  # discord: true # webhook URL in UNPATCHED_DISCORD_WEBHOOK
  # ntfy:
  #   topic: my-unpatched-topic # optional token in UNPATCHED_NTFY_TOKEN
  # webhook: true # URL in UNPATCHED_WEBHOOK_URL

# The day of the weekly digest (monday ... sunday), or `daily`. "Fix today"
# findings are sent at once, whatever the day.
digest: monday

# When a finding gets more urgent. The defaults are shown.
# thresholds:
#   epss_week: 0.05 # EPSS at or above this: fix this week
#   cvss_week: 9.0 # CVSS at or above this: fix this week
#   cvss_week_exposed: 7.0 # CVSS at or above this on an internet-facing item: fix this week
#   stale_warn_days: 3 # warn when the database is older than this
#   stale_fail_days: 7 # fail when the database is older than this

How to fill it in:

  • product: a catalog id. Run unpatched search fortigate (or look in the catalog) to find it. Aliases work in search, but write the id in the file.
  • version: the exact version that runs now, from the admin page or --version. Quote it if YAML would read it as a number: "15.4".
  • exposure: internet if it is reachable from the internet (VPN portal, web app, mail server), else leave it out. It moves findings up a bucket.
  • name: your own label. Needed to tell two instances of one product apart.
  • A package that is not in the catalog (an OS package or a library) can be given as a purl instead. See the config reference.

If a product is not in the catalog, it cannot be matched yet. Ask for it.

3. Add the workflow

Add .github/workflows/unpatched.yml. This is the file unpatched init --github writes:

# Checks your stack (unpatched.yml) every day and opens a GitHub issue for each
# finding. Use it in a PRIVATE repository. It needs no token of your own.
name: unpatched

on:
  schedule:
    # Every day at 06:17 UTC. The database is rebuilt at 02:41 UTC.
    - cron: "17 6 * * *"
  # Lets you run it by hand from the Actions tab.
  workflow_dispatch:

permissions:
  contents: read
  issues: write

jobs:
  check:
    runs-on: ubuntu-latest
    timeout-minutes: 15
    steps:
      - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
        with:
          persist-credentials: false
      - uses: amet13/unpatched@v3
        # Only for the chat channels you turned on in unpatched.yml.
        # Add each value as a repository secret first (Settings > Secrets and variables > Actions).
        # env:
        #   UNPATCHED_TELEGRAM_TOKEN: ${{ secrets.UNPATCHED_TELEGRAM_TOKEN }}
        #   UNPATCHED_SLACK_WEBHOOK: ${{ secrets.UNPATCHED_SLACK_WEBHOOK }}
        #   UNPATCHED_DISCORD_WEBHOOK: ${{ secrets.UNPATCHED_DISCORD_WEBHOOK }}
        #   UNPATCHED_NTFY_TOKEN: ${{ secrets.UNPATCHED_NTFY_TOKEN }}
        #   UNPATCHED_WEBHOOK_URL: ${{ secrets.UNPATCHED_WEBHOOK_URL }}
        with:
          config: unpatched.yml

The job needs only issues: write (to open and close issues) and contents: read (to read your stack file). It never commits. The database is built at 02:41 UTC; the default run time is 06:17 UTC, a few hours later. Pick another time if you like, but a run before 02:41 UTC uses the day-old database, which is fine.

amet13/unpatched@v3 runs the newest v3.x.y release. To pin one exact release, use its full tag, such as @v3.0.0. See GitHub Action.

4. Commit, push and run it once

Commit both files and push. A scheduled workflow does not run until its first schedule, so start it by hand:

  1. Open the repository on GitHub, then the Actions tab.
  2. Choose unpatched in the list on the left.
  3. Click Run workflow, then the green Run workflow button.

When the run finishes, open it and read the summary: it has the same table you would get from unpatched check --format markdown.

5. Read the first result

The first run creates:

  • the labels unpatched, unpatched:now, unpatched:week, unpatched:eol, unpatched:unknown, unpatched:fyi and unpatched:status
  • one issue for each stack item that has a finding that is not FYI, labelled with its most urgent bucket
  • one unpatched status issue (pinned when GitHub allows it) that lists everything open, the database date and the time of the last run

GitHub emails you about new issues like any other. How to read an issue and the rules behind its label: Findings and rules. What closes an issue: fix it (change the version in unpatched.yml), and the next run closes it with a note. Closing an issue yourself means “I know”; unpatched does not reopen it, and lists it under “Closed but still affected” in the status issue.

If the first run reports unknown product, the id in unpatched.yml is not in the catalog. Read the message: it suggests close matches, and says what to do for an operating-system package (use a purl).

Accept a risk you know about. Every issue ends with the lines to add to unpatched.yml; the next run moves the finding out of the issue and lists it as ignored until the date you set:

ignore:
  - cve: CVE-2024-21762
    reason: "The SSL VPN is switched off"
    until: 2027-01-31

The report notes an entry that matches nothing or has expired. More in the config.

Private repository, secrets and settings

  • Actions must be on. In an organization, check that Actions may run amet13/unpatched, actions/checkout and actions/cache.
  • No token is needed for issues. The workflow’s own GITHUB_TOKEN is used.
  • Secrets are only for chat channels. Add each one under Settings, Secrets and variables, Actions, New repository secret, then uncomment the matching line in the workflow’s env: block. Names and details are on Notifications. A secret never goes in unpatched.yml.
  • Minutes. A run is short: it downloads one binary (cached) and one database. Private repositories on the free plan have 2,000 Actions minutes a month, far more than a daily run uses.
  • Schedules pause in public repositories only. GitHub turns off scheduled workflows after 60 days with no repository activity in a public repository. In a private one they keep running. See the FAQ.

Change what you run

Edit unpatched.yml and push. The next run uses it. To see the result at once, run the workflow by hand again, or run unpatched check on your machine (Start with the command line).

Test without side effects

Run the Action with dry-run: true to print what would happen (each message once, with its channel) and send nothing:

      - uses: amet13/unpatched@v3
        with:
          dry-run: "true"

If something goes wrong

What you seeWhat to do
unknown product "..."Use an id from unpatched catalog list. The message suggests names.
stack[n]: ... YAML errorFix the line it shows. unpatched schema config prints the format.
Exit code 3, “database too old”The daily database build stopped. See Data.
Resource not accessible by integrationThe job lacks issues: write. Copy the permissions: block above.
check fails and names an environment variableA chat channel is on but its secret is not passed in the workflow’s env: block (exit code 2).
A chat message is missing, the rest is fineThe token or URL is wrong, or the service is down. The run exits with code 4 and names the channel.

Start with the command line

The command line is for a laptop, a cron job or a script. It does the same matching as the Action. Without GitHub, it keeps its delivery state in .unpatched/state.json next to your config file.

Install

HowCommand
Shell (Linux, macOS)curl --proto '=https' --tlsv1.2 -LsSf https://github.com/Amet13/unpatched/releases/latest/download/unpatched-installer.sh | sh
PowerShell (Windows)powershell -ExecutionPolicy Bypass -c "irm https://github.com/Amet13/unpatched/releases/latest/download/unpatched-installer.ps1 | iex"
HomebrewDownload unpatched.rb from the latest release, then brew install --formula ./unpatched.rb
From sourcecargo install --git https://github.com/Amet13/unpatched unpatched --locked
ArchiveDownload the .tar.xz (Linux, macOS) or .zip (Windows) from the releases page, check the .sha256 file, and put unpatched on your PATH

The installers put the binary in $CARGO_HOME/bin (usually ~/.cargo/bin). There is no Homebrew tap: the formula is a release asset that you install from a file. Builds exist for Linux (x86_64 and aarch64, static musl), macOS (Intel and Apple silicon) and Windows (x86_64). Every archive has a GitHub build attestation: gh attestation verify <file> --repo Amet13/unpatched.

Check it works:

unpatched --version

Write unpatched.yml

In a terminal, unpatched init asks what you run (it searches the catalog for each name, asks the version and whether it faces the internet) and writes unpatched.yml. With --github it also writes the workflow for the GitHub route. When input is not a terminal, it writes the commented template instead.

$ unpatched init --github
Wrote unpatched.yml
Wrote .github/workflows/unpatched.yml

Next steps:
  1. Edit unpatched.yml: list what you really run, with exact versions.
  2. Run `unpatched check` to see the result.
  3. Keep this repository PRIVATE: unpatched.yml lists your software and versions.
  4. Commit and push both files. The workflow runs every day at 06:17 UTC; start it once from the Actions tab (workflow_dispatch).
  5. For Telegram, Slack, Discord, ntfy or a webhook, add the secrets named in unpatched.yml under Settings > Secrets and variables > Actions, and uncomment the `env:` lines in the workflow.

init refuses to overwrite files; add --force to do it anyway. Find product ids without init:

$ unpatched search forti
ID            NAME          VENDOR    KIND       VERSIONS
fortimanager  FortiManager  Fortinet  appliance  dotted
fortios       FortiOS       Fortinet  appliance  dotted
fortiproxy    FortiProxy    Fortinet  appliance  dotted
fortiweb      FortiWeb      Fortinet  appliance  dotted

Use the id in unpatched.yml: `product: <id>`.

Run a check

unpatched check

The first run downloads the database (a release asset of this repository, hash checked) into your cache folder. Later runs reuse it and refresh it when it is more than 20 hours old. If the refresh fails and an older copy exists, it warns and uses the older one. See Data.

The examples below use a small sample database that is in the repository (fixtures/smoke/unpatched-db.sqlite) and the date 2026-11-24, so you can compare. Your output uses live data. The stack is the template from above.

$ unpatched check
2 to act on (1 today, 1 end of life)

🔴 FortiOS 7.2.5 (Office firewall)  1 today  →  upgrade to 7.2.7 (fixes it)
⚫ Nextcloud 29.0.3  1 end of life  →  upgrade to a supported release

🔴 Fix today (1)

  FortiOS 7.2.5 (Office firewall)
  CVE-2024-21762  A out-of-bounds write vulnerability in Fortinet FortiOS 7.4.0 through 7.4.2, FortiOS 7.2.0 through 7.2.6, FortiOS 7.0.0 through 7.0.13, For…
    Why   In CISA KEV since 2024-02-09 · ransomware use: known · CISA due date 2024-02-16 · SSVC: exploitation is active · SSVC: automatable · EPSS 84.6% (percentile 100) · CVSS 9.6 · internet-facing
    Do    Upgrade to 7.2.7 or later.
    Rule  UNP-KEV, UNP-SSVC-ACTIVE, UNP-EPSS, UNP-CVSS, UNP-EXPOSED · verdict affected

⚫ End of life (1)

  Nextcloud 29.0.3
  nextcloud 29.0.3 is past end of life: the 29 release cycle no longer gets security fixes
    Why   End of life · internet-facing
    Do    Upgrade to a supported release.
    Rule  UNP-EOL · verdict affected

🟢 1 vulnerability checked against your versions: not affected
Database: built 2026-11-23 12:00 UTC, 0 days old
Note: stack[2]: the database has no data for product "postgresql" yet. Run `unpatched db update`; if the id may be wrong, `unpatched catalog list` shows the ids.
Note: stack[3]: the database has no data for product "home-assistant" yet. Run `unpatched db update`; if the id may be wrong, `unpatched catalog list` shows the ids.

Each finding shows the product and your label, the CVE, why it is in its bucket (Why), what to do (Do), and the rule ids. The title of a CVE can be long: it is the CVE’s own description. Read Findings and rules for the buckets.

Formats

--format is one of text (the default), json, markdown and sarif. --output FILE writes to a file instead of the screen. json has a published schema (unpatched schema report), so scripts and agents should read that, not the text. sarif is for code-scanning tools; uploading it to GitHub’s Security tab needs GitHub Advanced Security on private repositories, so unpatched does not do it for you.

The text and Markdown reports start with the counts (87 to act on (14 today, 69 this week, ...), 228 FYI) and show FYI findings only as a count per item, plus a line 228 FYI not shown: run with -v or --format json. With --verbose (or -v) they list the FYI findings too and include the evidence of each source. The JSON always has everything.

--quiet prints nothing on stdout, so a script or cron job stays silent; errors still go to stderr and the exit code is the same. If you give --output FILE, the report is still written there:

unpatched check --quiet --format json --output report.json

The same report as --format json. Parts are cut out for this page and marked with ...: the database sources, the long title and evidence, and the second finding.

{
  "format": 1,
  "generated_at": "2026-11-24T00:00:00Z",
  "db": { ... },
  "summary": {
    "now": 1,
    "week": 0,
    "eol": 1,
    "unknown": 0,
    "fyi": 0,
    "ignored": 0,
    "not_affected": 1
  },
  "findings": [
    {
      "key": "office-firewall/CVE-2024-21762",
      "item": "Office firewall",
      "product": "fortios",
      "product_name": "FortiOS",
      "version": "7.2.5",
      "exposure": "internet",
      "vuln": "CVE-2024-21762",
      "title": "...",
      "verdict": "affected",
      "bucket": "now",
      "rules": [
        "UNP-KEV",
        "UNP-SSVC-ACTIVE",
        "UNP-EPSS",
        "UNP-CVSS",
        "UNP-EXPOSED"
      ],
      "fixed_in": "7.2.7",
      "latest_in_cycle": null,
      "cvss": {
        "version": "3.1",
        "score": 9.6,
        "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H/RL:W/RC:C"
      },
      "signals": {
        "kev": {
          "date_added": "2024-02-09",
          "due_date": "2024-02-16",
          "known_ransomware": true,
          "required_action": "Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.",
          "vendor_project": "Fortinet",
          "product": "FortiOS"
        },
        "epss": {
          "score": 0.8458899855613708,
          "percentile": 0.9971100091934204,
          "date": "2026-11-23"
        },
        "ssvc_exploitation": "active",
        "ssvc_automatable": true
      },
      "evidence": [ ... ],
      "references": [
        "https://fortiguard.com/psirt/FG-IR-24-015",
        "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-21762"
      ]
    },
    ...
  ],
  "ignored": [],
  "items": [
    ...
    ...
  ],
  "notes": [
    "stack[2]: the database has no data for product \"postgresql\" yet. Run `unpatched db update`; if the id may be wrong, `unpatched catalog list` shows the ids.",
    "stack[3]: the database has no data for product \"home-assistant\" yet. Run `unpatched db update`; if the id may be wrong, `unpatched catalog list` shows the ids."
  ]
}

Packages and the network

A purl item in unpatched.yml is looked up live in OSV (see Privacy). --offline skips that and the database download. Catalog products still work with --offline when a database is on disk. Use --db FILE (or $UNPATCHED_DB) to choose the database file.

Exit codes

CodeMeaning
0OK
1check --exit-code found something to fix today
2Usage or configuration error (bad YAML, unknown product, missing secret)
3Data error (no database, database too old, a download failed)
4Delivery error (a chat channel or GitHub issue failed)

--exit-code makes check return 1 when there is a “fix today” finding, so a script or pipeline can stop:

unpatched check --exit-code --quiet || echo "something to fix today"

A database older than stale_fail_days (7 by default) stops the run with exit code 3. --allow-stale overrides that. At stale_warn_days (3) you get a finding that says the data is old.

Send messages from the command line

--notify sends the findings to the channels in unpatched.yml. Outside GitHub Actions it uses the local state file to avoid repeats. --dry-run prints each message that would be sent (the channel, then its text) and what would be written, and sends and writes nothing. A missing secret is only a warning in a dry run. Secrets come from environment variables. See Notifications.

export UNPATCHED_NTFY_TOKEN=...   # only if your ntfy topic needs one
unpatched check --notify

A cron entry that runs it every morning (--quiet keeps cron from mailing you the report on stdout; errors still reach you):

17 6 * * *  cd /home/me/stack && unpatched check --notify --quiet

To keep a copy of the report as well:

17 6 * * *  cd /home/me/stack && unpatched check --notify --quiet --format json --output report.json

--github makes the command keep issues and state in a GitHub repository (it needs GITHUB_TOKEN and GITHUB_REPOSITORY). It is on by itself inside GitHub Actions.

Look closer

Show the evidence for a CVE, and what a rule means:

$ unpatched explain CVE-2024-21762
CVE-2024-21762
  A out-of-bounds write vulnerability in Fortinet FortiOS 7.4.0 through 7.4.2, FortiOS 7.2.0 through 7.2.6, FortiOS 7.0.0 through 7.0.13, FortiOS 6.4.0 through 6.4.14, FortiOS 6.2.0 through 6.2.15, FortiOS 6.0 all versions, FortiProxy 7.4.0 through 7.4.2, FortiProxy 7.2.0 through 7.2.8, FortiProxy 7.0.0 through 7.0.14, FortiProxy 2.0.0 through 2.0.13, FortiProxy 01.02 all versions, FortiProxy 1.2 all versions, FortiProxy 01.01 all versions, FortiProxy 1.1 all versions, FortiProxy 01.00 all versions allows attacker to execute unauthorized code or commands via specifically crafted requests
  status: published · published 2024-02-09 · modified 2026-10-22
  CVSS 3.1: 9.6 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H/RL:W/RC:C

Exploitation signals
  CISA KEV: added 2024-02-09, due 2024-02-16, ransomware use: known
  EPSS: 84.6% (percentile 100) on 2026-11-23
  SSVC exploitation: Active, automatable: yes
...
$ unpatched explain UNP-KEV
UNP-KEV: Known to be exploited

CISA lists this vulnerability in its Known Exploited Vulnerabilities catalog, so attackers are using it now. Fix it today.

This rule puts an affected finding in: Fix today (now).

With a stack file, explain CVE-... also shows what the CVE means for your items, and explain <item>/<CVE> explains one finding by its key (the key is in the JSON report and in the hidden marker of each issue). It ends with the lines to add to unpatched.yml to accept the risk. unpatched explain --rules lists every rule id.

Show a catalog entry, the names it matches in each source:

$ unpatched catalog show fortios
# catalog/fortios.yml
# Write the version like: 7.2.5 (three numbers; leave out 'build 1517')
id: fortios
name: FortiOS
vendor: Fortinet
kind: appliance
versioning: dotted
match:
  cpe:
  - fortinet:fortios
  cna:
  - vendor: Fortinet
    product: FortiOS
  - vendor: Fortinet
    product: Fortinet FortiOS, FortiProxy, FortiSwitchManager
  - vendor: Fortinet
    product: FortiOS-6K7K
  kev:
  - vendorProject: Fortinet
    product: FortiOS
  - vendorProject: Fortinet
    product: FortiOS and FortiProxy
  - vendorProject: Fortinet
    product: FortiOS and FortiProxy SSL-VPN
  - vendorProject: Fortinet
    product: FortiOS and FortiADC
eol: fortios
aliases:
- fortigate
- fortinet firewall
homepage: https://www.fortinet.com/products/fortigate/fortios
version_hint: 7.2.5 (three numbers; leave out 'build 1517')
checked: 2026-11-23

Check how old the database is:

$ unpatched db info
File:             fixtures/smoke/unpatched-db.sqlite
Schema version:   1
Built:            2026-11-23 12:00 UTC (0 days old)
Products:         7 (6 found in the data)
Vulnerabilities:  7
Sources:
  CISA KEV        ok  7 records   2026-11-23 12:00 UTC
  EPSS            ok  8 records   2026-11-23 12:00 UTC
  NVD             ok  2 records   2026-11-23 12:00 UTC  1 feeds, 7 records scanned
  CVE.org         ok  14 records  2026-11-23 12:00 UTC
  endoflife.date  ok  1 records   2026-11-23 12:00 UTC
  Exploit-DB      ok  9 records   2026-11-23 12:00 UTC
  Metasploit      ok  9 records   2026-11-23 12:00 UTC

unpatched db update downloads the latest database now. unpatched db build builds one from the sources yourself (slow; the repository does it daily), for people who do not want to trust the published one. The command reference lists every command and option.

Start with Docker

The image ghcr.io/amet13/unpatched holds the unpatched binary and nothing else (a static build on a distroless base, running as a non-root user). It is for a homelab server or a NAS that can run a scheduled container, when you do not want GitHub Actions.

Tags: a full version (3.0.0), 3.0, 3 and latest. Pin a version if you want upgrades to be your decision. The image is built for linux/amd64 and linux/arm64.

Run it

Make a folder with your unpatched.yml (how to write it) and run the image with that folder mounted at /work:

docker run --rm \
  --user "$(id -u):$(id -g)" \
  -e UNPATCHED_CACHE_DIR=/work/.cache \
  -v "$PWD:/work" \
  ghcr.io/amet13/unpatched

With no arguments the image runs unpatched check --notify. Why each option:

  • -v "$PWD:/work": the container’s working directory is /work, where it looks for unpatched.yml and where it saves .unpatched/state.json (what was already sent, so you get no repeats).
  • --user "$(id -u):$(id -g)": files it writes in the folder belong to you.
  • UNPATCHED_CACHE_DIR=/work/.cache: the database (a few tens of MB) is kept there between runs instead of being downloaded each time.

Add .cache/ and .unpatched/ to your .gitignore if the folder is a repository. Keep it private: unpatched.yml lists your software.

Any other command works by adding it after the image name:

docker run --rm -v "$PWD:/work" ghcr.io/amet13/unpatched check --format markdown
docker run --rm -v "$PWD:/work" ghcr.io/amet13/unpatched explain CVE-2024-21762
docker run --rm -v "$PWD:/work" ghcr.io/amet13/unpatched search nextcloud

Secrets

Chat channels need a secret in an environment variable (names are on Notifications). Pass it through from your shell or an env file, so it never appears in the command line:

docker run --rm \
  --user "$(id -u):$(id -g)" \
  -e UNPATCHED_CACHE_DIR=/work/.cache \
  -e UNPATCHED_TELEGRAM_TOKEN \
  -v "$PWD:/work" \
  ghcr.io/amet13/unpatched

or --env-file unpatched.env with the file outside any repository.

GitHub issues are not used outside GitHub Actions, unless you set GITHUB_TOKEN and GITHUB_REPOSITORY and add --github. With plain Docker, the chat channels and the report are what you have.

On a schedule

Cron on the host:

17 6 * * *  cd /srv/unpatched && docker run --rm --user 1000:1000 -e UNPATCHED_CACHE_DIR=/work/.cache --env-file /srv/unpatched.env -v /srv/unpatched:/work ghcr.io/amet13/unpatched --quiet check --notify

(Use your own user id.) A Compose service that you start with docker compose run --rm unpatched:

services:
  unpatched:
    image: ghcr.io/amet13/unpatched:0
    user: "1000:1000"
    environment:
      UNPATCHED_CACHE_DIR: /work/.cache
      UNPATCHED_TELEGRAM_TOKEN: ${UNPATCHED_TELEGRAM_TOKEN}
    volumes:
      - ./:/work

The exit code tells your scheduler how it went: see Exit codes. A run that finds something to fix today only exits with 1 when you add --exit-code.

Use it from an MCP client

The MCP server runs in the image too, for agents that start servers with Docker. See With an agent.

Build it yourself

docker build -f docker/Dockerfile -t unpatched .

Config reference

unpatched.yml says what you run and where to tell you. It is read by every command (--config FILE chooses another path). Keep it in a private repository.

The file is YAML. Unknown keys are an error, so a typo such as exposur: is reported with its line instead of being ignored. Only version and stack are required. unpatched schema config prints the JSON Schema, which most editors can use for completion; it is also in schema/unpatched.schema.json.

A complete example

version: 1

stack:
  - product: fortios
    version: 7.2.5
    exposure: internet
    name: Office firewall
  - product: fortios
    version: 7.0.13
    name: Lab firewall
  - product: nextcloud
    version: 29.0.3
    exposure: internet
  - product: postgresql
    version: "15.4"
  - purl: pkg:deb/debian/openssl@3.0.11-1~deb12u1?distro=bookworm

ignore:
  - cve: CVE-2024-1234
    product: nextcloud
    reason: The app is disabled
    until: 2027-01-31

notify:
  issues: true
  telegram:
    chat: "123456789"
  ntfy:
    topic: my-unpatched-topic

digest: monday

thresholds:
  epss_week: 0.1
  cvss_week: 8.0

Keys

Top level

KeyTypeRequiredDefaultWhat it does
versionintegeryesnoneFile format version. Only 1 exists.
stacklist of stack[]yesnoneThe software you run, one entry per instance.
ignorelist of ignore[]nononeRisks you accept on purpose, each with a reason and an end date.
notifyobject (see notify)nononeChannels. Secrets (tokens, webhook URLs) never go here: they come from environment variables named in the docs (UNPATCHED_TELEGRAM_TOKEN, …).
digeststringnomondayDay of the weekly digest (monday … sunday), or daily.
thresholdsobject (see thresholds)nononeWhen a finding gets more urgent.

stack[]

One thing you run. Give either product (a catalog id) or purl (a package).

KeyTypeRequiredDefaultWhat it does
productstringnononeCatalog product id (unpatched catalog list).
purlstringnononePackage URL with version, e.g. pkg:deb/debian/openssl@3.0.11-1~deb12u1?distro=bookworm.
versionstringnononeRequired with product; taken from the purl otherwise.
exposureinternet or internalnointernalWhether the item is reachable from the internet. It can move a finding up a bucket.
namestringnononeYour label, e.g. “Office firewall”. Tells instances apart.

ignore[]

Accept a risk on purpose. until is required: nothing is ignored forever.

KeyTypeRequiredDefaultWhat it does
cvestringyesnoneThe CVE (or advisory) id to ignore.
productstringnononeOnly for this product id (or stack item name); all items when empty.
reasonstringyesnoneWhy you accept the risk. Shown in the report.
untildate (YYYY-MM-DD)yesnoneThe last day the entry applies. After it the finding comes back.

notify

Channels. Secrets (tokens, webhook URLs) never go here: they come from environment variables named in the docs (UNPATCHED_TELEGRAM_TOKEN, …).

KeyTypeRequiredDefaultWhat it does
issuestrue or falsenotrueGitHub Issues in the repository the Action runs in.
telegramobject (see notify.telegram)nononeSend messages to a Telegram chat.
slacktrue or falsenofalseSlack incoming webhook (URL in UNPATCHED_SLACK_WEBHOOK).
discordtrue or falsenofalseDiscord webhook (URL in UNPATCHED_DISCORD_WEBHOOK).
ntfyobject (see notify.ntfy)nononeSend messages to an ntfy topic.
webhooktrue or falsenofalseGeneric JSON webhook (URL in UNPATCHED_WEBHOOK_URL).

notify.telegram

KeyTypeRequiredDefaultWhat it does
chatstringyesnoneChat id. The bot token comes from UNPATCHED_TELEGRAM_TOKEN.

notify.ntfy

KeyTypeRequiredDefaultWhat it does
topicstringyesnoneThe ntfy topic to publish to.
serverstringnohttps://ntfy.shThe ntfy server.

thresholds

KeyTypeRequiredDefaultWhat it does
epss_weeknumberno0.05EPSS score at or above which an affected finding is at least week.
cvss_weeknumberno9.0CVSS base score at or above which an affected finding is at least week.
stale_warn_daysintegerno3Days after which the database counts as stale (warning).
stale_fail_daysintegerno7Days after which a run fails because the data is too old.
cvss_week_exposednumberno7.0CVSS base score at or above which an affected, internet-facing finding is at least week.

Unknown keys are an error: additionalProperties is false everywhere, so a typo is caught instead of ignored. The same schema is in schema/unpatched.schema.json and is printed by unpatched schema config.

The stack

Each entry is one thing you run. Give either product or purl, never both.

A catalog product has product (an id from unpatched catalog list) and version. This is the better choice when the product is in the catalog: matching is aware of the product’s version scheme, end of life dates come from endoflife.date, and findings can name the fixed version.

A package has purl, a package URL with the version after @: pkg:deb/debian/openssl@3.0.11-1~deb12u1?distro=bookworm, pkg:apk/alpine/curl@8.5.0-r0?distro=alpine-3.19, pkg:pypi/django@3.2.0, pkg:npm/lodash@4.17.15. Packages are looked up live in OSV, so they need the network and are skipped with --offline. See Privacy for what is sent.

Several instances of one product are several entries. Give each a name, so findings say which one. The name also becomes the start of the finding’s key (office-firewall/CVE-2024-21762).

Versions are compared by the product’s own scheme (dotted numbers, semver, calendar versions, Debian, RPM, APK, PEP 440). If a version cannot be read in that scheme, the verdict is unknown with the reason, never a guess. Quote versions that YAML could read as numbers ("15.4").

exposure is internet (reachable from the internet: VPN portals, web apps, mail servers) or internal, the default. It changes the bucket: an affected internet-facing finding with CVSS ≥ 7.0 (cvss_week_exposed) is at least this week; with a public exploit it is fix today, whatever the score. Mark only what really is reachable.

Ignore entries

An ignore entry accepts a risk on purpose, like a VEX statement “not affected because…”:

ignore:
  - cve: CVE-2024-1234
    product: nextcloud          # optional: a product id or a stack `name`
    reason: The app is disabled
    until: 2027-01-31
  • cve, reason and until are required. There is no “ignore forever”: until is the last day the entry applies.
  • Without product, the entry covers every stack item that the CVE affects. With it, only the item whose product id or name matches.
  • An ignored finding leaves the main report and is listed under “ignored”, with the reason and date (rule UNP-IGNORED). Its GitHub issue is closed with a note.
  • When the date has passed, the finding is back in its bucket with the rule UNP-IGNORE-EXPIRED, and the issue is reopened.
  • The report has a note for an entry that does nothing: ignore[2]: CVE-2099-1 matches no finding. Check the id or remove it. (the number counts from 0), or ignore[1] expired on 2020-01-01; the finding is back.

Thresholds

Every number has a default; set only what you want to change.

thresholds:
  epss_week: 0.05
  cvss_week: 9.0
  cvss_week_exposed: 7.0
  stale_warn_days: 3
  stale_fail_days: 7
  • epss_week: an affected finding with an EPSS score at or above this is at least “this week” (rule UNP-EPSS). EPSS is the estimated probability of exploitation in the next 30 days, from 0 to 1.
  • cvss_week: the same for the CVSS base score (rule UNP-CVSS).
  • cvss_week_exposed: the CVSS base score at or above which an affected internet-facing finding is at least week (rule UNP-EXPOSED, default 7.0). With a public exploit it is now, whatever the score.
  • stale_warn_days: when the database is older than this, the report has a finding that says so (rule UNP-STALE-DATA).
  • stale_fail_days: when it is older than this, the run stops with exit code 3. check --allow-stale overrides it.

The “fix today” conditions (KEV, SSVC active, public exploit on an internet-facing item) have no threshold. See Findings and rules.

Notifications

notify:
  issues: true          # GitHub issues; the default
  telegram:
    chat: "123456789"   # token in UNPATCHED_TELEGRAM_TOKEN
  slack: true           # webhook URL in UNPATCHED_SLACK_WEBHOOK
  discord: true         # webhook URL in UNPATCHED_DISCORD_WEBHOOK
  ntfy:
    topic: my-topic     # optional: server (default https://ntfy.sh); token in UNPATCHED_NTFY_TOKEN
  webhook: true         # URL in UNPATCHED_WEBHOOK_URL, optional signing secret in UNPATCHED_WEBHOOK_SECRET

digest: monday          # monday ... sunday, or daily

Secrets are never read from this file. If a channel is turned on and its variable is missing, the run stops with exit code 2 and names the variable. Each channel, with an example message, is on Notifications.

digest is the day of the weekly digest sent to chat channels. It does not delay “fix today” findings, which are sent once as soon as they appear.

Findings and rules

A finding is one thing you run and one vulnerability that matters for it. It has a verdict (is your version affected?), a bucket (how soon to act) and rules (why it is in that bucket). The end of life of a release and a few problems with the data are findings too.

Verdicts

VerdictMeaning
affectedYour version is inside an affected range that at least one source gives.
fixedIt was affected and your version is now at or past the fix. Used to close issues.
not-affectedAt least one source has data and every source with data says your version is outside its ranges. Not reported.
unknownThe data cannot say: no source has version data yet (new CVEs often wait for NVD analysis), your version cannot be read in the product’s scheme, or the product is not found in the data.

Every source is judged on its own, then the verdicts are combined. One source saying affected is enough. not-affected needs evidence: having no data is never “not affected”. When sources disagree the finding is reported and the rule UNP-CONFLICT is added, so you can read the evidence and decide.

An unknown is not shown for every vulnerability that lacks data: that would bury the report. It is shown only when the signals would have made it “fix today” or “this week” if it were confirmed (for example a CVE in KEV for your product with no version range yet). The reason is given in the finding.

Buckets

The bucket is decided by evidence of exploitation first, not by severity.

The report says the bucket in words, and the JSON keeps short ids. They mean the same:

JSON (bucket)In the text report, issues and chatMeaning
nowtodayFix today
weekthis weekFix this week
eolend of lifeThe release is past its end of life
unknownunknownThe data cannot say yet
fyiFYIAffected, low urgency

The first line of a report counts what you can act on, then the FYI findings: 87 to act on (14 today, 69 this week, 3 end of life, 1 unknown), 228 FYI. “To act on” is everything except FYI. The line “990 vulnerabilities checked against your versions: not affected” counts the vulnerabilities that were compared with your versions and found not to affect you; it does not count the findings above.

BucketLabelWhen (for an affected finding)
nowFix todayIn CISA KEV, or CISA SSVC says exploitation is active, or a public exploit exists (Exploit-DB or Metasploit) and the item is exposure: internet.
weekFix this weekEPSS at or above epss_week (default 0.05), or CVSS at or above cvss_week (default 9.0), or the item is exposure: internet and CVSS is at or above cvss_week_exposed (default 7.0). Exposure alone is not enough, and an unknown CVSS score does not count.
fyiFYIAny other affected finding. No issue is opened for it. The text and Markdown reports and the status issue show only a count per item; -v and --format json list them.
eolEnd of lifeThe release cycle of the item is past its end of life (endoflife.date). One finding per item, not one per CVE.
unknownUnknownAn unknown verdict that would have been now or week if confirmed, or a data problem (product not found, stale database).

The first matching bucket wins, from the top. A now finding lists the week rules too, so you see every reason. Thresholds can be changed in the config; the other conditions cannot. The reasoning (why not CVSS) is in the comments of crates/unpatched-core/src/matching.rs.

For an affected finding, fixed_in is the lowest version that fixes it, taken from the upper bound of the affected range. latest_in_cycle is the newest release in your release cycle from endoflife.date, shown when it is newer. When a source only gives an inclusive upper bound (“up to 9.8”), fixed_after holds that bound and the advice reads “upgrade to a release after 9.8”. When your release branch has no fix in the data but a newer one does, fix_other_train names it and the advice says so.

Read a GitHub issue

There is one issue per stack item, not one per CVE. The title is the most urgent bucket’s emoji, the product and version, how many findings are in that bucket and the one upgrade that helps most, like 🔴 FortiOS 7.2.5 (Office firewall): 14 to fix today — upgrade to 7.2.12. Labels: unpatched and the label of the most urgent bucket (unpatched:now, unpatched:week, unpatched:eol or unpatched:unknown). This is the body the renderer writes for an item with a “fix today” finding (the renderer’s own test fixture, so the CVE text and numbers differ from the sample database):

🔴 FortiOS 7.2.5 (Office firewall)  1 today  →  upgrade to 7.2.7 (fixes it)

This item is marked as internet-facing.

### 🔴 Fix today (1)

- **CVE-2024-21762** Out-of-bounds write in sslvpnd allows remote code execution — In CISA KEV since 2024-02-09 · ransomware use: known · CISA due date 2024-02-16 · SSVC: exploitation is active · SSVC: automatable · EPSS 94.1% (percentile 100) · public exploit: fortios_sslvpnd · CVSS 9.8 · internet-facing — Upgrade to 7.2.7 or later (7.2.11 is current in this branch).

---

unpatched keeps this issue up to date and closes it once the item has nothing left to fix (when the version in unpatched.yml is fixed).

To accept this risk, add to unpatched.yml:

```yaml
ignore:
  - cve: CVE-…
    reason: …
    until: YYYY-MM-DD
```

<!-- unpatched:item=office-firewall -->
  • The first line is the recommendation for the item: counts per bucket and the smallest version that fixes the most findings. It says whether that upgrade clears everything (fixes all 11) or not (fixes 61 of 110; 49 have no fix on 7.2). FYI findings are only counted, not listed.
  • Then one section per bucket lists its findings: id, a one-sentence title, why it is in that bucket, and what to do. A long list stops after about 60 entries with “…and N more (run unpatched check for all)”.
  • The hidden comment at the end (<!-- unpatched:item=... -->) is how unpatched finds the issue again. Do not remove it.

When an item has no now, week, eol or unknown finding left (you upgraded, the advisories were withdrawn, or ignore entries cover them), unpatched comments on the issue and closes it. If findings come back, an issue that unpatched closed is reopened. An issue that you closed is left closed, and is listed under “Closed but still affected” in the status issue.

The status issue

One issue called unpatched status (label unpatched:status, pinned when GitHub allows it) is rewritten on every run. It has the count per bucket (FYI only as a count), the open findings with links to their issues, issues you closed that are still affected, notes, the date of the database and the time of the last run. It also holds a hidden block with what was already sent to chat channels, so messages are not repeated. Do not delete it: the next run would make a new one and may repeat messages once. More in Notifications.

Read the JSON report

unpatched check --format json prints the report. It has a published schema: unpatched schema report (also schema/report.schema.json). Scripts and agents should read this, not the text output. One, with parts cut out for this page and marked with ... (the database sources, the long title and evidence, and the second finding):

{
  "format": 1,
  "generated_at": "2026-11-24T00:00:00Z",
  "db": { ... },
  "summary": {
    "now": 1,
    "week": 0,
    "eol": 1,
    "unknown": 0,
    "fyi": 0,
    "ignored": 0,
    "not_affected": 1
  },
  "findings": [
    {
      "key": "office-firewall/CVE-2024-21762",
      "item": "Office firewall",
      "product": "fortios",
      "product_name": "FortiOS",
      "version": "7.2.5",
      "exposure": "internet",
      "vuln": "CVE-2024-21762",
      "title": "...",
      "verdict": "affected",
      "bucket": "now",
      "rules": [
        "UNP-KEV",
        "UNP-SSVC-ACTIVE",
        "UNP-EPSS",
        "UNP-CVSS",
        "UNP-EXPOSED"
      ],
      "fixed_in": "7.2.7",
      "latest_in_cycle": null,
      "cvss": {
        "version": "3.1",
        "score": 9.6,
        "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H/RL:W/RC:C"
      },
      "signals": {
        "kev": {
          "date_added": "2024-02-09",
          "due_date": "2024-02-16",
          "known_ransomware": true,
          "required_action": "Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.",
          "vendor_project": "Fortinet",
          "product": "FortiOS"
        },
        "epss": {
          "score": 0.8458899855613708,
          "percentile": 0.9971100091934204,
          "date": "2026-11-23"
        },
        "ssvc_exploitation": "active",
        "ssvc_automatable": true
      },
      "evidence": [ ... ],
      "references": [
        "https://fortiguard.com/psirt/FG-IR-24-015",
        "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-21762"
      ]
    },
    ...
  ],
  "ignored": [],
  "items": [
    ...
    ...
  ],
  "notes": [
    "stack[2]: the database has no data for product \"postgresql\" yet. Run `unpatched db update`; if the id may be wrong, `unpatched catalog list` shows the ids.",
    "stack[3]: the database has no data for product \"home-assistant\" yet. Run `unpatched db update`; if the id may be wrong, `unpatched catalog list` shows the ids."
  ]
}

summary counts the findings per bucket, plus ignored and not_affected. Each finding has its key (stable across runs), verdict, bucket, rules, fixed_in, fixed_after, fix_other_train, latest_in_cycle, cvss, signals (KEV, EPSS, SSVC, exploits), evidence per source and references. notes lists problems with the run itself: an unknown product id, a stale database, a version that cannot be compared.

Accept a risk

Every issue, and unpatched explain <finding key>, ends with how to accept the risk on purpose. Add this to unpatched.yml:

ignore:
  - cve: CVE-2024-21762
    reason: "The SSL VPN is switched off"
    until: 2027-01-31

until is required. The report tells you when an entry does nothing: ignore[2]: CVE-2099-1 matches no finding. Check the id or remove it. and ignore[1] expired on 2020-01-01; the finding is back. More in the config.

Explain a finding

unpatched explain UNP-KEV                         # what a rule means
unpatched explain CVE-2024-21762                  # the record: ranges per source, signals
unpatched explain office-firewall/CVE-2024-21762  # one finding of your stack, with its evidence

The finding key is <item>/<vulnerability>, where the item is your name (lowercased, spaces become -) or the product id. unpatched explain --rules lists every rule id. Examples are on Start with the command line.

The examples on this page come from a small sample database (fixtures/smoke/unpatched-db.sqlite) and the date 2026-11-24. The issue example above comes from the renderer’s own test fixture, so its CVE text and numbers differ from the other examples.

Every rule

Rule ids are part of the public interface: they do not change meaning, and renaming one would be a breaking change.

RuleTitleWhat it meansEffect
UNP-KEVKnown to be exploitedCISA lists this vulnerability in its Known Exploited Vulnerabilities catalog, so attackers are using it now. Fix it today.This rule puts an affected finding in: Fix today (now).
UNP-SSVC-ACTIVEExploitation is activeCISA’s SSVC assessment says exploitation of this vulnerability is active. Treat it like a known exploited vulnerability and fix it today.This rule puts an affected finding in: Fix today (now).
UNP-EXPLOIT-EXPOSEDPublic exploit and reachable from the internetA public exploit exists (Exploit-DB or Metasploit) and this item is marked as internet-facing. Anyone can try it against you, so fix it today.This rule puts an affected finding in: Fix today (now).
UNP-EPSSLikely to be exploited soonThe EPSS score is at or above your threshold (default 0.05), which means exploitation in the next 30 days is more likely than for most vulnerabilities. Fix it this week.This rule puts an affected finding in: This week (week), unless a Fix today rule applies.
UNP-CVSSCritical severityThe CVSS base score is at or above your threshold (default 9.0). Severity alone does not mean it is being exploited, but it is serious enough to fix this week.This rule puts an affected finding in: This week (week), unless a Fix today rule applies.
UNP-EXPOSEDAffected, reachable from the internet and severeThis version is affected, the item is marked as internet-facing and the CVSS base score is at or above your exposed threshold (default 7.0). Attackers can reach it, so fix it this week.This rule puts an affected, internet-facing finding with CVSS at or above cvss_week_exposed in: This week (week), unless a Fix today rule applies.
UNP-AFFECTEDAffected, no sign of exploitationThis version is affected, but nothing says it is exploited, it is not both internet-facing and severe, and the scores are below your thresholds. Fix it with your normal updates.This rule puts an affected finding in: FYI (fyi).
UNP-EOLEnd of lifeThis release cycle no longer gets security fixes (endoflife.date). New vulnerabilities will not be patched, so plan an upgrade to a supported cycle.This rule makes the finding: End of life (eol), one per stack item.
UNP-UNKNOWN-NO-RANGESNo usable version data yetNo source names the affected versions: new CVEs often wait for NVD analysis, and a record that only says “all versions” or gives no version is not a range anyone checked. It could matter, so check the advisory yourself. The finding goes away when data arrives.This rule makes the verdict unknown; shown when the signals would make it Fix today or This week.
UNP-UNKNOWN-VERSIONVersion cannot be comparedYour configured version does not parse under this product’s version scheme. unpatched does not guess, so check the version in unpatched.yml (unpatched catalog show says how the product writes versions).This rule makes the verdict unknown; shown when the signals would make it Fix today or This week.
UNP-UNKNOWN-DATAA version in the data cannot be readA source gave a version bound that does not parse under this product’s version scheme, so it cannot be compared. Your own version is fine. Read the advisory and check it by hand.This rule makes the verdict unknown; shown when the signals would make it Fix today or This week.
UNP-CONFLICTSources disagreeOne source says this version is affected and another says it is not. A source that only says “all versions” does not outweigh one with exact ranges, so the verdict is unknown. Read the evidence to see which source to trust.This rule is added when sources disagree; it makes the verdict unknown when the only “affected” comes from a source that says all versions.
UNP-UNVERIFIED-PRODUCTProduct not found in the dataThe catalog’s names for this product match no record in the database, so an empty result would not mean you are safe. Check the catalog entry or report it.This rule makes a finding in: Unknown, so an empty result is never read as safe.
UNP-IGNOREDIgnored on purposeAn ignore entry in unpatched.yml accepts this risk until its date. The finding is listed separately and comes back when the entry expires.This rule moves the finding to the ignored list.
UNP-IGNORE-EXPIREDIgnore entry has expiredAn ignore entry matched this finding but its date has passed, so the finding is back. Fix the issue or write a new entry with a new date.This rule is added when an ignore entry ran out.
UNP-STALE-DATAData is out of dateThe vulnerability database is older than your warning threshold (default 3 days). Results may miss new vulnerabilities, so check that the daily database build is running.This rule makes a finding in: Unknown about the database itself.

Notifications

unpatched tells you in three kinds of message:

MessageWhen
AlertA finding that is “fix today” is new, or has just become “fix today”. Sent once.
DigestOn your digest day (digest: in unpatched.yml, default monday), even when nothing needs action: the footer says how many items were checked and how old the database is, so silence never means broken. Also sent if the last one is 7 or more days old.
ResolvedA finding that you were told about is gone.

GitHub issues work differently: one issue per stack item, opened and closed as the item’s findings change. See Findings and rules.

Chat channels are opt-in. Add them in unpatched.yml and give each its secret in an environment variable. In GitHub Actions, add a repository secret and pass it in the workflow’s env: block (the workflow template has the lines, commented out). Elsewhere, export the variable. A secret is never read from unpatched.yml, and never printed in logs or error messages.

If a channel is on and its variable is missing, check --notify stops with exit code 2 and names every missing variable at once. If a channel fails to deliver (wrong token, service down), the others are still delivered and the run exits with code 4.

Channels

ChannelIn unpatched.ymlEnvironment variable
GitHub issuesissues: true (default)none; the workflow’s GITHUB_TOKEN and issues: write
Telegramtelegram: { chat: "123456789" }UNPATCHED_TELEGRAM_TOKEN (the bot token)
Slackslack: trueUNPATCHED_SLACK_WEBHOOK (an incoming webhook URL)
Discorddiscord: trueUNPATCHED_DISCORD_WEBHOOK (a webhook URL)
ntfyntfy: { topic: "my-topic" }UNPATCHED_NTFY_TOKEN, optional (for a protected topic)
Webhookwebhook: trueUNPATCHED_WEBHOOK_URL; UNPATCHED_WEBHOOK_SECRET, optional

GitHub issues

On by default inside GitHub Actions (and with check --github). Needs the job permission issues: write and nothing else. Outside GitHub it is skipped. FYI findings do not get an issue; the others do, with a label for the bucket. Set issues: false to turn it off, for example if you only want chat messages.

Telegram

Create a bot with @BotFather and copy its token into UNPATCHED_TELEGRAM_TOKEN. Send the bot a message, then find your chat id (for example with https://api.telegram.org/bot<token>/getUpdates) and put it in chat. Keep the id quoted. Messages are sent with MarkdownV2 and are cut to fit Telegram’s length limit (“…and 3 more”).

Slack

Create an incoming webhook for a channel and store its URL in UNPATCHED_SLACK_WEBHOOK.

Discord

In the channel settings, Integrations, Webhooks, make a webhook and store its URL in UNPATCHED_DISCORD_WEBHOOK. Messages do not mention anyone.

ntfy

Set topic. The default server is https://ntfy.sh; use server for your own. If the topic needs authentication, put the access token in UNPATCHED_NTFY_TOKEN. Anyone who knows a public topic name can read it, so choose a long random name.

notify:
  ntfy:
    topic: unpatched-8f3k29dkq1
    server: https://ntfy.example.org

Webhook

A JSON POST to the URL in UNPATCHED_WEBHOOK_URL, for your own tooling:

{
  "event": "alert",
  "generated_at": "2026-11-24T06:17:00Z",
  "summary": { "now": 1, "week": 0, "eol": 1, "unknown": 0, "fyi": 0, "ignored": 0, "not_affected": 1 },
  "findings": [ { "key": "office-firewall/CVE-2024-21762", "bucket": "now" } ],
  "report_url": "https://github.com/me/stack/actions/runs/123"
}

event is alert, digest or resolved; each finding is shaped like a finding of the JSON report (the example above is cut down). A resolved message has a resolved list of keys. report_url is set inside GitHub Actions. If you set UNPATCHED_WEBHOOK_SECRET, the request carries X-Unpatched-Signature: sha256=<hex>, the HMAC-SHA256 of the exact body bytes with that secret. Check it before you trust the request.

Example messages

An alert (plain text; Slack, Discord and Telegram get the same lines with their own bold and escaping). This is the renderer’s own test fixture:

unpatched · 1 to fix today

🔴 Fix today  FortiOS 7.2.5 (Office firewall): CVE-2024-21762, exploited, upgrade to 7.2.7+

🟢 1,412 vulnerabilities checked against your versions: not affected
Database: built 2026-11-22 02:41 UTC, 1 day old
https://example.com/r

A digest, with one line per item and bucket, (new) for findings since the last digest, and a footer that says it is still running:

unpatched · week 48

🔴  FortiOS 7.2.5 (Office firewall): 1 today → upgrade to 7.2.7 (fixes it)
🟡  Nextcloud 29.0.3: 2 this week → upgrade to 29.0.8 (fixes all 2)
⚫  PostgreSQL 13.12: 1 end of life → upgrade to a supported release
❔  Home Assistant 2024.10.1: 1 unknown
⚪  Redis 7.2.1: 1 FYI → upgrade to 7.2.4 (fixes it)

🟢 1,412 vulnerabilities checked against your versions: not affected
Database: built 2026-11-22 02:41 UTC, 1 day old

How state works

unpatched must not repeat itself, and must close what is fixed. It needs to remember what it already told you, and it does this without committing anything to your repository.

In GitHub Actions the state lives in GitHub itself:

  • Each finding issue has a hidden marker, <!-- unpatched:finding=<key> -->. A run finds its issues by that marker, and creates, updates, closes or reopens them to match the report.
  • The pinned unpatched status issue holds, in a hidden JSON block, which findings were seen, in which bucket, and which channels were told. That is how an alert is sent once, and how a chat channel you add later still gets the open “fix today” findings once.
  • The Action never commits and needs only issues: write.

If you delete the status issue, the next run makes a new one and may repeat messages once. A finding that becomes “fix today” is announced even if it was reported in a lower bucket before.

On the command line or in Docker the same state is kept in .unpatched/state.json, next to your config file. Keep that file between runs. A run with --dry-run writes nothing.

The state is as durable as the issues or the file. Both stores hold the same information. Treat both as private, like unpatched.yml: they name your items and versions.

Catalog

Sources name the same product in different ways: NVD writes CPE names (fortinet:fortios), CVE records use the vendor’s own words (Fortinet / FortiOS), CISA KEV has its own pair, and endoflife.date has a slug. The catalog is one small YAML file per product (catalog/<id>.yml) that ties these names together, and says how the product’s versions are compared.

You use the catalog id in unpatched.yml:

stack:
  - product: fortios
    version: 7.2.5

Find an id with unpatched search <words> (it matches the id, name, vendor and aliases such as fortigate) or unpatched catalog list. unpatched catalog show <id> prints the whole entry.

What is not covered

The catalog covers named products: appliances, servers, apps and the like. It does not cover:

  • WordPress plugins and themes. wordpress is the core only.
  • Operating-system packages, other than ones you name with a purl. There is no debian, ubuntu or windows product. Write the package as a purl, for example pkg:deb/debian/openssl@3.0.11-1~deb12u1?distro=bookworm; it is looked up in OSV. unpatched does not discover packages for you.
  • Libraries and anything else that is not listed below, unless you give it as a purl.

Supported products

IdNameVendorKindVersionsEnd of lifeChecked
apache-http-serverApache HTTP ServerApache Software Foundationserverdottedtracked (apache-http-server)2026-11-23
bitbucketAtlassian Bitbucket (Data Center and Server)Atlassianserverdottedtracked (bitbucket)2026-11-23
caddyCaddyCaddyserversemvertracked (caddy)2026-11-23
check-point-quantumCheck Point Quantum Security GatewayCheck Pointappliancedottednot tracked2026-11-23
cisco-asaCisco Adaptive Security Appliance (ASA) SoftwareCiscoappliancedottednot tracked2026-11-23
cisco-ftdCisco Firepower Threat Defense (FTD) SoftwareCiscoappliancedottednot tracked2026-11-23
confluenceAtlassian Confluence (Data Center and Server)Atlassianserverdottedtracked (confluence)2026-11-23
docker-engineDocker Engine (Moby)Dockerserverdottedtracked (docker-engine)2026-11-23
dovecotDovecotDovecotserverdottedtracked (dovecot)2026-11-23
drupalDrupalDrupalcmsdottedtracked (drupal)2026-11-23
elasticsearchElasticsearchElasticdatabasedottedtracked (elasticsearch)2026-11-23
esxiVMware ESXiBroadcomosdottedtracked (esxi)2026-11-23
exchange-serverMicrosoft Exchange ServerMicrosoftserverdottedtracked (msexchange)2026-11-23
eximEximEximserverdottedtracked (exim)2026-11-23
fortimanagerFortiManagerFortinetappliancedottednot tracked2026-11-23
fortiosFortiOSFortinetappliancedottedtracked (fortios)2026-11-23
fortiproxyFortiProxyFortinetappliancedottednot tracked2026-11-23
fortiwebFortiWebFortinetappliancedottednot tracked2026-11-23
giteaGiteaGiteaserversemvernot tracked2026-11-23
gitlabGitLabGitLabserverdottedtracked (gitlab)2026-11-23
grafanaGrafanaGrafana Labsappsemvertracked (grafana)2026-11-23
haproxyHAProxyHAProxyserverdottedtracked (haproxy)2026-11-23
home-assistantHome AssistantHome Assistantappcalvernot tracked2026-11-23
ivanti-connect-secureIvanti Connect SecureIvantiappliancedottednot tracked2026-11-23
ivanti-epmmIvanti Endpoint Manager Mobile (EPMM)Ivantiserverdottednot tracked2026-11-23
jellyfinJellyfinJellyfinserversemvernot tracked2026-11-23
jenkinsJenkinsJenkins Projectserverdottedtracked (jenkins)2026-11-23
jiraAtlassian Jira (Data Center and Server)Atlassianserverdottedtracked (jira-software)2026-11-23
joomlaJoomla!Joomla! Projectcmsdottedtracked (joomla)2026-11-23
keycloakKeycloakRed Hatserversemvertracked (keycloak)2026-11-23
kubernetesKubernetesKubernetesserversemvertracked (kubernetes)2026-11-23
linux-kernelLinux kernelLinuxosdottedtracked (linux)2026-11-23
mariadbMariaDBMariaDB Foundationdatabasedottedtracked (mariadb)2026-11-23
mattermostMattermostMattermostserversemvertracked (mattermost)2026-11-23
moveit-transferMOVEit TransferProgressserverdottednot tracked2026-11-23
mysqlMySQLOracledatabasedottedtracked (mysql)2026-11-23
netscalerNetScaler ADC and GatewayCloud Software Groupappliancedottednot tracked2026-11-23
nextcloudNextcloud ServerNextcloudserverdottedtracked (nextcloud)2026-11-23
nginxnginxF5serverdottedtracked (nginx)2026-11-23
nodejsNode.jsOpenJS Foundationserversemvertracked (nodejs)2026-11-23
opensshOpenSSHOpenBSDserverdottednot tracked2026-11-23
opensslOpenSSLOpenSSLlibrarydottedtracked (openssl)2026-11-23
opnsenseOPNsenseDecisoosdottedtracked (opnsense)2026-11-23
pan-osPAN-OSPalo Alto Networksappliancedottedtracked (panos)2026-11-23
pfsensepfSenseNetgateosdottednot tracked2026-11-23
phpPHPPHP Groupserverdottedtracked (php)2026-11-23
phpmyadminphpMyAdminphpMyAdminappdottedtracked (phpmyadmin)2026-11-23
plex-media-serverPlex Media ServerPlexserverdottednot tracked2026-11-23
postfixPostfixPostfixserverdottedtracked (postfix)2026-11-23
postgresqlPostgreSQLPostgreSQLdatabasedottedtracked (postgresql)2026-11-23
proxmox-veProxmox Virtual EnvironmentProxmoxosdottedtracked (proxmox-ve)2026-11-23
pythonPython (CPython)Python Software Foundationserverpep440tracked (python)2026-11-23
qnap-qtsQNAP QTSQNAPosdottednot tracked2026-11-23
redisRedisRedisdatabasedottedtracked (redis)2026-11-23
rocket-chatRocket.ChatRocket.Chatserversemvertracked (rocket-chat)2026-11-23
roundcubeRoundcube WebmailRoundcubeappdottedtracked (roundcube)2026-11-23
routerosMikroTik RouterOSMikroTikosdottedtracked (routeros)2026-11-23
sambaSambaSambaserverdottedtracked (samba)2026-11-23
screenconnectConnectWise ScreenConnectConnectWiseserverdottednot tracked2026-11-23
sonicosSonicOSSonicWallappliancedottednot tracked2026-11-23
synology-dsmSynology DiskStation Manager (DSM)Synologyossynologynot tracked2026-11-23
tomcatApache TomcatApache Software Foundationserverdottedtracked (tomcat)2026-11-23
traefikTraefikTraefik Labsserversemvertracked (traefik)2026-11-23
truenasTrueNASiXsystemsosdottedtracked (truenas)2026-11-23
vaultwardenVaultwardenVaultwardenserversemvernot tracked2026-11-23
vcenterVMware vCenter ServerBroadcomserverdottedtracked (vcenter)2026-11-23
veeam-backup-replicationVeeam Backup & ReplicationVeeamserverdottedtracked (veeam-backup-and-replication)2026-11-23
wordpressWordPressWordPresscmsdottedtracked (wordpress)2026-11-23
zabbixZabbixZabbixserverdottedtracked (zabbix)2026-11-23
zimbraZimbra CollaborationSynacorserverdottednot tracked2026-11-23
zyxel-zldZyxel firewalls (ZLD: USG FLEX, ATP, VPN series)Zyxelappliancedottednot tracked2026-11-23

71 products.

Columns:

  • Versions is the scheme used to compare versions of this product: dotted (numbers separated by dots), semver, calver, debian, rpm, apk, pep440 or a named custom scheme.
  • End of life says whether the product has an endoflife.date slug. If it does, unpatched reports a release cycle that is past its end of life. If it does not (endoflife.date has no page for it), end of life is not checked for that product.
  • Checked is the date a person last verified the entry against real CVE and NVD data.

How an entry is checked

A wrong name in the catalog would silently mean “no vulnerabilities”. Three things guard against that:

  1. A person checks every entry against a real CVE record and NVD entry before it is added, and sets checked: to that date. The pull request that adds or changes an entry names the CVE records its CNA names were copied from.
  2. cargo xtask catalog verify re-checks the CPE, KEV and endoflife keys against the live sources. It runs weekly in the repository. It cannot check CNA keys, because CVE.org cannot be searched by vendor.
  3. When the daily database is built, a product whose names match nothing in the data is marked unverified. A stack item with such a product shows up as an unknown finding with the rule UNP-UNVERIFIED-PRODUCT, so an empty result is never read as “safe”.

Known gaps:

  • mariadb, proxmox-ve and phpmyadmin have no CNA keys: every record names the product n/a. They match on CPE (and KEV for phpMyAdmin).
  • truenas matches TrueNAS CORE only: TrueNAS SCALE has no CPE in NVD.
  • docker-engine has no KEV key: KEV only lists Docker Desktop.
  • Some products have no endoflife.date page, so their end of life is not checked (see the table above).

Ask for a product

If something you run is not here, it cannot be matched yet. Open an issue with the Add a product template at https://github.com/Amet13/unpatched/issues/new/choose and give:

  • the product name and vendor, and where its releases are published
  • how its versions look (7.2.5, 2024.10.1, 15.4) and whether they follow semver, calendar versioning or something unusual
  • one CVE that affects it, so the names can be checked against a real record
  • its endoflife.date page, if there is one

Or add it yourself: copy a similar file in catalog/, fix the names, add a corpus case for one affected and one fixed version, and run cargo xtask check. The steps are in CONTRIBUTING.md. A person checks every new entry before it is merged.

For a library or an operating system package that is not a catalog product, use a purl in your stack instead: those are looked up in OSV and need no catalog entry (for example pkg:deb/debian/openssl@3.0.11-1~deb12u1?distro=bookworm). WordPress plugins and themes are not covered either way. See the config reference.

GitHub Action

amet13/unpatched is a composite Action. It downloads the release binary for the runner, checks its SHA-256 against the release, caches it, runs unpatched check --notify, and writes the report to the run summary. The step-by-step setup is on Start with GitHub.

- uses: actions/checkout@v7
- uses: amet13/unpatched@v3

It needs actions/checkout before it (to read unpatched.yml) and the job permissions contents: read and issues: write. It sets GITHUB_TOKEN for itself. Linux, macOS and Windows runners are supported, on x86_64 and, except for Windows, arm64.

Inputs

InputDefaultWhat it does
argsemptyExtra arguments for unpatched check, for example --exit-code --verbose.
binaryemptyPath to an unpatched binary you built. Skips the download. Used by this repository’s CI.
configunpatched.ymlPath to your stack file.
dbemptyPath to a database file. Empty: download the daily database.
dry-runfalseSend nothing and write no issues; only print what would happen.
versionemptyThe unpatched release to run, like v3.0.0, v3.1.0-rc.1 or v3 (the newest stable v3.x.y). Empty: the version in the tag you used (uses: amet13/unpatched@v3.0.0), else the latest release. Set it when you pin the action to a commit SHA (uses: amet13/unpatched@<sha>), because a SHA says nothing about the version.

version takes a full tag (v3.0.0), or a major or minor prefix (v3, v3.0), which means the newest published release that starts with it. It defaults to the version in the tag you wrote after @, and to the latest release when that is a branch or a commit. The checksum comes from the .sha256 file of the same release; on a mismatch the Action stops and does not run the file.

The action always passes --notify --format markdown and writes the report to the run summary ($GITHUB_STEP_SUMMARY). args adds options to unpatched check, split on spaces.

Outputs

The Action has no outputs. The report is in the run summary, findings are in issues, and the exit code of the step is the exit code of unpatched: see Exit codes. With args: --exit-code the step fails (exit code 1) when something is to be fixed today, which turns the run red in the Actions tab and sends GitHub’s own failure email.

Secrets for chat channels

The Action reads secrets from the environment of the step. Set the ones you use:

- uses: amet13/unpatched@v3
  env:
    UNPATCHED_TELEGRAM_TOKEN: ${{ secrets.UNPATCHED_TELEGRAM_TOKEN }}
    UNPATCHED_SLACK_WEBHOOK: ${{ secrets.UNPATCHED_SLACK_WEBHOOK }}

Names for each channel are on Notifications.

Examples

Pin an exact release, so an upgrade is your decision:

- uses: amet13/unpatched@v3.0.0

Try it without side effects. Prints what would happen; opens no issues and sends nothing:

- uses: amet13/unpatched@v3
  with:
    dry-run: "true"

Fail the run on a “fix today” finding, and see more in the summary:

- uses: amet13/unpatched@v3
  with:
    args: --exit-code --verbose

Another config path, if the file is not called unpatched.yml or is in a folder:

- uses: amet13/unpatched@v3
  with:
    config: infra/stack.yml

Use one config per repository. Issues, the status issue and the delivery state belong to the repository, and a run closes every issue whose finding is not in its report. Two configs in one repository would close each other’s issues. An MSP uses one private repository per client.

A database you built or downloaded yourself:

- uses: amet13/unpatched@v3
  with:
    db: ./unpatched-db.sqlite

A binary you built (used by this repository’s own tests): binary: target/release/unpatched skips the download.

Behaviour to know

  • A run does not commit and does not need contents: write.
  • A scheduled workflow is paused by GitHub after 60 days without repository activity in public repositories. Private repositories are not paused.
  • The cache key is the release tag and the runner, so the binary is downloaded once per release and runner.

Command reference

unpatched <command> [options]. The help below is the program’s own, written by cargo xtask docs. Run unpatched <command> --help for the same on your machine.

Global options

These work with every command, before or after its name:

OptionMeaning
--config FILEYour stack and settings. Default unpatched.yml.
--db FILEThe vulnerability database. Default $UNPATCHED_DB, else the cache folder.
--offlineNo network: no database download and no OSV lookups for packages.
-v, --verboseMore detail: evidence in reports; -v info logs, -vv debug logs.
--quietPrint nothing on stdout except errors; a report still goes to --output. Cannot be used with -v.
--color WHENauto (default), always or never.

Exit codes

CodeMeaning
0OK
1check --exit-code found something to fix today
2Usage or configuration error: bad YAML, unknown product, a missing secret
3Data error: no database, database too old, a download or source failed
4Delivery error: a notification channel or GitHub issue failed

Environment variables

VariableMeaning
UNPATCHED_DBThe same as --db.
UNPATCHED_DB_URLWhere check and db update download the database from. Default: the db release of Amet13/unpatched.
UNPATCHED_CACHE_DIRWhere the downloaded database is kept. Default: your system’s cache folder, plus unpatched.
UNPATCHED_TELEGRAM_TOKEN, UNPATCHED_SLACK_WEBHOOK, UNPATCHED_DISCORD_WEBHOOK, UNPATCHED_NTFY_TOKEN, UNPATCHED_WEBHOOK_URL, UNPATCHED_WEBHOOK_SECRETSecrets for notifications.
GITHUB_TOKEN, GITHUB_REPOSITORY, GITHUB_API_URLUsed for GitHub issues (set by GitHub Actions).

Commands

unpatched

Tells you when software you run has a vulnerability you need to act on

Usage: unpatched [OPTIONS] <COMMAND>

Commands:
  check    Match your stack against the database and print the report
  init     Write a starting unpatched.yml (and, with --github, the workflow)
  explain  Show the evidence: a rule id, a CVE, or a finding key
  search   Find a product in the catalog
  catalog  The products unpatched knows
  db       The vulnerability database
  mcp      Run the MCP server on stdio, for AI agents
  schema   Print a JSON Schema
  help     Print this message or the help of the given subcommand(s)

Options:
      --config <FILE>  Your stack and settings [default: unpatched.yml]
      --db <FILE>      The vulnerability database (default: $UNPATCHED_DB, else the cache directory) [env: UNPATCHED_DB=]
      --offline        Use no network: no database download and no package (OSV) lookups
  -v, --verbose...     More detail (FYI findings and evidence in reports, `-v` info logs, `-vv` debug logs)
      --quiet          Print nothing on stdout except errors. A report still goes to --output
      --color <WHEN>   When to use colour [default: auto] [possible values: auto, always, never]
  -h, --help           Print help
  -V, --version        Print version

Exit codes:
  0  ok
  1  `check --exit-code` found something to fix today
  2  usage or configuration error
  3  data error (no database, database too old, a download or source failed)
  4  delivery error (a notification channel or GitHub issue failed)

Docs: https://amet13.github.io/unpatched/

unpatched check

Match your stack against the database and print the report

Usage: unpatched check [OPTIONS]

Options:
      --config <FILE>    Your stack and settings [default: unpatched.yml]
      --format <FORMAT>  How to print the report [default: text] [possible values: text, json, markdown, sarif]
      --db <FILE>        The vulnerability database (default: $UNPATCHED_DB, else the cache directory) [env: UNPATCHED_DB=]
      --output <FILE>    Write the report to FILE instead of stdout. A file named by $GITHUB_STEP_SUMMARY is appended to, so other steps keep their text
      --exit-code        Exit with 1 when something has to be fixed today
      --offline          Use no network: no database download and no package (OSV) lookups
      --notify           Also send the findings to the configured channels (issues, chat)
  -v, --verbose...       More detail (FYI findings and evidence in reports, `-v` info logs, `-vv` debug logs)
      --dry-run          With --notify: send and write nothing; print each message and what would be written
      --quiet            Print nothing on stdout except errors. A report still goes to --output
      --color <WHEN>     When to use colour [default: auto] [possible values: auto, always, never]
      --github           Keep delivery state and issues in GitHub (automatic inside GitHub Actions)
      --allow-stale      Do not fail when the database is older than `stale_fail_days`
  -h, --help             Print help
  -V, --version          Print version

unpatched init

Write a starting unpatched.yml (and, with --github, the workflow)

Usage: unpatched init [OPTIONS]

Options:
      --config <FILE>  Your stack and settings [default: unpatched.yml]
      --github         Also write .github/workflows/unpatched.yml
      --db <FILE>      The vulnerability database (default: $UNPATCHED_DB, else the cache directory) [env: UNPATCHED_DB=]
      --force          Overwrite files that exist
      --offline        Use no network: no database download and no package (OSV) lookups
  -v, --verbose...     More detail (FYI findings and evidence in reports, `-v` info logs, `-vv` debug logs)
      --quiet          Print nothing on stdout except errors. A report still goes to --output
      --color <WHEN>   When to use colour [default: auto] [possible values: auto, always, never]
  -h, --help           Print help
  -V, --version        Print version

unpatched explain

Show the evidence: a rule id, a CVE, or a finding key

Usage: unpatched explain [OPTIONS] [TARGET]

Arguments:
  [TARGET]  `UNP-KEV`, `CVE-2024-21762` or a finding key such as `office-firewall/CVE-2024-21762`

Options:
      --config <FILE>  Your stack and settings [default: unpatched.yml]
      --rules          List every rule id with its title, and stop
      --db <FILE>      The vulnerability database (default: $UNPATCHED_DB, else the cache directory) [env: UNPATCHED_DB=]
      --offline        Use no network: no database download and no package (OSV) lookups
  -v, --verbose...     More detail (FYI findings and evidence in reports, `-v` info logs, `-vv` debug logs)
      --quiet          Print nothing on stdout except errors. A report still goes to --output
      --color <WHEN>   When to use colour [default: auto] [possible values: auto, always, never]
  -h, --help           Print help
  -V, --version        Print version
Find a product in the catalog

Usage: unpatched search [OPTIONS] <TEXT>...

Arguments:
  <TEXT>...  Words from the product's name, vendor or alias

Options:
      --config <FILE>  Your stack and settings [default: unpatched.yml]
      --db <FILE>      The vulnerability database (default: $UNPATCHED_DB, else the cache directory) [env: UNPATCHED_DB=]
      --offline        Use no network: no database download and no package (OSV) lookups
  -v, --verbose...     More detail (FYI findings and evidence in reports, `-v` info logs, `-vv` debug logs)
      --quiet          Print nothing on stdout except errors. A report still goes to --output
      --color <WHEN>   When to use colour [default: auto] [possible values: auto, always, never]
  -h, --help           Print help
  -V, --version        Print version

unpatched catalog list

List the products

Usage: unpatched catalog list [OPTIONS]

Options:
      --config <FILE>  Your stack and settings [default: unpatched.yml]
      --kind <KIND>    Only this kind of product [possible values: appliance, app, os, database, server, library, desktop, cms]
      --db <FILE>      The vulnerability database (default: $UNPATCHED_DB, else the cache directory) [env: UNPATCHED_DB=]
      --offline        Use no network: no database download and no package (OSV) lookups
  -v, --verbose...     More detail (FYI findings and evidence in reports, `-v` info logs, `-vv` debug logs)
      --quiet          Print nothing on stdout except errors. A report still goes to --output
      --color <WHEN>   When to use colour [default: auto] [possible values: auto, always, never]
  -h, --help           Print help
  -V, --version        Print version

unpatched catalog show

Show one product (id or alias)

Usage: unpatched catalog show [OPTIONS] <ID>

Arguments:
  <ID>  A product id or alias, like `fortios` or `fortigate`

Options:
      --config <FILE>  Your stack and settings [default: unpatched.yml]
      --db <FILE>      The vulnerability database (default: $UNPATCHED_DB, else the cache directory) [env: UNPATCHED_DB=]
      --offline        Use no network: no database download and no package (OSV) lookups
  -v, --verbose...     More detail (FYI findings and evidence in reports, `-v` info logs, `-vv` debug logs)
      --quiet          Print nothing on stdout except errors. A report still goes to --output
      --color <WHEN>   When to use colour [default: auto] [possible values: auto, always, never]
  -h, --help           Print help
  -V, --version        Print version

unpatched db update

Download the latest prebuilt database now

Usage: unpatched db update [OPTIONS]

Options:
      --config <FILE>  Your stack and settings [default: unpatched.yml]
      --db <FILE>      The vulnerability database (default: $UNPATCHED_DB, else the cache directory) [env: UNPATCHED_DB=]
      --offline        Use no network: no database download and no package (OSV) lookups
  -v, --verbose...     More detail (FYI findings and evidence in reports, `-v` info logs, `-vv` debug logs)
      --quiet          Print nothing on stdout except errors. A report still goes to --output
      --color <WHEN>   When to use colour [default: auto] [possible values: auto, always, never]
  -h, --help           Print help
  -V, --version        Print version

unpatched db info

Show what is in the database and how old it is

Usage: unpatched db info [OPTIONS]

Options:
      --config <FILE>  Your stack and settings [default: unpatched.yml]
      --json           Print the counts and the sources as JSON
      --db <FILE>      The vulnerability database (default: $UNPATCHED_DB, else the cache directory) [env: UNPATCHED_DB=]
      --offline        Use no network: no database download and no package (OSV) lookups
  -v, --verbose...     More detail (FYI findings and evidence in reports, `-v` info logs, `-vv` debug logs)
      --quiet          Print nothing on stdout except errors. A report still goes to --output
      --color <WHEN>   When to use colour [default: auto] [possible values: auto, always, never]
  -h, --help           Print help
  -V, --version        Print version

unpatched db build

Build the database from the sources (slow; CI does this daily)

Usage: unpatched db build [OPTIONS] --out <FILE>

Options:
      --config <FILE>     Your stack and settings [default: unpatched.yml]
      --out <FILE>        Where to write. A name ending in `.zst` is compressed
      --cvelist <DIR>     A checkout of CVEProject/cvelistV5. Without it CVE.org is skipped
      --db <FILE>         The vulnerability database (default: $UNPATCHED_DB, else the cache directory) [env: UNPATCHED_DB=]
      --nvd-years <A..B>  NVD years to read, like `2018..2026` (default: all)
      --offline           Use no network: no database download and no package (OSV) lookups
      --nvd-cache <DIR>   Keep downloaded NVD feeds here between builds
  -v, --verbose...        More detail (FYI findings and evidence in reports, `-v` info logs, `-vv` debug logs)
      --quiet             Print nothing on stdout except errors. A report still goes to --output
      --strict            Fail, and write nothing, when any source failed (CI uses this)
      --color <WHEN>      When to use colour [default: auto] [possible values: auto, always, never]
  -h, --help              Print help
  -V, --version           Print version

unpatched db sources-health

Ask every source for one known item; fails when any source fails

Usage: unpatched db sources-health [OPTIONS]

Options:
      --config <FILE>  Your stack and settings [default: unpatched.yml]
      --db <FILE>      The vulnerability database (default: $UNPATCHED_DB, else the cache directory) [env: UNPATCHED_DB=]
      --offline        Use no network: no database download and no package (OSV) lookups
  -v, --verbose...     More detail (FYI findings and evidence in reports, `-v` info logs, `-vv` debug logs)
      --quiet          Print nothing on stdout except errors. A report still goes to --output
      --color <WHEN>   When to use colour [default: auto] [possible values: auto, always, never]
  -h, --help           Print help
  -V, --version        Print version

unpatched mcp

Run the MCP server on stdio, for AI agents

Usage: unpatched mcp [OPTIONS]

Options:
      --config <FILE>  Your stack and settings [default: unpatched.yml]
      --db <FILE>      The vulnerability database (default: $UNPATCHED_DB, else the cache directory) [env: UNPATCHED_DB=]
      --offline        Use no network: no database download and no package (OSV) lookups
  -v, --verbose...     More detail (FYI findings and evidence in reports, `-v` info logs, `-vv` debug logs)
      --quiet          Print nothing on stdout except errors. A report still goes to --output
      --color <WHEN>   When to use colour [default: auto] [possible values: auto, always, never]
  -h, --help           Print help
  -V, --version        Print version

unpatched schema

Print a JSON Schema

Usage: unpatched schema [OPTIONS] <WHICH>

Arguments:
  <WHICH>  `config` (unpatched.yml) or `report` (check --format json) [possible values: config, report]

Options:
      --config <FILE>  Your stack and settings [default: unpatched.yml]
      --db <FILE>      The vulnerability database (default: $UNPATCHED_DB, else the cache directory) [env: UNPATCHED_DB=]
      --offline        Use no network: no database download and no package (OSV) lookups
  -v, --verbose...     More detail (FYI findings and evidence in reports, `-v` info logs, `-vv` debug logs)
      --quiet          Print nothing on stdout except errors. A report still goes to --output
      --color <WHEN>   When to use colour [default: auto] [possible values: auto, always, never]
  -h, --help           Print help
  -V, --version        Print version

With an agent

unpatched is built to be used by agents as well as people. The verdicts are deterministic and carry their evidence, so an agent can pass them on without guessing. The agent never decides a verdict: it asks.

What is available:

PieceWhat it does
MCP server (unpatched mcp)Read-only tools: check your stack, ask if a product and version is affected, explain, search the catalog, show database status.
SkillsInstructions for four jobs: set up, inventory, plan upgrades, explain.
Plugin and extensionClaude Code plugin and Gemini CLI extension that install the skills and the server together.
JSON report and schemascheck --format json, with schema/report.schema.json. Read this, not the text output.
llms.txt, llms-full.txtThe guide, for a model: https://amet13.github.io/unpatched/guide/llms.txt and https://amet13.github.io/unpatched/guide/llms-full.txt.

All of them need the unpatched command on the PATH (see Start with the command line), except the Docker form of the server.

The MCP server

unpatched mcp speaks the Model Context Protocol on stdio (newline-delimited JSON-RPC). Every tool is read-only: nothing is written, no message is sent, no issue is opened.

ToolArgumentsWhat it returns
check_stackconfig_path, bucket, limit, include_evidence (all optional)The report for unpatched.yml. It always has summary (counts) and items (the upgrade that helps most, per stack item). findings lists, by default, only the now, week, eol and unknown buckets, at most 50, without evidence; ask for fyi with bucket, for more with limit, and for the evidence and references with include_evidence. Packages are looked up in OSV unless the server runs with --offline.
is_affectedproduct, version, cve (optional), exposure (optional), include_raw (optional)An answer for one product at one version, without a config file. With cve it always gives a verdict (affected, not-affected or unknown) with evidence. A source’s own text is cut to about 200 characters unless include_raw is true.
explainid, include_raw (optional)A CVE or advisory id (summary, CVSS, affected ranges per source, exploitation signals), a rule id such as UNP-KEV, or a finding key such as office-firewall/CVE-2024-21762 (judged with the server’s unpatched.yml).
search_catalogtextCatalog product ids by name, vendor or alias, with the version scheme and endoflife slug.
db_statusnoneWhen the database was built, its age, whether it is stale, and the state of each source. Run this before trusting an answer.

A tool that fails because of its input (an unknown product, an argument it does not have, a missing database) answers with an error that the model can read and fix; it is not a protocol error.

check_stack reads only the server’s own config file, or a file named unpatched*.yml or unpatched*.yaml under the folder the server runs in (links are followed first, so a link cannot point elsewhere). Any other config_path is refused, and an error about a config file never repeats what the file says, only the line and column. is_affected needs an exact version: the instructions tell the agent to ask you, not to guess.

Options before mcp apply to the server: unpatched --config path/to/unpatched.yml --db path/to/db.sqlite --offline mcp.

Claude Code

Install the plugin (skills and server together):

/plugin marketplace add Amet13/unpatched
/plugin install unpatched@unpatched

or add only the server:

claude mcp add unpatched -- unpatched mcp

Gemini CLI

gemini extensions install https://github.com/Amet13/unpatched

The extension (gemini-extension.json) starts unpatched mcp.

Any other MCP client

Run the command unpatched with the argument mcp. For clients that use a JSON config:

{
  "mcpServers": {
    "unpatched": {
      "command": "unpatched",
      "args": ["mcp"]
    }
  }
}

Docker

For clients that start servers with Docker, mount the folder with unpatched.yml:

docker run -i --rm \
  -e UNPATCHED_CACHE_DIR=/work/.cache \
  --mount type=bind,src=/path/to/stack,dst=/work \
  ghcr.io/amet13/unpatched mcp

-i keeps stdin open, which the protocol needs. See Start with Docker for the user and cache options.

The MCP Registry

The server is listed in the MCP Registry as io.github.Amet13/unpatched (server.json in the repository), as an OCI package on ghcr.io/amet13/unpatched that runs mcp over stdio.

Skills

The skills are folders with a SKILL.md in skills/. The plugin and extension install them. For other agents that read skills, copy the folders into .claude/skills/ or .agents/skills/ in your project.

SkillUse it when
set-up-unpatchedYou want to be told about vulnerabilities in what you run. The agent asks what you run and its versions, finds the catalog ids, writes unpatched.yml and the workflow in a private repository, and runs the first check. It does not guess versions and does not put secrets in files.
inventory-from-notesYou have a pasted list, a docker-compose.yml, Kubernetes manifests, package lists or screenshots of admin pages. The agent proposes stack entries (product or purl), leaves out anything without a real version, and checks them with unpatched check.
plan-upgradesYou have several findings. The agent orders them into a patch plan by bucket and exposure, with target versions from the data.
explain-a-findingYou ask why something is flagged, what a rule id means, or “am I affected by CVE-X?”. The agent answers from the verdict, rules and evidence, and does not turn unknown into “not affected”.

Agents should write unpatched.yml from facts you give them, never from a guess. The rule in every skill: never invent a version.

Evals

evals/ has small tasks that check whether the skills help an agent: set up a homelab, read a compose file, answer “am I affected by CVE-2024-21762 with FortiOS 7.2.5?”, plan upgrades, explain a finding. Each is scored by running unpatched check on what the agent wrote or by comparing the answer to the sample database. No results are published yet; running agents costs money, so the owner runs them by hand. See evals/README.md to run them yourself.

For agents that work on this repository

AGENTS.md has the layout and the one command to run before a commit (cargo xtask check). CONTEXT.md is the glossary. The end-to-end corpus (corpus/) is the specification: a wrong verdict is fixed by adding a failing case first. See Accuracy.

Data

unpatched uses only open data that needs no account or API key. A workflow in this repository builds one SQLite database every day and publishes it. Your Action or command downloads it and matches your stack locally.

Sources

SourceWhat it givesHow it is readTerms
CISA KEVKnown exploited vulnerabilities: date added, due date, ransomware useOne JSON file, dailyPublic domain (US government)
NVDCPE version ranges and CVSS scoresThe yearly JSON 2.0 feeds, which carry a SHA-256 in a .meta file; no API keyPublic; NVD notice in NOTICE
CVE.org (cvelistV5)Vendor-supplied affected versions from the CVE record, plus CISA’s SSVC exploitation and automatable flags (CISA ADP, “Vulnrichment”)A shallow clone of the repository in the build workflowCVE Terms of Use; the CISA data is CC0
EPSSThe estimated chance each CVE is exploited in the next 30 daysOne daily fileFree, with attribution
endoflife.dateEnd of life dates and the newest release of each cycleThe JSON API, once per productMIT
Exploit-DB and MetasploitWhether a public exploit existsOnly the CVE ids from the index and the module metadataExploit-DB GPLv2 and Metasploit BSD-3: no exploit code or text is stored
OSVPackage vulnerabilities (Debian, Alpine, PyPI, npm, Go and more)Queried live at run time, only for purl items; not in the databaseCC-BY 4.0

Attributions and exact terms are in NOTICE. The database holds facts and identifiers taken from these sources, not their prose or code beyond what a finding shows.

Not used: vendor advisories (CSAF) and the EUVD and CIRCL mirrors. They may come later. Today the fixed version is read from the upper bound of an affected range, and the newest release in a cycle from endoflife.date.

How often

WhatWhen
The database is built and publishedEvery day at 02:41 UTC, by build-db.yml
Your Action runsAs you schedule it; the template uses 06:17 UTC
The command line fetches a new databaseWhen the one on disk is more than 20 hours old, or unpatched db update
The sources are probed for format changesEvery Wednesday (unpatched db sources-health), and a failure opens an issue

The database is published as assets of the rolling pre-release db of this repository: unpatched-db.sqlite.zst, SHA256SUMS and a GitHub build attestation. The release is replaced every day, so do not pin to it.

When a source fails

What failsWhat happens
CISA KEV or NVD, at build timeNo database is built. The previous assets stay as they are, and a watchdog opens an issue. A broken database is never published.
EPSS, CVE.org, endoflife.date, Exploit-DB or Metasploit, at build timeThe database is built without that source and records it as failed. unpatched db info shows its state. Findings still work; signals from that source are missing.
The daily build stops for several daysThe database gets old. After stale_warn_days (3) the report has a “data is out of date” finding. After stale_fail_days (7) check exits with code 3, unless --allow-stale.
The download fails when you runIf an older database is on disk, check warns and uses it. If there is none, it exits with code 3.
OSV is down for a purl itemThe item cannot be checked; the report says so. Catalog products are not affected.
A source changes its formatThe weekly health check opens an issue, “Sources need a look”. A person updates the parser. Until then the last good database is used.

The freshness of every source is in the report (db.sources in the JSON, and unpatched db info).

Check what you downloaded

The checksum of the database is verified on download against SHA256SUMS from the same release. You can also verify the build attestation:

gh attestation verify unpatched-db.sqlite.zst --repo Amet13/unpatched

Anyone can build the same kind of file from the sources, and compare:

git clone --depth 1 https://github.com/CVEProject/cvelistV5 cvelist
unpatched db build --cvelist cvelist --out unpatched-db.sqlite.zst

Then pass it with --db. UNPATCHED_DB_URL points the download somewhere else, for example an internal mirror.

What is in the database

Only catalog products go in: their vulnerabilities with the affected ranges each source gives, all of KEV, EPSS scores, exploit flags, end of life cycles, and a meta table with the schema version, the build time and the state of every source. Packages are not stored; they go to OSV when you ask. A binary refuses a database with a schema version it does not know, and asks to be upgraded.

How accurate is it

No accuracy has been measured yet, and this page does not claim one. There is no published figure for how many affected findings are found or how many findings are wrong. What exists is a method, described here, and a list of things that can go wrong. A report with no findings is not a guarantee that nothing is affected.

How verdicts are tested

The corpus is the specification. corpus/ holds more than 70 end-to-end cases. Each one is a small stack, a frozen slice of source data and the exact findings that must come out (expect is exact: a finding that is reported but not listed fails the case). The cases cover every rule id and every bucket, version schemes (dotted, semver, calver, Debian, RPM, APK, PEP 440), range boundaries, sources that agree, conflict or are empty, ignore entries and their expiry, unknown products and versions, end of life, stale data, and packages. Some use the shape of real records (FortiOS and CVE-2024-21762, Citrix Bleed, Ivanti Connect Secure, Nextcloud, PAN-OS).

A wrong verdict starts as a failing case. When a report says something is wrong, the fix is to add a case that shows it, watch it fail, then change the code. Cases are never loosened, skipped or deleted to get green. This is the rule in AGENTS.md, and a person reviews each case.

Offline and deterministic. No test uses the network. Source data is replayed from fixtures/, recorded from the real sources. A case fixes its own clock, so a run never depends on today’s date.

The catalog is checked against real data. A wrong name in a catalog entry would silently mean “no vulnerabilities”. A person verifies each entry against a real CVE record and NVD entry; cargo xtask catalog verify re-checks the keys against the live sources every week; and a product whose names match nothing in the daily database is reported as unverified, not as clean. See Catalog.

Version comparison is per product scheme, and unparseable means unknown. A version that cannot be read in the product’s scheme gives unknown with the reason, never a guess or a fall back to another scheme. The dotted, semver, Debian, RPM, APK and PEP 440 parsers have property tests (the order is total and transitive, and garbage input never panics).

No model decides. Verdicts, buckets and rules are plain code. Every finding lists the rule ids and the evidence of each source.

Limits

These are real, and you should know them.

  • Your list is the input. If a version in unpatched.yml is wrong, old, or missing, the result is wrong. unpatched does not look at your systems.
  • Only products in the catalog are matched. Anything else is not checked at all (packages with a purl go through OSV instead). See Catalog.
  • New CVEs lag. NVD often has no version data for a new CVE for days or weeks. Such a CVE is unknown, and shown only when exploitation signals say it would matter. Many of the rest are not shown, by design.
  • Source data can be wrong. A vendor can write a range too narrow or too wide. Sources are combined (one source saying affected is enough), which favours a false alarm over a miss. Conflicts are shown.
  • Vendor advisories are not read directly. The fix version comes from the upper bound of a range in CVE.org or NVD. If a vendor ships a fix in a different branch, or a workaround without a fix, unpatched may not say so. Read the advisory linked in the finding.
  • Appliance version strings are messy. Builds, patch levels and hotfixes that are not part of the version number cannot be compared. Such cases end as unknown, and can be added to the corpus.
  • A product can be affected through a component that has its own CVE (a library inside an app). That is not found unless you list the component.
  • Configuration matters. A CVE may apply only if a feature is on. unpatched does not know your configuration. It reports “affected” by version and leaves the feature to you. Use an ignore entry with a reason when the feature is off.
  • End of life comes from endoflife.date. If the page is wrong or missing, so is that finding.
  • The signals are inputs, not truth. KEV lists what CISA knows is exploited. A bug can be exploited and not yet listed. EPSS is a probability.
  • Data can be old. The database is built daily. If the build stops, you get a finding at 3 days and a failure at 7. See Data.

Plans

The repository is set up to measure accuracy: a monthly benchmark against held-out cases is planned, and so are agent evals (evals/). When measured numbers exist they will be published here, with the method and the date. Until then, if you find a wrong verdict, please report it: https://github.com/Amet13/unpatched/issues/new/choose (the Wrong verdict template asks for the product, version, CVE, and expected and actual result).

Privacy

unpatched has no server, no account and no telemetry. It does not know who you are and does not phone home. This page lists every network request it makes.

What stays with you

  • Your stack. unpatched.yml is read on your machine (or in your own GitHub Action) and is never uploaded. Matching runs locally against the database.
  • Your findings. They go only where you send them: your repository’s issues, and the chat channels you set up.

What leaves your machine

RequestWhenWhat is sentTo whom
Database downloadA run with no database, or one older than 20 hours, and db updateA plain GET for unpatched-db.sqlite.zst and SHA256SUMSGitHub (the release of Amet13/unpatched). GitHub sees the request like any download: your IP address and a user agent unpatched/<version>
Binary downloadThe Action, once per release and runner; the installersA GET for the release archive and its .sha256GitHub
Package lookupsOnly for purl items in your stack, and not with --offlineThe package name, ecosystem and version, for example openssl, Debian, 3.0.11-1~deb12u1. For a package type OSV has no named ecosystem for, the purl without qualifiers. Then a request for each vulnerability id foundOSV (api.osv.dev)
IssuesIn GitHub Actions or with --githubThe findings, as issuesThe GitHub API of your repository
Chat messagesOnly for channels you turn onThe findings: product, version, CVE, adviceTelegram, Slack, Discord, ntfy (or the server you set) or your webhook

That is all. Catalog products are matched without any request about them: the database holds the vulnerabilities of every catalog product, so nobody learns which ones you run. --offline stops the database download and the package lookups.

The requests carry a user agent unpatched/<version> (+https://github.com/Amet13/unpatched), nothing that identifies you.

What you should know

  • Package lookups tell OSV what you run. If that matters, use catalog products instead of purl items, or run with --offline and no packages.
  • Messages go through third parties. A chat message about your firewall is sent through Telegram, Slack or Discord. Use a channel you trust, or use only GitHub issues in a private repository.
  • The status issue and the issues name your items and versions. In a public repository, anyone can read them. Keep the repository private. See the FAQ.
  • Secrets come from environment variables, are not written to logs or error messages, and are never read from unpatched.yml.

The database is public

The database on the db release is built from public data and is the same for everyone. It holds no information about any user. You can build the same file yourself (unpatched db build) and use it with --db, so that even the download is not needed.

FAQ

Why not Dependabot or Renovate?

They keep the dependencies of your code up to date. They do not know about a FortiGate, a NAS or a Nextcloud server that you installed and did not write. Use them for code and use unpatched for what you run.

Why not Trivy, Grype or OSV-Scanner?

Those scan container images, file systems and lock files, and they are the right tool for that. They find the packages themselves and list every known CVE in them. unpatched does the opposite: you tell it what runs, at the level of a product (FortiOS 7.2.5, Nextcloud 29.0.3), and it ranks what matters by exploitation. The two fit together: scan your images with Trivy, and watch your firewall, VPN and apps with unpatched. unpatched can also check a single package you name with a purl, but it does not discover packages.

Why not OpenCVE, Vulners or an NVD alert?

CVE feeds show every CVE for a vendor and leave the sorting to you. About 40% of CVEs have a CVSS score of 7 or more, so a filter on CVSS is mostly noise. unpatched compares the CVE’s affected versions with the version you run, then ranks by evidence of exploitation (CISA KEV, SSVC, public exploits, EPSS). The result is rare, specific and says what to do. It also keeps no accounts and no server for you to depend on.

Why is a finding unknown?

Because the data cannot say, and unpatched does not guess. Read the rule on the finding:

  • UNP-UNKNOWN-NO-RANGES: no source has version data yet. New CVEs often wait days or weeks for NVD analysis. The finding goes away, or becomes affected, when data arrives. Read the advisory and check your version by hand.
  • UNP-UNKNOWN-VERSION: your version cannot be read in the product’s version scheme. Check the version in unpatched.yml (a build suffix, a typo, latest); unpatched catalog show <id> shows the expected format.
  • UNP-UNKNOWN-DATA: a version in a source’s data cannot be read, or the data cannot place your release. Your version is fine: read the advisory and check it by hand.
  • UNP-UNVERIFIED-PRODUCT: the catalog’s names for the product match nothing in the database, so an empty result would not mean you are safe.
  • UNP-STALE-DATA: the database is old.

An unknown is only shown when it would matter if it were confirmed. unknown is never turned into “not affected”. See Findings and rules.

Why does it say my product is not verified?

The catalog ties a product’s names in NVD, CVE records and KEV together. A person checks each entry against real data and records the date as checked:. “Not verified” (rule UNP-UNVERIFIED-PRODUCT) means that, in the current database, the entry’s names matched no record at all. Either the product really has no known vulnerabilities, or a name is wrong. unpatched cannot tell which, so it does not say you are safe. Report it with the Wrong verdict or Add a product template and the entry will be checked. See Catalog.

Why is my product not in the catalog?

The catalog is checked by hand, so it grows by request. See Ask for a product. For a library or an operating system package you can use a purl today, like pkg:deb/debian/openssl@3.0.11-1~deb12u1?distro=bookworm. WordPress plugins and themes are not covered.

Why did it flag something that does not apply to me?

unpatched matches by version, and it does not know your configuration. A CVE may need a feature that you have turned off. If you are sure, add an ignore entry with a reason and an until date; it comes back when the date passes. See the config. If the verdict is wrong for everyone, please report it.

Why did it not flag a CVE I read about?

Common reasons: the product is not in the catalog; NVD has no version data for it yet (it may be unknown and not shown); your version is outside the affected range; or the database is older than the news. Run unpatched explain CVE-... to see what the data says, and unpatched db info for the age of the data.

Can I use a public repository?

You can, but you should not. unpatched.yml lists your software and versions, and the issues and the status issue name them. In a public repository anyone can read that, which is a map for an attacker. Use a private repository. unpatched init reminds you of this.

If you do use a public one, remember that GitHub pauses scheduled workflows there (see the next question).

Will the schedule stop?

GitHub disables scheduled workflows after 60 days with no repository activity, only in public repositories. In a private repository the schedule keeps running. unpatched does not commit to your repository to fake activity: it needs only issues: write. If you run it from a public repository anyway, make a commit now and then, or run the workflow by hand from the Actions tab when you get the “workflow disabled” email from GitHub.

Does it need an API key or an account?

No. Every data source works without one, and the database is public. The only secrets are optional: tokens for chat channels, kept in GitHub secrets or environment variables. See Notifications.

Does it cost anything?

No. The code is MIT licensed and the data is open. The Action runs on GitHub’s runners and uses a little of your Actions minutes (a private repository on the free plan has 2,000 a month).

Does it fix or update anything?

No. It tells you what to do and with which version. You do the upgrade, then change the version in unpatched.yml, and the next run closes the issue.

Can it find what I run by itself?

Not yet. You write the list, or an agent helps you build it from a compose file or a pasted list (the inventory-from-notes skill). Reading local package lists (dpkg, apk, rpm, brew, winget, docker) may come later.

How do I report a wrong verdict?

Open an issue with the Wrong verdict template: https://github.com/Amet13/unpatched/issues/new/choose. Give the product, the version, the CVE, what you expected and what you got, and the output of unpatched explain <CVE>. Each report becomes a failing test case first, then a fix. See How accurate is it.

Where does the data come from, and is it current?

See Data. The database is built daily; unpatched db info shows its age.