CVE-2020-37281
8.1 HIGHpublic exploit availablePublished 2026-10-14 · Updated 2026-10-15
AI risk analysis
- Summary
- Gravitee API Management versions through 4.12.22 ship with a default JWT secret key (jwt.secret), allowing attackers to forge valid HS256 tokens and impersonate any user—including administrators—by signing tokens with that known secret.
- Exploitability
- High exploitability due to publicly available default secret and lack of authentication required to submit forged tokens to the Management API.
- Blast radius
- Successful exploitation grants full administrative control over the platform, enabling data exfiltration, configuration tampering, and lateral movement within connected systems.
- Detection
- Look for JWT bearer tokens in requests to the Management API that decode to unexpected or privileged user IDs (e.g., admin) without corresponding prior authentication events; inspect logs for repeated token validation failures followed by successful access to sensitive endpoints.
- Prioritized remediation
- Upgrade to Gravitee API Management 4.12.23 or later, where the default jwt.secret is removed and replaced with a requirement for explicit secure secret configuration.
auth-bypassjwt-forgerydefault-credentialsapi-managementcwe-1394
Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.
NVD description
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.
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-1394
Public exploit & PoC 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://github.com/gravitee-io/issues/issues/4204
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://github.com/gravitee-io/issues/issues/4204
- https://www.vulncheck.com/advisories/gravitee-api-management-through-4.12.22-default-jwt-secret-authentication-bypass
Data: NVD (public domain). Analysis: local $0 model. Defensive use only.