CVE-2026-41001: CWE-377: Insecure Temporary File in Spring Spring Boot
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.
AI Analysis
Technical Summary
Spring Boot's ArtemisEmbeddedConfigurationFactory component uses a predictable, fixed static path for the embedded Artemis message broker's data directory when no explicit configuration is provided. This insecure temporary file handling (CWE-377) can be exploited by a local attacker with access to the host to pre-create the directory or create symbolic links before the application starts, potentially causing unintended file access or modification. The affected versions include Spring Boot 2.7.0 through 2.7.33, 3.3.0 through 3.3.19, 3.4.0 through 3.4.16, 3.5.0 through 3.5.14, and 4.0.0 through 4.0.6. The CVSS 3.1 base score is 5.3 (medium), reflecting local attack vector with low complexity and no user interaction required, impacting confidentiality, integrity, and availability to a limited extent. No vendor advisory or patch is currently available.
Potential Impact
A local attacker on the same host can exploit the predictable static path to pre-create or symlink the Artemis message broker's data directory, potentially leading to unauthorized access or modification of data used by the embedded broker. This can result in limited confidentiality, integrity, and availability impacts as indicated by the CVSS score. The attack requires local access and low complexity but no user interaction.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, avoid running Spring Boot applications with embedded Artemis broker on shared or untrusted hosts, or explicitly configure the data directory path to a secure, non-predictable location to mitigate the risk of directory pre-creation or symlink attacks.
CVE-2026-41001: CWE-377: Insecure Temporary File in Spring Spring Boot
Description
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.
CVSS v3.1
Score 5.3medium
Affected software
pkg:maven/org.springframework.boot/spring-bootRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Spring Boot's ArtemisEmbeddedConfigurationFactory component uses a predictable, fixed static path for the embedded Artemis message broker's data directory when no explicit configuration is provided. This insecure temporary file handling (CWE-377) can be exploited by a local attacker with access to the host to pre-create the directory or create symbolic links before the application starts, potentially causing unintended file access or modification. The affected versions include Spring Boot 2.7.0 through 2.7.33, 3.3.0 through 3.3.19, 3.4.0 through 3.4.16, 3.5.0 through 3.5.14, and 4.0.0 through 4.0.6. The CVSS 3.1 base score is 5.3 (medium), reflecting local attack vector with low complexity and no user interaction required, impacting confidentiality, integrity, and availability to a limited extent. No vendor advisory or patch is currently available.
Potential Impact
A local attacker on the same host can exploit the predictable static path to pre-create or symlink the Artemis message broker's data directory, potentially leading to unauthorized access or modification of data used by the embedded broker. This can result in limited confidentiality, integrity, and availability impacts as indicated by the CVSS score. The attack requires local access and low complexity but no user interaction.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, avoid running Spring Boot applications with embedded Artemis broker on shared or untrusted hosts, or explicitly configure the data directory path to a secure, non-predictable location to mitigate the risk of directory pre-creation or symlink attacks.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- vmware
- Date Reserved
- 2026-04-16T02:19:12.970Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a2a59be318757064921e1fd
Added to database: 06/11/2026, 06:46:22 UTC
Last enriched: 06/24/2026, 14:30:44 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 159
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.