Skip to main content

Spring Boot CVE-2026-41001

| EUVDEUVD-2026-36211 MEDIUM
Insecure Temporary File (CWE-377)
2026-06-11 vmware GHSA-ggg2-9786-hwc8
5.3
CVSS 3.1 · Vendor: vmware
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain local OS account on target host
  2. Delivery
    Identify default static Artemis data path from Spring Boot source
  3. Exploit
    Pre-create symlink at that path pointing to attacker-controlled directory
  4. Execution
    Wait for application startup or restart
  5. Persist
    Spring Boot initializes Artemis broker to redirected path
  6. Impact
    Read broker message data or corrupt journal files

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Secure temp file creation
Exploitation Conditions

Exploitation requires three concurrent conditions: (1) the target Spring Boot application must be using the embedded Apache ActiveMQ Artemis broker, meaning spring-boot-starter-artemis is on the classpath and broker mode is embedded rather than external; (2) the spring.artemis.embedded.data-directory property must NOT be explicitly configured - applications that set this property are not vulnerable regardless of version; (3) the attacker must hold a local OS account on the same host with write access to the filesystem location where the default static path resides, consistent with the CVSS PR:L metric. The attacker must act before the Spring Boot application initializes Artemis (at startup), though pre-placement before deployment is equally viable and avoids any race window. Exploitation is NOT possible remotely (AV:L), NOT possible against applications with an explicitly configured data directory, and NOT possible in containerized or isolated deployments where co-tenant filesystem access is absent. The PR:L requirement means this is not exploitable by anonymous or unauthenticated parties.

Impact

The CVSS 3.1 vector AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L (score 5.3, Medium) is internally consistent with the attack description: local access with low privileges, no complexity barrier, unchanged scope, and partial impact across all three CIA pillars. No EPSS score is present in the available data, so exploitation probability cannot be quantified. KEV status is negative - CISA has not confirmed active exploitation. No public POC code has been identified at time of analysis. Real-world risk is meaningfully elevated in multi-tenant or shared-host environments (PaaS deployments, container hosts with co-located workloads, shared CI/CD runners) where untrusted local users exist; on isolated single-tenant hosts the threat is substantially reduced because local account access is typically restricted to trusted operators. The breadth of affected versions across five release trains increases the collective attack surface across the Spring Boot ecosystem. SSVC technical impact is partial - exploitation does not yield full system compromise but could expose application message payloads or corrupt broker state.

Exploit ScenarioDerived

A local attacker with a low-privileged OS account on the same host as a Spring Boot application using embedded Artemis consults the publicly available Spring Boot source code to determine the static default data directory path. Before a scheduled application restart or initial deployment, the attacker pre-creates a symlink at that path pointing to a directory they control, causing Spring Boot's ArtemisEmbeddedConfigurationFactory to initialize the broker's persistence store at the attacker-controlled location on next startup. The attacker can subsequently read broker message data - potentially containing application payloads - or corrupt journal files to disrupt broker operation. No public exploit code has been identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 11, 2026

Insecure temporary file handling in Spring Boot's ArtemisEmbeddedConfigurationFactory allows a local, low-privileged attacker on the same host to hijack the embedded Apache ActiveMQ Artemis broker's data directory before the application starts. By pre-creating the predictable static path or placing a symlink at that location, the attacker can redirect broker persistence writes - including application messages, journal files, and bindings - to an attacker-controlled filesystem location, yielding partial confidentiality, integrity, and availability impact. No public exploit has been identified at time of analysis, but the vulnerability spans five active Spring Boot release trains (2.7.x through 4.0.x), broadening aggregate exposure.

RemediationAI

The primary fix is to upgrade Spring Boot to a patched release; consult the vendor advisory at https://spring.io/security/cve-2026-41001 for confirmed fix versions, as exact patched release numbers are not independently confirmed from the available input data beyond the stated affected ranges. As an immediate workaround that fully eliminates the attack surface without disabling the embedded broker, explicitly set the spring.artemis.embedded.data-directory property in application.properties or application.yml to a non-predictable, application-specific path (e.g., a unique subdirectory under the application's working directory owned exclusively by the service account, with OS permissions 0700). This removes the predictable path condition entirely. An alternative compensating control is to tighten filesystem permissions on the parent directory of the default static path so only the application's OS user can create entries there; however, this may not be feasible in shared environments and does not address the root cause. Consider switching to an external Artemis broker if the embedded mode is not strictly required, which eliminates this class of risk entirely.

Affected VersionsENISA

