# GHSA vs CVE: Join GitHub Advisories to KEV and EPSS

> A GHSA ID is GitHub's advisory ID; a CVE ID is the CVE Program's. In 36,888 live GitHub-reviewed advisories, 33,200 carry exactly one CVE alias and 3,688 carry none. Joining on that alias puts 138 advisories in CISA KEV. Includes a tested join script.

- URL: https://firewallsync.com/posts/ghsa-vs-cve-join-github-advisories-to-kev-and-epss/
- Site: FirewallSync (https://firewallsync.com/)
- Topic: Security Operations
- Tags: ghsa, cve, github advisory database, dependabot, cisa kev, epss, osv, vulnerability management
- Published: 2026-12-02
- Author: John Marshall

## Key takeaways

- A GHSA ID (GHSA-xxxx-xxxx-xxxx) is assigned to every GitHub advisory. The CVE ID, when there is one, sits in the OSV aliases array. KEV and EPSS are keyed by CVE ID, so the alias is your only join key.
- In the github/advisory-database at 2 December 2026, 36,888 GitHub-reviewed advisories are live. 33,200 carry exactly one CVE alias, none carries two, and each CVE maps to one live GHSA. 3,688 (10%) have no CVE at all and cannot be joined to KEV or EPSS.
- 138 live GHSAs match CISA KEV catalog 2026.11.30 (1,810 entries). GitHub rates 67 Critical, 64 High and 7 Moderate, so a 'High and above' Dependabot filter would skip 7 known-exploited advisories, including jQuery CVE-2020-11023.
- 9 KEV-matched GHSAs have an EPSS score below 0.1 on 2026-12-01. Three are package or Action compromises (eslint-config-prettier, reviewdog/action-setup, TanStack), so do not let a low EPSS outrank a KEV listing.
- GitHub's web UI shows EPSS, but the OSV JSON files carry no EPSS or KEV field. Bulk pipelines have to join the FIRST EPSS file and the KEV feed themselves.



**Short answer:** A **GHSA ID** is GitHub's identifier for an advisory in the GitHub Advisory Database. A **CVE ID** is the CVE Program's identifier for a vulnerability. In GitHub's [OSV](https://ossf.github.io/osv-schema/) files, the CVE sits in the `aliases` array. CISA's KEV catalog and FIRST's EPSS scores are keyed only by CVE ID, so that alias is the only way to bring KEV and EPSS into a Dependabot-style workflow. On 2 December 2026, **33,200 of 36,888** live GitHub-reviewed advisories carried exactly one CVE alias, **3,688** carried none, and **138** matched KEV.

If your team triages dependency alerts by GitHub's severity label, this join changes the queue. Seven of the KEV-matched advisories are rated only **Moderate** by GitHub, and nine have EPSS scores below 0.1. This guide shows the fields, the numbers and a script that produces a GHSA → CVE → KEV → EPSS table you can sort. For the decision logic once you have the signals, use the [vulnerability prioritization workflow from CVE record to patch ticket](/posts/vulnerability-prioritization-workflow-cve-record-to-patch-ticket/).

## Method

- **Advisories:** [github/advisory-database](https://github.com/github/advisory-database), `advisories/github-reviewed/` at commit `11d8f435` (2 December 2026, 03:39 UTC). That's 38,182 OSV JSON files; 1,294 carry `withdrawn` and were excluded, leaving 36,888 live advisories.
- **KEV:** `known_exploited_vulnerabilities.json` from [cisagov/kev-data](https://github.com/cisagov/kev-data), catalogVersion **2026.11.30**, 1,810 entries.
- **EPSS:** `epss_scores-2026-12-01.csv.gz` from [empiricalsec/epss_scores](https://github.com/empiricalsec/epss_scores). The header reads `model_version:v2026.06.15,score_date:2026-12-01T12:00:22Z`.
- All counts come from the script below, run on 2 December 2026.

## The identifiers

| | GHSA ID | CVE ID |
|---|---|---|
| Issued by | GitHub, for every advisory in its database | A CVE Numbering Authority (CNA), under the CVE Program |
| Format | `GHSA-xxxx-xxxx-xxxx`, characters from `23456789cfghjmpqrvwx` | `CVE-YYYY-NNNN…` |
| Where in GitHub's OSV file | `id` | `aliases[]` |
| Keys KEV and EPSS? | No | Yes |
| Exists for every advisory? | Yes | No |

GitHub's README gives the validation regex `/GHSA(-[23456789cfghjmpqrvwx]{4}){3}/`. The OSV spec defines `aliases` as "IDs of the same vulnerability in other databases", which should be "symmetric" and "transitive". It also says aliases "should **not** be used to refer to vulnerabilities in packages upstream or downstream in a software supply chain"; the `upstream` field exists for that. None of the GitHub-reviewed files uses `upstream` or `related`, and none has a non-CVE alias. In practice, `aliases` in this data is either empty or one CVE ID.

## What the join finds

| Live GitHub-reviewed advisories (2 Dec 2026) | Count |
|---|---|
| Total | 36,888 |
| Exactly one CVE alias | 33,200 |
| No CVE alias | 3,688 |
| More than one CVE alias | 0 |
| CVE IDs mapped to more than one live GHSA | 0 |
| CVE present in the 2026-12-01 EPSS file | 33,001 |
| CVE missing from the EPSS file | 199 |
| CVE in KEV 2026.11.30 | 138 |

Advisories without a CVE, by the year folder they are filed under: 2026: 1,316; 2024: 657; 2020: 648; 2025: 333; 2022: 259; 2023: 223; 2021: 154; 2019: 93; 2018: 5. For these 3,688 advisories, KEV and EPSS give you nothing. Prioritize them on the advisory content and your own exposure.

One GHSA often covers several packages. GHSA-jpcq-cgw6-v4j6 (CVE-2020-11023) lists jQuery packages on npm, NuGet, Maven, Packagist and RubyGems. That is why the script emits one row per package: 138 KEV-matched advisories become 284 package rows.

### KEV matches by GitHub severity

GitHub assigns each advisory a severity in `database_specific.severity`. The 138 KEV matches break down as **Critical 67, High 64, Moderate 7, Low 0**. For comparison, across all 36,888 live advisories the split is Moderate 15,984, High 13,451, Critical 4,771 and Low 2,682.

The seven Moderate advisories that are in KEV:

| GHSA | CVE | Package (first listed) | KEV dateAdded | EPSS 2026-12-01 |
|---|---|---|---|---|
| GHSA-qppj-fm5r-hxr3 | CVE-2023-44487 | github.com/apple/swift-nio-http2 (SwiftURL) | 2023-10-10 | 0.99999 |
| GHSA-c2gp-86p4-5935 | CVE-2019-5786 | puppeteer (npm) | 2022-05-23 | 0.61085 |
| GHSA-jpcq-cgw6-v4j6 | CVE-2020-11023 | jquery (npm) | 2025-01-23 | 0.84887 |
| GHSA-pv36-h7jh-qm62 | CVE-2020-15999 | CefSharp.Common (NuGet) | 2021-11-03 | 0.63894 |
| GHSA-86qp-5c8j-p5mr | CVE-2026-48710 | starlette (PyPI) | 2026-09-02 | 0.74037 |
| GHSA-4r4m-qw57-chr8 | CVE-2025-31125 | vite (npm) | 2026-01-22 | 0.74939 |
| GHSA-7vrx-9684-xrf2 | CVE-2025-35939 | craftcms/cms (Packagist) | 2025-06-02 | 0.03504 |

GitHub's severity label describes the advisory. KEV records that CISA has evidence of exploitation. If your alert routing uses a "High and above" filter, these seven are known-exploited and never reach the queue.

### KEV matches by ecosystem

Counting each advisory once per ecosystem it lists: Maven 54, Packagist 24, PyPI 23, NuGet 16, npm 15, Go 9, RubyGems 4, GitHub Actions 3, crates.io 1, SwiftURL 1.

### Low EPSS, but in KEV

Nine KEV-matched advisories score below 0.1 in the 2026-12-01 EPSS file. Three of them are supply-chain compromises rather than bugs in code:

- **CVE-2025-54313** (GHSA-f29h-pxvx-f335, EPSS 0.05125). KEV: "Installing an affected package executes an install.js file that launches the node-gyp.dll malware on Windows." The GHSA lists eslint-config-prettier, eslint-plugin-prettier, synckit, @pkgr/core, napi-postinstall and got-fetch.
- **CVE-2025-30154** (GHSA-qmg3-hpqr-gqvc, EPSS 0.02485). KEV: reviewdog action-setup "dumps exposed secrets to Github Actions Workflow Logs."
- **CVE-2026-45321** (GHSA-g7cv-rxg3-hmpx, EPSS 0.03278). KEV: malicious TanStack versions were published "to the npm registry to publish credential-stealing malware under a trusted identity." The GHSA lists 42 `@tanstack/*` packages.

The other six are CVE-2023-28434 (minio), CVE-2026-59822 (litellm), CVE-2025-35939 (craftcms/cms), CVE-2020-16017 and CVE-2020-16013 (CefSharp), and CVE-2023-22894 (@strapi/strapi). The rule from our [CVSS vs EPSS vs KEV comparison](/posts/cvss-vs-epss-vs-kev-which-signal-should-decide-what-you-patch-first/) applies: a KEV listing is evidence of exploitation, and EPSS is a probability estimate, so KEV wins when they disagree.

Across all 33,001 GHSA-linked CVEs with a score, the median EPSS is 0.00669; 1,518 score at least 0.1 and 620 at least 0.5. The [EPSS data feed guide](/posts/epss-data-feed-columns-percentile-vs-probability-and-how-to-join-it-to-a-scanner-export/) explains the probability and percentile columns.

## Where EPSS lives, and where it does not

GitHub's documentation says "The GitHub Advisory Database includes EPSS scores from FIRST for advisories containing CVEs with corresponding EPSS data." That is what the web view shows. The OSV files in github/advisory-database do not carry it. Across all 38,182 reviewed files, the only `database_specific` keys are `severity`, `cwe_ids`, `github_reviewed`, `github_reviewed_at` and `nvd_published_at`. There is no EPSS or KEV field. A pipeline built on the OSV files has to join EPSS and KEV itself, which is what the script does.

## The join script

Python 3, standard library only. It reads the advisory tree, the KEV JSON and an EPSS daily CSV, skips withdrawn advisories and writes one CSV row per advisory and package. The [KEV JSON feed field guide](/posts/cisa-kev-json-feed-what-each-field-means-and-how-to-match-it-against-a-scanner-export/) covers the KEV fields it reads.

```python
"""Join GitHub-reviewed advisories (OSV JSON) to CISA KEV and FIRST EPSS via the aliases field.
Usage: python3 ghsa_kev_epss.py <advisory-database>/advisories/github-reviewed kev.json epss_scores-YYYY-MM-DD.csv.gz > ghsa_priority.csv
Standard library only.
"""
import csv, glob, gzip, json, os, sys

adv_root, kev_path, epss_path = sys.argv[1:4]

kev = {v["cveID"]: v for v in json.load(open(kev_path))["vulnerabilities"]}

epss = {}
with gzip.open(epss_path, "rt") as f:
    model_line = next(f).strip()               # "#model_version:...,score_date:..."
    for row in csv.DictReader(f):
        epss[row["cve"]] = (row["epss"], row["percentile"])

out = csv.writer(sys.stdout)
out.writerow(["ghsa_id", "cve_id", "github_severity", "ecosystem", "package",
              "in_kev", "kev_dateAdded", "kev_dueDate", "epss", "epss_percentile", "join_note"])
for path in glob.glob(os.path.join(adv_root, "**", "GHSA-*.json"), recursive=True):
    rec = json.load(open(path))
    if rec.get("withdrawn"):
        continue                                # withdrawn: never alert on it
    cves = [a for a in rec.get("aliases", []) if a.startswith("CVE-")]
    sev = rec.get("database_specific", {}).get("severity", "")
    for pkg in {(a["package"]["ecosystem"], a["package"]["name"]) for a in rec.get("affected", [])}:
        if not cves:
            out.writerow([rec["id"], "", sev, *pkg, "", "", "", "", "", "no CVE alias"])
            continue
        for cve in cves:
            k = kev.get(cve)
            e = epss.get(cve, ("", ""))
            note = "" if cve in epss else "CVE not in EPSS file"
            out.writerow([rec["id"], cve, sev, *pkg, "yes" if k else "no",
                          k["dateAdded"] if k else "", k["dueDate"] if k else "", *e, note])
print(model_line, file=sys.stderr)
```

On the inputs above it wrote 47,559 data rows covering 36,888 advisories: 284 rows with `in_kev = yes` (138 advisories) and 5,133 rows flagged `no CVE alias`. To get the files: a sparse clone of `advisories/github-reviewed` from github/advisory-database, the KEV JSON from cisagov/kev-data, and the latest daily file from the EPSS scores repository.

To use it against your own alerts, filter the output to the `(ecosystem, package)` pairs in your lockfiles or SBOM. Then sort by `in_kev`, then `epss`, and only then GitHub severity. Whether your installed version is actually inside the affected range is a separate check, covered in our [OSV schema ranges guide](/posts/osv-schema-ranges-introduced-fixed-last-affected-ghsa/).

## Common mistakes

- **Treating "no CVE" as "low risk".** 3,688 live advisories have no CVE, so they will never appear in KEV or EPSS. Absence of a signal is not a signal.
- **Filtering on GitHub severity before the KEV join.** It drops the seven Moderate KEV entries above.
- **Counting KEV hits per package row.** One advisory can expand to dozens of package rows, as with 42 TanStack packages. Deduplicate on GHSA or CVE for reporting.
- **Keeping withdrawn advisories.** 1,294 reviewed files carry `withdrawn`; they should not generate tickets.
- **Assuming the alias list is stable.** CVEs are sometimes assigned after the GHSA is published, so re-run the join on fresh data rather than caching it.

## Limits of this article

- Counts are from one advisory-database commit, one KEV version and one EPSS day; all three change daily.
- We did not analyse unreviewed or malware advisories; per GitHub's docs, Dependabot alerts come from reviewed advisories.
- We did not test the Dependabot alerts REST API or its fields; the join here is from the published OSV files.
- A KEV match shows that the CVE is known-exploited, not that it is exploited through every package listed in the GHSA.

## Sources and verification

| Important claim | Source | Status |
|---|---|---|
| GHSA ID format and regex; `database_specific` fields and meaning | [github/advisory-database README](https://github.com/github/advisory-database) | Verified (verbatim) |
| `aliases`, `upstream` and `related` definitions | [OSV schema docs/schema.md](https://github.com/ossf/osv-schema/blob/main/docs/schema.md) | Verified (verbatim) |
| GitHub-reviewed advisories; OSV format; EPSS from FIRST shown in the database | [GitHub Docs: GitHub Advisory Database](https://docs.github.com/en/enterprise-cloud@latest/code-security/concepts/vulnerability-reporting-and-management/github-advisory-database) | Verified (quoted) |
| KEV entries, dateAdded and shortDescription text | [cisagov/kev-data](https://github.com/cisagov/kev-data) catalog 2026.11.30 | Verified (data) |
| EPSS scores and model version | [empiricalsec/epss_scores](https://github.com/empiricalsec/epss_scores) 2026-12-01 file | Verified (data) |
| All counts and tables | Script run 2 December 2026 on advisory-database commit 11d8f435 | Verified (computed) |

## Frequently asked questions

### What is the difference between a GHSA ID and a CVE ID?

A GHSA ID is GitHub's own identifier, assigned to every advisory in the GitHub Advisory Database. A CVE ID is assigned by a CVE Numbering Authority under the CVE Program. A GitHub advisory may have a CVE ID, listed in its aliases field, or none.

### Does every GitHub advisory have a CVE?

No. Of 36,888 live GitHub-reviewed advisories on 2 December 2026, 3,688 had no CVE alias. 1,316 of those are advisories filed under 2026. Without a CVE you cannot look the advisory up in CISA KEV or FIRST EPSS.

### How do I check if a Dependabot alert is in CISA KEV?

Take the alert's CVE ID (the advisory's CVE alias) and look it up in the KEV JSON feed by cveID. If the advisory has no CVE alias it cannot be in KEV, because KEV entries are keyed by CVE ID.

### Can one CVE have several GHSA advisories?

The OSV aliases model allows it, but in the live GitHub-reviewed set on 2 December 2026, each of the 33,200 CVE IDs appeared in exactly one advisory. Multi-package CVEs are handled with several affected entries in one GHSA, such as CVE-2020-11023 covering jQuery on npm, NuGet, Maven, Packagist and RubyGems.


Image credit: Photo by [Edge2Edge Media](https://unsplash.com/photos/t1OalCBUYRc) on Unsplash
