CVE-2018-15801
Authorization Bypass During JWT Issuer Validation with spring-security
Also known as GHSA-27xw-p8v6-9jjr
Mitigation
- Upgrade org.springframework.security:spring-security-core to 5.1.2 or later.
- Upgrade org.springframework.security:spring-security-oauth2-jose to 5.1.2 or later.
Who should check
- Projects that depend on Maven package org.springframework.security:spring-security-core (>= 5.1.0, < 5.1.2)
- Projects that depend on Maven package org.springframework.security:spring-security-oauth2-jose (>= 5.1.0, < 5.1.2)
- Anyone running Spring by Pivotal Spring Security >= 5.1.x, < 5.1.2
Vulnerability facts
- Affected
- org.springframework.security:spring-security-core >= 5.1.0, < 5.1.2; org.springframework.security:spring-security-oauth2-jose >= 5.1.0, < 5.1.2
- Fixed in
- 5.1.2
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 3.3 (v3.0, CNA)CVSS:3.0/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: High
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: Low
- Integrity impact: Low
- Availability impact: None
- EPSS
- 0.65% chance of exploitation in 30 days (percentile 46, 2026-11-26)
- CWE
- CWE-345
- Modified
Description
Spring Security versions 5.1.x prior to 5.1.2 contain an authorization bypass vulnerability during JWT issuer validation. In order to be impacted, the same private key for an honest issuer and a malicious user must be used when signing JWTs. In that case, a malicious user could fashion signed JWTs with the malicious issuer URL that may be granted for the honest issuer.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.springframework.security:spring-security-core | >= 5.1.0, < 5.1.2 | 5.1.2 | osv |
| Maven org.springframework.security:spring-security-oauth2-jose | >= 5.1.0, < 5.1.2 | 5.1.2 | osv |
| Spring by Pivotal Spring Security | >= 5.1.x, < 5.1.2 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2018-15801. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2018-15801.md Affected: org.springframework.security:spring-security-core >= 5.1.0, < 5.1.2; org.springframework.security:spring-security-oauth2-jose >= 5.1.0, < 5.1.2 Fixed in: 5.1.2 Steps: 1. Search this machine and project for org.springframework.security:spring-security-core (Maven), org.springframework.security:spring-security-oauth2-jose (Maven), Spring by Pivotal Spring Security: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
FAQ
Is CVE-2018-15801 being exploited?
There is no confirmed exploitation: CVE-2018-15801 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.65% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2018-15801?
Low: CVSS 3.3 (v3.0, scored by CNA). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2018-15801?
org.springframework.security:spring-security-core >= 5.1.0, < 5.1.2; org.springframework.security:spring-security-oauth2-jose >= 5.1.0, < 5.1.2.
Is there a fix for CVE-2018-15801?
Yes. Fixed in 5.1.2. Upgrade org.springframework.security:spring-security-core to 5.1.2 or later. Upgrade org.springframework.security:spring-security-oauth2-jose to 5.1.2 or later.
How do I check if I'm affected by CVE-2018-15801?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.