CVE-2026-41001: Predictable Temp Directory in Artemis Auto-configuration

MEDIUM | JUNE 10, 2026 | CVE-2026-41001

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. This enables the attacker to hijack message queue data, inject malicious messages, or potentially execute code via deserialization attacks through the journal.

Affected Spring Products and Versions

Spring Boot:

  • 4.0.0 - 4.0.6
  • 3.5.0 - 3.5.14
  • 3.4.0 - 3.4.16
  • 3.3.0 - 3.3.19
  • 2.7.0 - 2.7.33

Versions that are no longer supported are also affected.

Mitigation

Users of affected versions should upgrade to the corresponding fixed version.

Affected version(s) Fix version Availability
4.0.x 4.0.7 OSS
4.0.x 4.0.6.1 Enterprise Support Only
3.5.x 3.5.15 OSS
3.5.x 3.5.14.1 Enterprise Support Only
3.4.x 3.4.17 Enterprise Support Only
3.3.x 3.3.20 Enterprise Support Only
2.7.x 2.7.34 Enterprise Support Only

Credit

This issue was identified and responsibly reported by Yu Bao[https://github.com/August829] - [email protected], who works for paypal.com.

References

History

  • 2026-06-03: Initial vulnerability report published.

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all