Security advisory
Gravitee API Management through 4.12.22 contains an authentication bypass vulnerability that allows unauthenticated remote attackers to impersonate any user by forging JWTs signed with the shipped default jwt.secret. Attackers knowing an existing user ID can sign an HS256 token with that subject and present it as a bearer token to the Management API, impersonating administrators to gain full platform control.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-37281
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:28 UTC · Revision 1
Source evidence
Gravitee API Management through 4.12.22 contains an authentication bypass vulnerability that allows unauthenticated remote attackers to impersonate any user by forging JWTs signed with the shipped default jwt.secret. Attackers knowing an existing user ID can sign an HS256 token with that subject and present it as a bearer token to the Management API, impersonating administrators to gain full platform control.
osv:CVE-2020-37281
Complete source record
{
"id": "5d1a267bb952cfbc1e10d33543d5be6530a2bec43ba3b70e6ef6386524f0545f",
"url": "https://osv.dev/vulnerability/CVE-2020-37281",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-37281",
"summary": "Gravitee API Management through 4.12.22 contains an authentication bypass vulnerability that allows unauthenticated remote attackers to impersonate any user by forging JWTs signed with the shipped default jwt.secret. Attackers knowing an existing user ID can sign an HS256 token with that subject and present it as a bearer token to the Management API, impersonating administrators to gain full platform control.",
"evidence": "osv:CVE-2020-37281",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2020-37281",
"aliases": [
"CVE-2020-37281"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/gravitee-io/gravitee-api-management",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "72624b2d97c152a589f8712bd2cdeae686afaecf"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "4.12.22"
}
],
"source": "DESCRIPTION"
}
]
}
}
],
"versions": [
"4.12.22",
"4.12.21",
"4.12.20",
"4.12.19",
"4.12.18",
"4.12.17",
"4.12.16",
"4.12.15",
"4.12.14",
"4.12.13",
"4.12.12",
"4.12.11",
"4.12.10",
"4.12.9",
"4.12.8",
"4.12.7",
"4.12.6",
"4.12.5",
"4.12.4",
"4.12.3",
"4.12.2",
"4.12.1",
"4.12.0",
"4.12.0-milestone.6",
"4.12.0-milestone.5",
"4.12.0-milestone.4",
"4.12.0-milestone.3",
"4.12.0-milestone.2",
"4.12.0-milestone.1",
"4.12.0-alpha.1",
"3.15.0",
"3.13.0",
"3.12.0",
"3.11.0",
"3.10.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-37281.json"
}
}
],
"modified": "2026-10-20T10:54:21.737368594Z",
"provider": "osv",
"references": [
"https://github.com/gravitee-io/gravitee-api-management/blob/4.12.22/gravitee-apim-rest-api/gravitee-apim-rest-api-management/gravitee-apim-rest-api-management-security/src/main/java/io/gravitee/rest/api/management/security/config/BasicSecurityConfigurerAdapter.java#L157-L175",
"https://github.com/gravitee-io/gravitee-api-management/blob/4.12.22/gravitee-apim-rest-api/gravitee-apim-rest-api-standalone/gravitee-apim-rest-api-standalone-distribution/src/main/resources/config/gravitee.yml#L636-L637",
"https://github.com/gravitee-io/gravitee-api-management/blob/4.12.22/helm/values.yaml#L103",
"https://github.com/gravitee-io/gravitee-docs/blob/master/pages/apim/3.x/how-tos/how-to-general-configuration.adoc",
"https://www.vulncheck.com/advisories/gravitee-api-management-through-4.12.22-default-jwt-secret-authentication-bypass",
"https://github.com/gravitee-io/issues/issues/4204"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2020-37281",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 385173,
"published_at": "2026-10-14T15:16:59.37+00:00"
}