Vulnerabilities in pkg:maven/org.springframework.boot/spring-boot-autoconfigure

PACKAGE
Advisory Identifier: GHSA-ggg2-9786-hwc8
Advisory Summary

CVE-2026-41001 is a MODERATE (CVSS 5.3) predictable temp directory vulnerability (CWE-377: Insecure Temporary File) affecting Spring Boot libraries in the Maven ecosystem. The issue involves predictable temp directory in artemis auto-configuration. Remediation is available by upgrading affected packages to version 4.0.7, 3.5.15.

2 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.springframework.boot/spring-boot-autoconfigure

2 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/org.springframework.boot/spring-boot-autoconfigure. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-ggg2-9786-hwc8 CVE-2026-41001 MODERATE Spring Boot: Predictable Temp Directory in Artemis Auto-configuration
GHSA-xf96-w227-r7c4 CVE-2023-20883 HIGH Spring Boot Welcome Page Denial of Service

CVE-2026-41001 at a Glance

CVE Identifier CVE-2026-41001
GHSA Identifier GHSA-ggg2-9786-hwc8
Severity MODERATE
CVSS v3.1 Base Score 5.3
CWE Classification CWE-377: Insecure Temporary File
Affected Product Spring Boot
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 5.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L).

Attack Vector Local (AV:L)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability Low (A:L)

How to Fix CVE-2026-41001

To remediate this vulnerability, upgrade all affected Spring Boot dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.springframework.boot:spring-boot-autoconfigure fixed: 4.0.7
<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-autoconfigure</artifactId>
    <version>4.0.7</version>
</dependency>
org.springframework.boot:spring-boot-autoconfigure fixed: 3.5.15
<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-autoconfigure</artifactId>
    <version>3.5.15</version>
</dependency>
org.springframework.boot:spring-boot-autoconfigure fixed: Latest secure release
<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-autoconfigure</artifactId>
    <version>Latest secure release</version>
</dependency>
org.springframework.boot:spring-boot-autoconfigure fixed: Latest secure release
<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-autoconfigure</artifactId>
    <version>Latest secure release</version>
</dependency>
org.springframework.boot:spring-boot-autoconfigure fixed: Latest secure release
<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-autoconfigure</artifactId>
    <version>Latest secure release</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=org.springframework.boot

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2026-41001, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.springframework.boot

Analyze the terminal output to locate any version of Spring Boot in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.0.7), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.springframework.boot command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-377: Insecure Temporary File, where creating and using insecure temporary files can leave application and system data vulnerable to attack. In Spring Boot, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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.

CVE-2026-41001 Affected Spring Boot Versions

5 component(s)
Fixed Versions:
4.0.73.5.15
Product / Package Ecosystem Affected Versions Fixed Version
org.springframework.boot:spring-boot-autoconfigure
Maven
≥ 4.0.0
< 4.0.7
4.0.7
org.springframework.boot:spring-boot-autoconfigure
Maven
≥ 3.5.0
< 3.5.15
3.5.15
org.springframework.boot:spring-boot-autoconfigure
Maven
≥ 3.4.0
≤ 3.4.16
org.springframework.boot:spring-boot-autoconfigure
Maven
≥ 3.3.0
≤ 3.3.19
org.springframework.boot:spring-boot-autoconfigure
Maven
≥ 2.7.0
≤ 2.7.33

References

Frequently Asked Questions

What is CVE-2026-41001?
CVE-2026-41001 is a security vulnerability in Spring Boot involving Predictable Temp Directory in Artemis Auto-configuration under CWE-377: Insecure Temporary File.
Which Spring Boot versions are affected?
Affected versions include releases prior to 4.0.7, 3.5.15 across affected packages: org.springframework.boot:spring-boot-autoconfigure.
What version fixes CVE-2026-41001?
Upgrading to 4.0.7, 3.5.15 (or the latest patched release for your respective branch) resolves the vulnerability.
Is spring-boot-autoconfigure affected?
Yes, org.springframework.boot:spring-boot-autoconfigure is affected in releases prior to 4.0.7, 3.5.15, Latest secure release. Upgrade your dependency to 4.0.7, 3.5.15, Latest secure release or later.
What is the CVSS score of CVE-2026-41001?
CVE-2026-41001 has a CVSS v3.1 base score of 5.3 (MODERATE) with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L.
What CWE is associated with CVE-2026-41001?
CVE-2026-41001 is classified under CWE-377: Insecure Temporary File (Creating and using insecure temporary files can leave application and system data vulnerable to attack.).
How can I check Maven dependencies for CVE-2026-41001?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.springframework.boot'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-ggg2-9786-hwc8",
  "modified" : "2026-08-21T19:13:33Z",
  "published" : "2026-06-11T09:31:56Z",
  "aliases" : [ "CVE-2026-41001" ],
  "summary" : "Spring Boot: Predictable Temp Directory in Artemis Auto-configuration",
  "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.\n\nAffected versions:\nSpring 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.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.springframework.boot:spring-boot-autoconfigure"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.0.0"
      }, {
        "fixed" : "4.0.7"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 4.0.6"
    }
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.springframework.boot:spring-boot-autoconfigure"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.5.0"
      }, {
        "fixed" : "3.5.15"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 3.5.14"
    }
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.springframework.boot:spring-boot-autoconfigure"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.4.0"
      }, {
        "last_affected" : "3.4.16"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.springframework.boot:spring-boot-autoconfigure"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.3.0"
      }, {
        "last_affected" : "3.3.19"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.springframework.boot:spring-boot-autoconfigure"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.7.0"
      }, {
        "last_affected" : "2.7.33"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-41001"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/spring-projects/spring-boot/commit/4218bd76e934e5cf9e3fd3997c67b8a6b0d0c111"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/spring-projects/spring-boot"
  }, {
    "type" : "WEB",
    "url" : "https://spring.io/security/cve-2026-41001"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-377" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-08-21T19:13:33Z",
    "nvd_published_at" : "2026-06-11T07:16:28Z"
  }
}