# CVE-2018-1272: Possible privilege escalation in org.springframework:spring-core

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

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, NVD) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 3.06% (percentile 88, 2026-11-26)
- **Aliases:** GHSA-4487-x383-qpph
- **Published:** 2018-04-06T13:00:00.000Z
- **Modified:** 2026-06-17T01:50:53.350Z

## Who should check

- Projects that depend on Maven package org.springframework:spring-core (\< 4.3.15)
- Anyone running Spring by Pivotal Spring Framework Versions prior to 5.0.5 and 4.3.15

## Description

Spring Framework, versions 5.0 prior to 5.0.5 and versions 4.3 prior to 4.3.15 and older unsupported versions, provide client-side support for multipart requests. When Spring MVC or Spring WebFlux server application (server A) receives input from a remote client, and then uses that input to make a multipart request to another server (server B), it can be exposed to an attack, where an extra multipart is inserted in the content of the request from server A, causing server B to use the wrong value for a part it expects. This could to lead privilege escalation, for example, if the part content represents a username or user roles.

## Affected and fixed versions

- Maven `org.springframework:spring-core`: affected \< 4.3.15; fixed 4.3.15, 5.0.5 (osv)
- Spring by Pivotal Spring Framework: Versions prior to 5.0.5 and 4.3.15 (cvelist)

## Mitigation

- Upgrade org.springframework:spring-core to one of 4.3.15, 5.0.5 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2018-1272. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2018-1272.md
Affected: org.springframework:spring-core < 4.3.15
Fixed in: 4.3.15, 5.0.5

Steps:
1. Search this machine and project for org.springframework:spring-core (Maven), Spring by Pivotal Spring Framework: 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-1272 being exploited?

There is no confirmed exploitation: CVE-2018-1272 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 3.06% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2018-1272?

High: CVSS 7.5 (v3.1, scored by NVD). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2018-1272?

org.springframework:spring-core \< 4.3.15.

### Is there a fix for CVE-2018-1272?

Yes. Fixed in 4.3.15, 5.0.5. Upgrade org.springframework:spring-core to one of 4.3.15, 5.0.5 (or later in the same release line).

### How do I check if I'm affected by CVE-2018-1272?

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://access.redhat.com/errata/RHSA-2018:2669>
- vendor: <https://access.redhat.com/errata/RHSA-2018:1320>
- vendor: <https://pivotal.io/security/cve-2018-1272>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2018-1272>
- vendor: <https://github.com/advisories/GHSA-4487-x383-qpph>
- patch: <http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html>
- patch: <http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html>
- patch: <https://www.oracle.com/security-alerts/cpujul2020.html>
- patch: <https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html>
- patch: <https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html>
- patch: <https://www.oracle.com/security-alerts/cpuoct2021.html>
- patch: <https://github.com/spring-projects/spring-framework/commit/ab2410c754b67902f002bfcc0c3895bd7772d39>
- patch: <https://github.com/spring-projects/spring-framework/commit/e02ff3a0da50744b0980d5d665fd242eedea767>
- other: <http://www.securityfocus.com/bid/103697>

## 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-1272>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-4487-x383-qpph> (license: <https://creativecommons.org/licenses/by/4.0/>)

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