Skip to content

Inside the GitHub Advisory Database: What the Data Says and What It Does Not

The GitHub Advisory Database is a public catalogue of vulnerabilities in open-source packages. It feeds Dependabot alerts, and its contents are published as JSON files in the github/advisory-database repository. That makes it a data set anyone can query, and it is tempting to read it as a measure of software security.

It records how vulnerabilities get reported and reviewed, more than how many exist. This article reads every file in one snapshot to show what an advisory contains and how to interpret its version ranges. It then looks at two features that a yearly count would misread: a spike in 2022 that disappears when the data is dated differently, and a rise in 2026 that does not.

All counts come from commit b6d0ec57e55 of 2026-11-04, and they will differ on any other date. A few figures come from a second check run on 2026-11-18 at the same commit, and the text marks them “check of 2026-11-18”. The script that produces them is linked in the references, and the changes to the database itself are dated in the timeline in the annex.

This article has been made with the help of Claude Code and several custom skills

What you need to know first

The article uses the standard vocabulary of vulnerability management.

  • CVE. A global identifier for a publicly disclosed vulnerability, assigned under the CVE programme. An identifier’s year is the year it was reserved, which can differ from the year of disclosure.
  • GHSA. GitHub’s own advisory identifier. Every advisory in the database has one, and most also have a CVE alias.
  • CWE. A catalogue of weakness types, such as CWE-79 for cross-site scripting.
  • CVSS. A scheme that rates a vulnerability’s severity. A CVSS vector is a string of metrics, and a numeric score is computed from it.
  • NVD. The US National Vulnerability Database, one of the sources the Advisory Database imports.
  • OSV format. The Open Source Vulnerability schema, the JSON format of each file.
  • Ecosystem. A package namespace, normally a registry such as npm or PyPI. A package name means nothing without one.

How an advisory gets in

The repository’s README lists the sources: repository security advisories reported on GitHub, the NVD, the npm advisory data, the FriendsOfPHP database, the Go Vulnerability Database, the Python Packaging Advisory Database, the Ruby Advisory Database, RustSec and community contributions.

Files sit in two trees, with a path built from the year and month of publication:

advisories/github-reviewed/2025/07/GHSA-fv2p-qj5p-wqq4/GHSA-fv2p-qj5p-wqq4.json
advisories/unreviewed/2021/11/GHSA-fr68-g2qf-53vm/GHSA-fr68-g2qf-53vm.json

The difference between the two trees decides what the data can be used for.

Snapshot of 2026-11-04 github-reviewed unreviewed
Files 37,522 362,041
Withdrawn 1,256 1
With an ecosystem field All 3
Triggers a Dependabot alert Yes No

GitHub’s documentation describes reviewed advisories as mapped to packages in supported ecosystems, and unreviewed ones as published automatically. The counts show how complete that split is: an unreviewed advisory is essentially a CVE with no package attached, so it cannot be matched to a dependency.

A withdrawn advisory stays in the tree (see Withdrawn advisories). Excluding the 1,256 withdrawn reviewed files leaves 36,266 live reviewed advisories, the base for every count and percentage below unless the text says otherwise. Malicious packages are covered separately, in Malicious packages.

Anatomy of an advisory

This is the reviewed advisory GHSA-fv2p-qj5p-wqq4, a path traversal in LF Edge eKuiper, with the long text fields and references removed:

{
  "schema_version": "1.4.0",
  "id": "GHSA-fv2p-qj5p-wqq4",
  "modified": "2025-07-03T14:18:04Z",
  "published": "2025-07-03T14:18:04Z",
  "aliases": [],
  "severity": [
    { "type": "CVSS_V3", "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:L" }
  ],
  "affected": [
    {
      "package": { "ecosystem": "Go", "name": "github.com/lf-edge/ekuiper/v2" },
      "ranges": [
        { "type": "ECOSYSTEM", "events": [{ "introduced": "0" }, { "fixed": "2.2.0" }] }
      ]
    },
    {
      "package": { "ecosystem": "Go", "name": "github.com/lf-edge/ekuiper" },
      "ranges": [
        { "type": "ECOSYSTEM", "events": [{ "introduced": "0" }, { "last_affected": "1.14.7" }] }
      ]
    }
  ],
  "database_specific": {
    "cwe_ids": ["CWE-24"],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2025-07-03T14:18:04Z",
    "nvd_published_at": null
  }
}

