CVE-2021-27306 in Konghq Kong Gateway
An improper access control vulnerability in the JWT plugin in Kong Gateway prior to 2.3.2.0 allows unauthenticated users access to authenticated routes without a valid token JWT.
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Konghq | Kong Gateway | < 2.3.2.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
An improper access control vulnerability in the JWT plugin in Kong Gateway prior to 2.3.2.0 allows unauthenticated users access to authenticated routes without a valid token JWT.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2021-27306 |
|---|---|
| BreachSpider ID | BS-2021-GLOBAL-080611-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| Published | 2021-03-18 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-706: CWE-706
Related attack patterns (CAPEC)
CAPEC-177 Create files with the same name as files protected with a higher classification via CWE-706
CAPEC-641 DLL Side-Loading via CWE-706
CAPEC-48 Passing Local Filenames to Functions That Expect a URL via CWE-706
CAPEC-159 Redirect Access to Libraries via CWE-706
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
An improper access control vulnerability in the JWT plugin in Kong Gateway prior to 2.3.2.0 allows unauthenticated users to access authenticated routes without a valid token.
The vulnerability stems from the JWT plugin not properly enforcing authentication checks, enabling attackers to bypass authentication and access protected routes.
Questions
What is CVE-2021-27306?
An improper access control vulnerability in the JWT plugin in Kong Gateway prior to 2.3.2.0 allows unauthenticated users to access authenticated routes without a valid token.
What is the CVSS score for CVE-2021-27306?
CVE-2021-27306 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N. EPSS: 1.8%.
Is CVE-2021-27306 actively exploited?
No confirmed active exploitation of CVE-2021-27306 as of 2026-09-25.
How do I remediate CVE-2021-27306?
Priority: HIGH. Advisory: https://docs.konghq.com/enterprise/changelog/#core-1 PSIRT: [email protected]
What systems are affected by CVE-2021-27306?
CVE-2021-27306 affects Konghq Kong Gateway.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Konghq","product":"Kong Gateway","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.