GitHub · Schema
global-advisory
A GitHub Security Advisory.
CodeDeveloper ToolsPipelinesPlatformSoftware DevelopmentVersion ControlT1GitHub
Properties
| Name | Type | Description |
|---|---|---|
| ghsa_id | string | The GitHub Security Advisory ID. |
| cve_id | stringnull | The Common Vulnerabilities and Exposures (CVE) ID. |
| url | string | The API URL for the advisory. |
| html_url | string | The URL for the advisory. |
| repository_advisory_url | stringnull | The API URL for the repository advisory. |
| summary | string | A short summary of the advisory. |
| description | stringnull | A detailed description of what the advisory entails. |
| type | string | The type of advisory. |
| severity | string | The severity of the advisory. |
| source_code_location | stringnull | The URL of the advisory's source code. |
| identifiers | arraynull | |
| references | arraynull | |
| published_at | string | The date and time of when the advisory was published, in ISO 8601 format. |
| updated_at | string | The date and time of when the advisory was last updated, in ISO 8601 format. |
| github_reviewed_at | stringnull | The date and time of when the advisory was reviewed by GitHub, in ISO 8601 format. |
| nvd_published_at | stringnull | The date and time when the advisory was published in the National Vulnerability Database, in ISO 8601 format. This field is only populated when the advisory is imported from the National Vulnerability |
| withdrawn_at | stringnull | The date and time of when the advisory was withdrawn, in ISO 8601 format. |
| vulnerabilities | arraynull | The products and respective version ranges affected by the advisory. |
| cvss | objectnull | |
| cvss_severities | object | |
| epss | object | |
| cwes | arraynull | |
| credits | arraynull | The users who contributed to the advisory. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/github/json-schema/github-global-advisory-schema.json",
"title": "global-advisory",
"description": "A GitHub Security Advisory.",
"x-generated": "2026-11-12",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/github-security-advisories-api-openapi.yml#/components/schemas/global-advisory",
"type": "object",
"properties": {
"ghsa_id": {
"type": "string",
"description": "The GitHub Security Advisory ID.",
"readOnly": true
},
"cve_id": {
"type": [
"string",
"null"
],
"description": "The Common Vulnerabilities and Exposures (CVE) ID.",
"readOnly": true
},
"url": {
"type": "string",
"description": "The API URL for the advisory.",
"readOnly": true
},
"html_url": {
"type": "string",
"format": "uri",
"description": "The URL for the advisory.",
"readOnly": true
},
"repository_advisory_url": {
"type": [
"string",
"null"
],
"format": "uri",
"description": "The API URL for the repository advisory.",
"readOnly": true
},
"summary": {
"type": "string",
"description": "A short summary of the advisory.",
"maxLength": 1024
},
"description": {
"type": [
"string",
"null"
],
"description": "A detailed description of what the advisory entails.",
"maxLength": 65535
},
"type": {
"type": "string",
"description": "The type of advisory.",
"readOnly": true,
"enum": [
"reviewed",
"unreviewed",
"malware"
]
},
"severity": {
"type": "string",
"description": "The severity of the advisory.",
"enum": [
"critical",
"high",
"medium",
"low",
"unknown"
]
},
"source_code_location": {
"type": [
"string",
"null"
],
"format": "uri",
"description": "The URL of the advisory's source code."
},
"identifiers": {
"type": [
"array",
"null"
],
"readOnly": true,
"items": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "The type of identifier.",
"enum": [
"CVE",
"GHSA"
]
},
"value": {
"type": "string",
"description": "The identifier value."
}
},
"required": [
"type",
"value"
]
}
},
"references": {
"type": [
"array",
"null"
],
"items": {
"type": "string",
"description": "URLs with more information regarding the advisory."
}
},
"published_at": {
"type": "string",
"format": "date-time",
"description": "The date and time of when the advisory was published, in ISO 8601 format.",
"readOnly": true
},
"updated_at": {
"type": "string",
"format": "date-time",
"description": "The date and time of when the advisory was last updated, in ISO 8601 format.",
"readOnly": true
},
"github_reviewed_at": {
"type": [
"string",
"null"
],
"format": "date-time",
"description": "The date and time of when the advisory was reviewed by GitHub, in ISO 8601 format.",
"readOnly": true
},
"nvd_published_at": {
"type": [
"string",
"null"
],
"format": "date-time",
"description": "The date and time when the advisory was published in the National Vulnerability Database, in ISO 8601 format.\nThis field is only populated when the advisory is imported from the National Vulnerability Database.",
"readOnly": true
},
"withdrawn_at": {
"type": [
"string",
"null"
],
"format": "date-time",
"description": "The date and time of when the advisory was withdrawn, in ISO 8601 format.",
"readOnly": true
},
"vulnerabilities": {
"type": [
"array",
"null"
],
"description": "The products and respective version ranges affected by the advisory.",
"items": {
"$ref": "#/$defs/vulnerability"
}
},
"cvss": {
"type": [
"object",
"null"
],
"properties": {
"vector_string": {
"type": [
"string",
"null"
],
"description": "The CVSS vector."
},
"score": {
"type": [
"number",
"null"
],
"description": "The CVSS score.",
"minimum": 0,
"maximum": 10,
"readOnly": true
}
},
"required": [
"vector_string",
"score"
]
},
"cvss_severities": {
"$ref": "#/$defs/cvss-severities"
},
"epss": {
"$ref": "#/$defs/security-advisory-epss"
},
"cwes": {
"type": [
"array",
"null"
],
"items": {
"type": "object",
"properties": {
"cwe_id": {
"type": "string",
"description": "The Common Weakness Enumeration (CWE) identifier."
},
"name": {
"type": "string",
"description": "The name of the CWE.",
"readOnly": true
}
},
"required": [
"cwe_id",
"name"
]
}
},
"credits": {
"type": [
"array",
"null"
],
"description": "The users who contributed to the advisory.",
"readOnly": true,
"items": {
"type": "object",
"properties": {
"user": {
"$ref": "#/$defs/simple-user"
},
"type": {
"$ref": "#/$defs/security-advisory-credit-types"
}
},
"required": [
"user",
"type"
]
}
}
},
"required": [
"ghsa_id",
"cve_id",
"url",
"html_url",
"repository_advisory_url",
"summary",
"description",
"type",
"severity",
"source_code_location",
"identifiers",
"references",
"published_at",
"updated_at",
"github_reviewed_at",
"nvd_published_at",
"withdrawn_at",
"vulnerabilities",
"cvss",
"cwes",
"credits"
],
"additionalProperties": false,
"x-github-breaking-changes": [
{
"changeset": "deprecate_cvss",
"patch": {
"properties": {
"cvss": null
},
"required": [
"ghsa_id",
"cve_id",
"url",
"html_url",
"repository_advisory_url",
"summary",
"description",
"type",
"severity",
"source_code_location",
"identifiers",
"references",
"published_at",
"updated_at",
"github_reviewed_at",
"nvd_published_at",
"withdrawn_at",
"vulnerabilities",
"cwes",
"credits"
]
},
"version": "2026-03-10"
}
],
"$defs": {
"cvss-severities": {
"type": [
"object",
"null"
],
"properties": {
"cvss_v3": {
"type": [
"object",
"null"
],
"properties": {
"vector_string": {
"type": [
"string",
"null"
],
"description": "The CVSS 3 vector string."
},
"score": {
"type": [
"number",
"null"
],
"description": "The CVSS 3 score.",
"minimum": 0,
"maximum": 10,
"readOnly": true
}
},
"required": [
"vector_string",
"score"
]
},
"cvss_v4": {
"type": [
"object",
"null"
],
"properties": {
"vector_string": {
"type": [
"string",
"null"
],
"description": "The CVSS 4 vector string."
},
"score": {
"type": [
"number",
"null"
],
"description": "The CVSS 4 score.",
"minimum": 0,
"maximum": 10,
"readOnly": true
}
},
"required": [
"vector_string",
"score"
]
}
}
},
"security-advisory-credit-types": {
"type": "string",
"description": "The type of credit the user is receiving.",
"enum": [
"analyst",
"finder",
"reporter",
"coordinator",
"remediation_developer",
"remediation_reviewer",
"remediation_verifier",
"tool",
"sponsor",
"other"
]
},
"security-advisory-ecosystems": {
"type": "string",
"description": "The package's language or package management ecosystem.",
"enum": [
"rubygems",
"npm",
"pip",
"maven",
"nuget",
"composer",
"go",
"rust",
"erlang",
"actions",
"pub",
"other",
"swift"
]
},
"security-advisory-epss": {
"type": [
"object",
"null"
],
"readOnly": true,
"description": "The EPSS scores as calculated by the [Exploit Prediction Scoring System](https://www.first.org/epss).",
"properties": {
"percentage": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"percentile": {
"type": "number",
"minimum": 0,
"maximum": 100
}
}
},
"simple-user": {
"title": "Simple User",
"description": "A GitHub user.",
"type": "object",
"properties": {
"name": {
"type": [
"string",
"null"
]
},
"email": {
"type": [
"string",
"null"
]
},
"login": {
"type": "string"
},
"id": {
"type": "integer",
"format": "int64"
},
"node_id": {
"type": "string"
},
"avatar_url": {
"type": "string",
"format": "uri"
},
"gravatar_id": {
"type": [
"string",
"null"
]
},
"url": {
"type": "string",
"format": "uri"
},
"html_url": {
"type": "string",
"format": "uri"
},
"followers_url": {
"type": "string",
"format": "uri"
},
"following_url": {
"type": "string"
},
"gists_url": {
"type": "string"
},
"starred_url": {
"type": "string"
},
"subscriptions_url": {
"type": "string",
"format": "uri"
},
"organizations_url": {
"type": "string",
"format": "uri"
},
"repos_url": {
"type": "string",
"format": "uri"
},
"events_url": {
"type": "string"
},
"received_events_url": {
"type": "string",
"format": "uri"
},
"type": {
"type": "string"
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string"
},
"user_view_type": {
"type": "string"
}
},
"required": [
"avatar_url",
"events_url",
"followers_url",
"following_url",
"gists_url",
"gravatar_id",
"html_url",
"id",
"node_id",
"login",
"organizations_url",
"received_events_url",
"repos_url",
"site_admin",
"starred_url",
"subscriptions_url",
"type",
"url"
]
},
"vulnerability": {
"description": "A vulnerability describing the product and its affected versions within a GitHub Security Advisory.",
"type": "object",
"properties": {
"package": {
"description": "The name of the package affected by the vulnerability.",
"type": [
"object",
"null"
],
"properties": {
"ecosystem": {
"$ref": "#/$defs/security-advisory-ecosystems"
},
"name": {
"type": [
"string",
"null"
],
"description": "The unique package name within its ecosystem."
}
},
"required": [
"ecosystem",
"name"
]
},
"vulnerable_version_range": {
"type": [
"string",
"null"
],
"description": "The range of the package versions affected by the vulnerability."
},
"first_patched_version": {
"type": [
"string",
"null"
],
"description": "The package version that resolves the vulnerability."
},
"vulnerable_functions": {
"type": [
"array",
"null"
],
"description": "The functions in the package that are affected by the vulnerability.",
"readOnly": true,
"items": {
"type": "string"
}
}
},
"required": [
"package",
"vulnerable_version_range",
"first_patched_version",
"vulnerable_functions"
]
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/github-global-advisory"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.