Several details matter when processing these files:

  • severity holds a vector, not a score. The word HIGH is in database_specific.severity.
  • aliases can be empty. In reviewed advisories only CVE aliases appear, and 3,692 live advisories (10.2%) have none. A join on CVE identifiers silently loses them.
  • One advisory can cover many packages. 10,734 live advisories (29.6%) have more than one affected entry, with a maximum of 406, and 309 span more than one ecosystem.
  • nvd_published_at is null here, which is common for advisories that originate on GitHub as repository security advisories, described in The 2026 rise is real, and narrow.

Reading version ranges

A range is a list of events, not a pair of bounds. A version is affected from an introduced event until a fixed or last_affected event, and introduced: "0" means every version from the first release. The live reviewed data contains four forms. Counts are per range, plus the affected package entries that have a versions list and no range, so one advisory can contribute several entries:

Form Entries Meaning What it gives a developer
introduced + fixed 60,710 Affected below the fix A version to upgrade to
introduced + last_affected 5,772 Affected up to a known version, inclusive No fix in this package
introduced alone 802 Open-ended No fix, and every later version counts
versions list, no range 953 Exact versions only Nothing about other versions

Separately, 11,353 entries carry database_specific.last_known_affected_version_range, a bound that sits next to the events. It can disagree with them: craftcms/cms in GHSA-xrqc-p465-2xvg has fixed: 5.9.53 with a last known affected range of < 5.9.22. The sample suggests the bound records what was confirmed, and the event records where the fix landed.

A version such as 5.9.30 is below the fix, 5.9.53, so it is inside the event range, but it is above the last confirmed bound of < 5.9.22. A scanner flags it, though no one confirmed that it is affected. I found no documentation of this field, so that reading is an inference.

In total, 4,913 live advisories (13.5%) have no fixed event for any package. For those, an update tool has no target, whatever the advisory’s severity.

Two more traps come from how packages are named and released.

Go major versions are separate packages. The sample advisory lists github.com/lf-edge/ekuiper/v2, fixed in 2.2.0, and github.com/lf-edge/ekuiper, with last_affected: 1.14.7. The fix exists only under the /v2 path, so moving to it is a migration to another module, not a version bump.

A fix can open another advisory. Two lodash records show this:

GHSA-xxjr-mmjv-4gpg  MODERATE  introduced=4.0.0   fixed=4.17.23
GHSA-f23m-r3pf-42rh  MODERATE  introduced=4.17.23 fixed=4.18.1

Version 4.17.23 closes the first and is the start of the second. Choosing the lowest fix for one advisory is correct only if every advisory on that package is then checked again. Dependabot does this: as described in How GitHub Dependabot Works, its filter_vulnerable_versions step tests each candidate version against every advisory on the package.

Two clocks: published and reviewed

Each reviewed file has two dates. published is when the advisory entered the database, and github_reviewed_at is when GitHub reviewed it. Plotting both for the same 36,266 live advisories gives different histories. The chart shows each year from 2017, and the table groups the years before 2021 in one row.

Bar chart of GitHub-reviewed advisories per year: by published date 2022 peaks at 8,656 while by review date it is 4,564, and both series reach about 11,600 in 2026

Year By published date By review date
2017 to 2020 3,061 3,060
2021 2,547 2,817
2022 8,656 4,564
2023 3,270 4,842
2024 3,545 5,207
2025 3,569 4,086
2026, to 4 November 11,618 11,690

The 2022 spike is a dating effect

May 2022 alone accounts for 4,968 advisories by published date. Of these, 4,757 (95.8%) have a CVE identifier from before 2022, going back to the year 2000. Only 171 (3.4%) were reviewed that same month. Most were reviewed over the following two years, with the largest groups in July 2023 and April 2024.

This is consistent with a backfill, a bulk import of old CVEs that were dated at import and reviewed later. It is not a surge of vulnerabilities in 2022. A chart of the published date would show one, and a chart of the review date mostly removes it.

Unreviewed data shows a similar concentration at a larger scale, with 175,311 of its 362,041 files dated 2022.

