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.

Close-up of interlocking grey steel chain links on a white background, with the far links out of focus
Photo by Edge2Edge Media on Unsplash

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 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.

Method

  • Advisories: 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, catalogVersion 2026.11.30, 1,810 entries.
  • EPSS: epss_scores-2026-12-01.csv.gz from 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 IDCVE ID
Issued byGitHub, for every advisory in its databaseA CVE Numbering Authority (CNA), under the CVE Program
FormatGHSA-xxxx-xxxx-xxxx, characters from 23456789cfghjmpqrvwxCVE-YYYY-NNNN…
Where in GitHub’s OSV fileidaliases[]
Keys KEV and EPSS?NoYes
Exists for every advisory?YesNo

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
Total36,888
Exactly one CVE alias33,200
No CVE alias3,688
More than one CVE alias0
CVE IDs mapped to more than one live GHSA0
CVE present in the 2026-12-01 EPSS file33,001
CVE missing from the EPSS file199
CVE in KEV 2026.11.30138

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:

GHSACVEPackage (first listed)KEV dateAddedEPSS 2026-12-01
GHSA-qppj-fm5r-hxr3CVE-2023-44487github.com/apple/swift-nio-http2 (SwiftURL)2023-10-100.99999
GHSA-c2gp-86p4-5935CVE-2019-5786puppeteer (npm)2022-05-230.61085
GHSA-jpcq-cgw6-v4j6CVE-2020-11023jquery (npm)2025-01-230.84887
GHSA-pv36-h7jh-qm62CVE-2020-15999CefSharp.Common (NuGet)2021-11-030.63894
GHSA-86qp-5c8j-p5mrCVE-2026-48710starlette (PyPI)2026-09-020.74037
GHSA-4r4m-qw57-chr8CVE-2025-31125vite (npm)2026-01-220.74939
GHSA-7vrx-9684-xrf2CVE-2025-35939craftcms/cms (Packagist)2025-06-020.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 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 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 covers the KEV fields it reads.

"""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.

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 claimSourceStatus
GHSA ID format and regex; database_specific fields and meaninggithub/advisory-database READMEVerified (verbatim)
aliases, upstream and related definitionsOSV schema docs/schema.mdVerified (verbatim)
GitHub-reviewed advisories; OSV format; EPSS from FIRST shown in the databaseGitHub Docs: GitHub Advisory DatabaseVerified (quoted)
KEV entries, dateAdded and shortDescription textcisagov/kev-data catalog 2026.11.30Verified (data)
EPSS scores and model versionempiricalsec/epss_scores 2026-12-01 fileVerified (data)
All counts and tablesScript run 2 December 2026 on advisory-database commit 11d8f435Verified (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.

GhsaCveGithub Advisory DatabaseDependabotCisa KevEpssOsvVulnerability Management