Spring Boot 2.7.0 <2.7.34
Spring Boot 3.4.0 <3.4.17
Spring Boot 3.3.0 <3.3.20
Spring Boot 4.0.0 <4.0.7
Spring Boot 3.5.0 <3.5.15

Affected Packages

maven org.springframework.boot:spring-boot-autoconfigure fix: 3.5.15, 4.0.7
euvd spring_boot fix: 2.7.34, 3.3.20, 3.4.17, 3.5.15, 4.0.7

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in maven, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw resides in org.springframework.boot.autoconfigure.jms.artemis.ArtemisEmbeddedConfigurationFactory, the Spring Boot auto-configuration component responsible for initializing an embedded Apache ActiveMQ Artemis broker. When the spring.artemis.embedded.data-directory property is absent, the factory falls back to a fixed, static filesystem path for the broker's persistence store. CWE-377 (Insecure Temporary File) describes this root cause class: using a predictable name or path in a shared filesystem location enables race-condition or path pre-positioning attacks, where an adversary plants a directory entry or symlink before the legitimate application claims it. The Artemis broker writes journal segments, bindings stores, and large message data to this directory at startup, all of which become accessible or corruptible if the path is redirected. The affected CPE is cpe:2.3:a:spring:spring_boot:*:*:*:*:*:*:*:*, covering all listed version ranges. The vulnerability is only relevant when the embedded Artemis broker is in use - external broker configurations are unaffected.

Know when Spring gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vmware) PRIMARY 5.3 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
vuln.today AI 5.3 MEDIUM

Requires local OS account (PR:L) and write access to a locally accessible static path (AV:L); partial C/I/A reflect limited message-data exposure without full system compromise.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
Red Hat 5.3 MEDIUM

Primary rating from Vendor (vmware).

CVSS VectorVendor: vmware

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low

Lifecycle Timeline

1
Patch available
Jun 11, 2026 - 08:01 EUVD

DescriptionCVE.org

Spring Boot's ArtemisEmbeddedConfigurationFactory uses a fixed, static path for the embedded Artemis message broker's data directory when no explicit path is configured. A local attacker on the same host can pre-create this predictable directory or place a symlink before the application starts.

Affected versions: Spring Boot 4.0.0 through 4.0.6; 3.5.0 through 3.5.14; 3.4.0 through 3.4.16; 3.3.0 through 3.3.19; 2.7.0 through 2.7.33.

Threat Intelligence Overview

EPSS Score
0.0%
Top 98% exploitable
Social Media
2
Sightings
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Spring

View all
CVE-2025-70982 CRITICAL POC
9.9 Jan 26

Access control bypass in SpringBlade v4.5.0 importUser function allows low-privileged users to import sensitive user dat

CVE-2026-22739 HIGH POC
8.6 Mar 24

Spring Cloud Config Server contains a path traversal vulnerability when using the native file system backend, allowing u

CVE-2026-59415 CRITICAL
10.0 Nov 24

Document ID injection in Spring AI's TypesenseVectorStore delete path lets a remote unauthenticated caller who controls

CVE-2025-41242 MEDIUM POC
5.9 Aug 18

Spring Framework MVC applications can be vulnerable to a “Path Traversal Vulnerability” when deployed on a non-compliant

CVE-2025-70983 CRITICAL
9.9 Jan 23

SpringBlade v4.5.0 has an access control flaw in authRoutes allowing low-privileged users to escalate to admin through t

CVE-2026-41699 CRITICAL
9.8 Jun 11

Remote code execution in Spring for GraphQL versions 1.3.0-1.3.8, 1.4.0-1.4.5, and 2.0.0-2.0.3 allows unauthenticated at

CVE-2026-59313 CRITICAL
9.8 Aug 27

Server-Sent Events (SSE) stream corruption affects Spring MVC applications built on the functional web framework across

CVE-2026-22738 CRITICAL
9.8 Mar 27

Spring AI versions 1.0.0 through 1.0.4 and 1.1.0 through 1.1.3 allow unauthenticated remote code execution through Sprin

CVE-2026-41855 CRITICAL
9.8 Jun 09

Unsafe JSON deserialization in Spring Framework's JMS message converters (MappingJackson2MessageConverter and JacksonJso

CVE-2025-41232 CRITICAL
9.1 May 21

Spring Security Aspects may not correctly locate method security annotations on private methods. Rated critical severity

CVE-2026-59283 CRITICAL
9.1 Aug 27

Safety-guard bypass in the Spring Framework SpEL engine (VMware/Broadcom) lets attacker-controlled expression input esca

CVE-2026-40982 CRITICAL
9.1 May 07

Directory traversal in Spring Cloud Config server module allows remote unauthenticated attackers to read arbitrary files

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy