ADVISORIES

GitHub Advisory Database

GHSA-ggg2-9786-hwc8

Spring Boot: Predictable Temp Directory in Artemis Auto-configuration

Moderate CVE-2026-41001

Details

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.

Affected packages

EcosystemPackageAffected versions
Mavenorg.springframework.boot:spring-boot-autoconfigure
From 4.0.0 before 4.0.7 (fixed in 4.0.7)
Mavenorg.springframework.boot:spring-boot-autoconfigure
From 3.5.0 before 3.5.15 (fixed in 3.5.15)
Mavenorg.springframework.boot:spring-boot-autoconfigure
From 3.4.0 up to and including 3.4.16
Mavenorg.springframework.boot:spring-boot-autoconfigure
From 3.3.0 up to and including 3.3.19
Mavenorg.springframework.boot:spring-boot-autoconfigure
From 2.7.0 up to and including 2.7.33

References