# CVE-2018-15801: Authorization Bypass During JWT Issuer Validation with spring-security

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** LOW 3.3
- **CVSS:** 3.3 (v3.0, CNA) `CVSS:3.0/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.65% (percentile 46, 2026-11-26)
- **CWE:** CWE-345
- **Aliases:** GHSA-27xw-p8v6-9jjr
- **Published:** 2018-12-19T22:00:00.000Z
- **Modified:** 2026-06-17T01:43:07.673Z

## 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

## 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

- Maven `org.springframework.security:spring-security-core`: affected \>= 5.1.0, \< 5.1.2; fixed 5.1.2 (osv)
- Maven `org.springframework.security:spring-security-oauth2-jose`: affected \>= 5.1.0, \< 5.1.2; fixed 5.1.2 (osv)
- Spring by Pivotal Spring Security: \>= 5.1.x, \< 5.1.2 (cvelist)

## 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.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- vendor: <https://pivotal.io/security/cve-2018-15801>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2018-15801>
- vendor: <https://github.com/advisories/GHSA-27xw-p8v6-9jjr>
- patch: <https://github.com/spring-projects/spring-security/commit/c70b65c5df0e170a2d34d812b83db0b7bc71ea25>
- other: <https://github.com/spring-projects/spring-security>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2018-15801>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-27xw-p8v6-9jjr> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2018-15801> · JSON: <https://flawdb.com/api/v1/entries/CVE-2018-15801>