The 2026 rise is real, and narrow

The rise in 2026 has a different structure. It appears on both clocks. By published date, 2,952 advisories date from January to October 2025 and 11,606 from the same months of 2026, a ratio of 3.9; the yearly figure of 11,618 adds the 12 published from 1 to 4 November. By review date, the yearly table above gives 11,690 for 2026, against 4,086 for 2025. It is also not old material: 9,924 of the 11,618 advisories have a 2026 CVE identifier.

Separating advisories by origin explains most of it. A reference of the form github.com/<owner>/<repo>/security/advisories/GHSA-... indicates that the project published a repository security advisory, which is a reasonable proxy for “came through GitHub’s own reporting path”.

The like-for-like comparison covers the same six months of each year (check of 2026-11-18):

Published in All Linked to a repository advisory Not linked
2025, January to June 1,639 866 (52.8%) 773
2026, January to June 7,487 5,942 (79.4%) 1,545

The yearly totals compare a full year with ten months, and the paragraphs below explain why the 2026 not-linked figure is low:

Published in All Linked to a repository advisory Not linked
2025, full year 3,569 1,945 (54.5%) 1,624
2026, to 4 November 11,618 9,880 (85.0%) 1,738

Most of the increase is in the linked column, but the not-linked figure for 2026 is a snapshot. An advisory still awaiting review is not in the reviewed tree yet. When it is reviewed, it appears there under its original month, because a reviewed file keeps its published date. Recent months therefore fill in over time, and more slowly for not-linked advisories, which wait longer for review.

For not-linked advisories published in 2026, the median time from publication to review, measured from the published field, is 7 days and the 90th percentile 65 days, against 0 days for linked advisories and for both groups in 2025. These durations come from the check of 2026-11-18.

Only 193 not-linked advisories are dated July to October 2026, against 618 for the same months of 2025, while monthly additions to the unreviewed tree rose from 4,325 files dated January 2026 to 17,744 dated October (check of 2026-11-18). Many recent not-linked advisories are probably still waiting for review, so 1,738 is a lower bound and the 85.0% share is likely to fall. Over January to June, where the backlog matters less, linked advisories rose 6.9 times, from 866 to 5,942, and not-linked ones doubled, from 773 to 1,545. The other routes grew too, but much less.

The number of distinct repositories publishing also rose, from 878 to 1,986. So this is not one project: the largest, openclaw/openclaw, has 598 advisories, or 5.1% of the advisories published in 2026.

These other measures moved in the same period:

  • Fewer NVD dates so far: 34.8% of 2026 advisories have no NVD date yet, against 12.6% in 2025. The field can be filled in later, and the missing dates are concentrated from June 2026 onwards, so part of the gap may be NVD processing lag rather than less NVD involvement.
  • A higher share of severe labels: HIGH and CRITICAL together went from 41.0% to 50.3%.
  • A different weakness mix: server-side request forgery and missing authorization entered the top six for 2026, where 2025 had CWE-502 and CWE-770.

The data establishes where the rise happened, not why. More maintainers using GitHub’s advisories, wider use of automated vulnerability discovery, or more software being published would each produce this pattern, and this data cannot separate them. It does not show that open-source software became four times less secure. A count of advisories measures reporting, and reporting changed.

Withdrawn advisories

A withdrawn advisory stays in the tree with a withdrawn timestamp. Of the 1,256 reviewed ones, 955 (76.0%) have a summary that begins with “Duplicate Advisory”. Another reason seen in the sample is scope: GHSA-q2hg-643c-gw8h was withdrawn because it only affected example code, not an Apache Airflow release.

Withdrawals are concentrated in the recent past: 735 (58.5%) have a withdrawn date in 2026. They are also a reminder that the database is edited after the fact: a count taken today can differ from one taken on the same date range last year. Any aggregate should state whether withdrawn records are excluded. This article excludes them, as stated after the first table.

What severity and CWE can tell you

The severity label is the most used field, and it comes with limits:

Severity label Live reviewed advisories
MODERATE 15,715
HIGH 13,206
CRITICAL 4,717
LOW 2,628

The label is a property of the vulnerability, not of your use of the package. It also rests on mixed scoring, though every live advisory carries a label:

