CVE-2026-41001

Predictable Temp Directory in Artemis Auto-configuration

Published Jun 11, 2026 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Spring Boot's ArtemisEmbeddedConfigurationFactory assigns 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. By doing so, the attacker can redirect where the broker stores data, potentially corrupting messages or directing data to an attacker‑controlled location, thereby compromising the integrity of broker data.

Affected Systems

Affecting Spring Boot versions 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. Only the Spring Boot framework is impacted.

Risk and Exploitability

The threat requires local access and the EPSS score of <1% with no listing in CISA KEV indicates limited real‑world exploitation. An attacker would need the ability to create or symlink the predetermined directory, typically requiring file‑system permissions on the host. Success would allow the attacker to overwrite or redirect the broker’s data directory, undermining data integrity. The CVSS score of 5.3 denotes a moderate severity.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to a Spring Boot release that addresses the predictable directory issue (e.g., 4.0.7 or later, or the latest 3.x and 2.x releases).
  • Set an explicit Artemis data directory in the application configuration (application.properties or application.yml) to override the default path.
  • Run the application under a dedicated, non‑privileged user and restrict filesystem permissions on the data directory to prevent unauthorized creation or manipulation of the directory.

Generated by OpenCVE AI on August 2, 2026 at 01:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-ggg2-9786-hwc8 Spring Boot: Predictable Temp Directory in Artemis Auto-configuration
History
Type Values Removed Values Added
First Time appeared Vmware
Vmware spring Boot
CPEs cpe:2.3:a:vmware:spring_boot:*:*:*:*:*:*:*:*
Vendors & Products Vmware
Vmware spring Boot
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Spring
Spring spring Boot
Vendors & Products Spring
Spring spring Boot
Type Values Removed Values Added
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.
Title Predictable Temp Directory in Artemis Auto-configuration
Weaknesses CWE-377
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L'}

Weaknesses
  • CWE-1188

    Initialization of a Resource with an Insecure Default

  • CWE-377

    Insecure Temporary File

Sources

Status
PUBLISHED
Assigner
vmware
Published
Updated
Jun 23, 2026, 7:54 PM
Reserved
Apr 16, 2026, 2:19 AM
Status
Analyzed
Published
Jun 11, 2026, 7:16 AM
Modified
Sep 4, 2026, 6:13 PM
Severity
Moderate
Public date
Jun 11, 2026, 5:04 AM