# CVE-2018-1258: Spring Framework when used in combination with any versions of Spring Security contains an authorization bypass

Source: https://junglewise.ai/threats/cve-2018-1258-spring-framework-when-used-in-combination-with-any-versions-of  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2018-10-17  
License: CC BY 4.0 with a link back

CVE-2018-1258 · Severity: low · CVSS 3 · Published 2018-10-17

Spring Framework when used in combination with any versions of Spring Security contains an authorization bypass

Technologies: [org.springframework:spring-core (Maven)](https://junglewise.ai/threats/technologies/org-springframework-spring-core). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2018-1258 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2018-1258 being exploited in the wild.

**How severe is CVE-2018-1258?** Low severity, with a CVSS score of 3, published 17 October 2018.

**Which products and versions are affected?** org.springframework:spring-core (Maven) ECOSYSTEM:introduced=5.0.5.RELEASE,fixed=5.0.6.RELEASE.

**Is there a fix for CVE-2018-1258?** Yes. org.springframework:spring-core (Maven): upgrade to 5.0.6.RELEASE or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2018-1258?** Check whether you run org.springframework:spring-core (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.springframework:spring-core (Maven): upgrade to 5.0.6.RELEASE or later

  ```sh
  # set org.springframework:spring-core to 5.0.6.RELEASE in your pom.xml or build.gradle
  ```


## Affected products

- org.springframework:spring-core (Maven) ECOSYSTEM:introduced=5.0.5.RELEASE,fixed=5.0.6.RELEASE

## Identifiers

- CVE-2018-1258
- GHSA-cxrj-66c5-9fmh

## Related threats

- [VMware Spring Framework ReDoS in AntPathMatcher](https://junglewise.ai/threats/cve-2026-41848-vmware-spring-framework-redos-in-antpathmatcher)
- [Spring Framework annotation detection mechanism may result in improper authorization](https://junglewise.ai/threats/cve-2025-41249-spring-framework-annotation-detection-mechanism-may-result-in)
- [Spring Framework server Web DoS Vulnerability](https://junglewise.ai/threats/cve-2024-22233-spring-framework-server-web-dos-vulnerability)
- [Improper Output Neutralization for Logs in Spring Framework](https://junglewise.ai/threats/cve-2021-22096-improper-output-neutralization-for-logs-in-spring-framework)
- [Improper Neutralization of Directives in Dynamically Evaluated Code in Spring Framework](https://junglewise.ai/threats/cve-2011-2730-improper-neutralization-of-directives-in-dynamically-evaluated)