CVSS vectors present Live reviewed advisories
v3 only 24,395
v4 only 4,501
Both v3 and v4 4,733
Neither 2,637 (7.3%)

A comparison of numeric scores would therefore mix two scoring versions.

CWE counts have a similar limit. The most common live values are CWE-79 with 4,861, CWE-22 with 2,158 and CWE-200 with 1,632. An advisory can carry several, 1,419 carry none, and the sum therefore does not equal the number of advisories. A ranking shows what reporters assigned, in ecosystems that GitHub covers. It is a ranking of reports, not of weaknesses in software at large.

The same goes for ecosystems. npm has the most live advisories, with 7,664, ahead of Maven with 7,107 and PyPI with 6,562. That does not make npm the least secure ecosystem, because the counts are not divided by anything: not the number of packages, not usage, not scrutiny. They also overlap: an advisory is counted once in each ecosystem it names, and 309 advisories name more than one.

Malicious packages

Malicious packages are only partly covered. The documentation also describes malware advisories, but the word malware does not appear as a field value in any file of this snapshot, so the advisories GitHub lists as type:malware are not exported as a separate type. Some malicious packages are still in the reviewed tree: the check of 2026-11-18 found 423 live reviewed advisories with CWE-506 (embedded malicious code), 328 of them published in 2020 and 27 in 2026. The repository is a partial source for malicious packages, and CWE-506 is the way to find what it holds.

Querying the data

For one advisory, the web page or the API is the best source, because it is current. For aggregate questions, a local clone works well. A clone is large, and the unreviewed tree can be left out with git sparse-checkout for most uses.

Plain text search narrows the files quickly, and jq does the rest. This lists live lodash advisories with their events:

git grep -l -F '"name": "lodash"' -- advisories/github-reviewed \
  | xargs jq -r 'select(.withdrawn == null)
      | [.id, .database_specific.severity,
         ([.affected[] | select(.package.name == "lodash")
           | .ranges[].events | map(to_entries[0] | "\(.key)=\(.value)") | join(" ")]
          | join("; "))]
      | @tsv'
GHSA-29mw-wpgm-hmr9  MODERATE  introduced=4.0.0 fixed=4.17.21
GHSA-35jh-r3h4-6jhm  HIGH      introduced=0 fixed=4.17.21
GHSA-4xc9-xhrj-v574  HIGH      introduced=0 fixed=4.17.11
GHSA-f23m-r3pf-42rh  MODERATE  introduced=4.17.23 fixed=4.18.1

The output above is the first four lines, sorted, with columns aligned for reading. Comparing a version against those events needs the ecosystem’s own ordering rules, for example for pre-releases, so a plain string comparison is not enough.

The checks above reduce to this decision path:

flowchart TD
    Q["A question about the data"] --> A{"About one package version?"}
    A -->|"yes"| B["Use reviewed files, with the ecosystem named"]
    B --> C{"Any match?"}
    C -->|"no"| D["Say not listed at this date, not safe"]
    C -->|"yes"| E["Evaluate events, check withdrawn, check all advisories"]
    A -->|"no, a count"| F["Choose the date field, scope and withdrawn rule"]
    F --> G["State what the count measures"]

Conclusion

The GitHub Advisory Database is a curated record of reported vulnerabilities, and it needs to be read as one.

  • Reviewed and unreviewed are different data. The 37,522 reviewed files have package data, and only 3 of the 362,041 unreviewed files do.
  • A range is a list of events. 13.5% of live advisories have no fixed event, and a fix can open another advisory.
  • Names and dates are part of the meaning. Go major versions are separate packages, and published is not the date a vulnerability appeared.
  • The 2022 spike is a dating effect. 95.8% of May 2022 advisories have older CVE identifiers, and most were reviewed later.
  • The 2026 rise is concentrated in repository advisories. The share linked to one went from 54.5% to 85.0%, across 1,986 repositories, a share inflated by not-linked advisories still awaiting review. The data does not show the cause.
  • Counts measure reporting. Without a denominator, they do not rank ecosystems or years by security.

Mindmap of the GitHub Advisory Database covering its sources, advisory anatomy, version ranges, dating effects, the 2026 rise, and limits of counts

Annex

Key Terms

Term Definition
CVE A global identifier for a publicly disclosed vulnerability.
CWE A catalogue entry describing a type of weakness.
CVSS vector A string of metrics from which a severity score is computed.
NVD The US National Vulnerability Database, one of the imported sources.
OSV format The JSON schema used by each advisory file.
GHSA identifier GitHub’s identifier for an advisory.
Ecosystem The package namespace in which a package name has meaning.
GitHub-reviewed advisory An advisory checked by GitHub and mapped to packages in supported ecosystems.
Unreviewed advisory An advisory published automatically, nearly always with no package data.
Repository security advisory An advisory published by a project on GitHub.
Range event An introduced, fixed or last_affected entry in a version range.
Withdrawn advisory A record kept in the database with a withdrawn date, for example because it is a duplicate.
Backfill The import of older records in bulk, dated at import.
Live advisory In this article, a reviewed advisory that is not withdrawn.

Integration Notes

Behaviour What an integrator should do
Almost no unreviewed file has package data. Search unreviewed advisories by identifier or keyword, never by package.
No match does not mean no vulnerability. Report “not listed at this date”, and name the snapshot.
aliases may be empty. Key on the GHSA identifier, not on the CVE.
A package name is meaningless without an ecosystem. Always filter on ecosystem and name together.
severity is a vector, and the label is elsewhere. Read database_specific.severity, and do not quote a score that was not computed.
withdrawn records stay in the tree. Exclude them explicitly, and state that you did.
Go /v2 is another package. Check every major version path separately.
Versions have ecosystem-specific ordering. Use a comparator for that ecosystem.
published can be an import date. Choose the date field for the question being asked.
Files change after publication. Read modified, and pin the commit used.

Timeline

Events up to 25 November 2026.

Date Event Why it matters here Source
14 November 2019 GitHub launched the GitHub Advisory Database, built from advisories created on GitHub and data mapped to packages in its dependency graph. Repository security advisories were part of the database from the start, long before they drove the 2026 rise. Announcing GitHub Security Lab
16 December 2021 GitHub added a separate section of unreviewed advisories, published automatically from the NVD feed, and kept Dependabot alerts for reviewed advisories only. This is the origin of the split between the unreviewed and github-reviewed trees. GitHub changelog, unreviewed advisories section
22 February 2022 GitHub published the full database to the public github/advisory-database repository in OSV format and opened it to community contributions. It is the repository and the file format this article analyses. GitHub Advisory Database now open to community contributions
8 June 2022 GitHub announced that it had backfilled all historical NVD advisories, bringing the database to over 160,000 advisories. It fits the 175,311 unreviewed files dated 2022 and the old CVE identifiers behind the May 2022 spike. GitHub changelog, historical NVD advisories
15 June 2022 GitHub began publishing malware advisories, created after a malicious package is removed. These are the malware advisories that the repository’s files do not export as a separate type. GitHub now publishes malware advisories
19 April 2023 Private vulnerability reporting became generally available for public repositories. It is one of the reporting paths behind the repository-advisory channel that carries most of the 2026 rise. Private vulnerability reporting now generally available
13 September 2024 Repository security advisories gained CVSS 4.0 scoring, shown on the published global advisory and through the API. It explains why the severity data mixes v3 and v4 vectors. GitHub changelog, CVSS 4.0
29 June 2026 GitHub reported 1,560 reviewed advisories published in May 2026, the highest monthly figure in the database’s history, with review taking weeks for part of the queue. It is GitHub’s own account of the 2026 rise and of the review delay that makes the not-linked count a lower bound. Inside the Advisory Database
28 July 2026 The database began ingesting malware advisories from the OpenSSF malicious-packages repository, for npm, PyPI and other ecosystems. These advisories are listed under type:malware, a value absent from the repository files of 4 November 2026. GitHub changelog, malicious packages
2 October 2026 The GraphQL SecurityAdvisory object gained fields including githubReviewedAt, nvdPublishedAt and repositoryAdvisoryUrl. The API now exposes the review clock, the NVD date and the repository-advisory link that this article reads from the files. GitHub changelog, SecurityAdvisory GraphQL fields

Frequently Asked Questions

Q: What separates a reviewed advisory from an unreviewed one?

A reviewed advisory has been checked by GitHub and mapped to packages in supported ecosystems. An unreviewed one is published automatically. In this snapshot only 3 of the 362,041 unreviewed files name an ecosystem, and the documentation says Dependabot does not create alerts for them.

Q: Why can a high-severity advisory have no available fix?

Severity describes the impact, and a fix depends on the maintainers. A range can end with last_affected or have only introduced. In all, 13.5% of live advisories have no fixed event for any package. Sometimes the fix exists elsewhere, as with eKuiper, where only the /v2 module has one.

Q: Why does the 2022 spike disappear when counting by review date?

May 2022 holds 4,968 advisories by published date, but 95.8% of them have CVE identifiers from earlier years, and only 3.4% were reviewed that month. The published date reflects when they entered the database. Counting by review date spreads them over the following years, when the work was done.

Q: Does the 2026 rise mean that open-source software became less secure?

No such conclusion follows. The rise is concentrated in advisories linked to repository security advisories, which moved from 54.5% to 85.0% of the total. The others grew much less, and their 2026 count is incomplete while recent ones await review. That shows a change in reporting through one channel, with a cause this data does not show, and there is no denominator such as the amount of code or the number of researchers.

Q: A version is not in any listed range. Is it safe?

No. It means no advisory lists it at that date. There could be an unreviewed advisory with no package data, a vulnerability never reported, or a range still to be corrected. If the version is above the last_known_affected_version_range bound but still inside the event range, its status may also be unclear, if the reading of that field given above is right.

Q: A team compares ecosystems by counting advisories and finds npm first. Combining the points above, what is wrong with the conclusion?

Several things:

  • There is no denominator, so more packages or more scrutiny would also raise the count.
  • Advisories that span ecosystems are counted in each.
  • Withdrawn records must be excluded or the counts inflate.
  • The published date mixes import dates with disclosure dates.
  • Coverage depends on what reached the database and on what GitHub reviewed.

The count describes reports in GitHub’s data. It does not rank ecosystems by security.

Gaps

The points below remain open after this analysis.

Gap Why it matters What to read or verify
The cause of the 2026 rise is unknown. The article reports where it occurred, not why, and GitHub’s post of 29 June 2026 reports more private reports and repository advisories without naming a cause beyond a “structural change” in disclosure. A sample of 2026 advisories and per-repository reporter data.
The repository-advisory link is a proxy based on reference URLs. Some advisories may have the link without having originated there, or the reverse. A sample compared against repository advisory pages.
The May 2022 event is inferred to be a bulk import. The data fits, and GitHub’s changelog of 8 June 2022 describes a backfill of historical NVD advisories into the unreviewed section, but no source describes the reviewed files dated May 2022. The repository’s git history around 2022-05, which holds 53,603 commits dated that month.
The meaning of last_known_affected_version_range is inferred from samples. The reading of ranges next to that bound rests on it. The OSV schema and GitHub’s contribution documentation.
Advisories of type type:malware are not exported, and the 423 CWE-506 advisories may cover only part of them. The reason was not checked. Consumers could assume the repository lists every known malicious package. GitHub’s documentation on malware advisories, and the type:malware listing compared with the CWE-506 files.
The 2026 figures were taken while review and NVD dates were still catching up. The not-linked count of 1,738 is a lower bound, the 85.0% share is likely to fall, and the missing NVD dates may be filled in later. A rerun of the analysis at a later commit, comparing advisories of the same age.
What happens to an unreviewed file when GitHub reviews it was not checked: whether it keeps its GHSA identifier and published date, and whether the unreviewed copy is removed. It decides whether “publication” means first appearance in the unreviewed tree, and whether the two trees can count one advisory twice. The repository’s git history for a sample of advisories reviewed in 2026, and GitHub’s contribution documentation.
The reasons for withdrawal were sampled, apart from the “Duplicate Advisory” count. The 24% of other withdrawals may have other patterns. The details field of all withdrawn files.
The definitions of CVE, CWE and CVSS come from general knowledge. They frame the prerequisites section. The linked official pages.

References

Analyzed source

Specifications and documentation

Timeline sources

You might also enjoy