CVE-2026-40977

Source
https://cve.org/CVERecord?id=CVE-2026-40977
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-40977.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-40977
Aliases
Downstream
CLSA (14)
Published
2026-04-27T23:36:06Z
Modified
2026-10-16T02:59:11Z
Severity
  • 4.7 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:H CVSS Calculator
Summary
[none]
Details

When an application is configured to use ApplicationPidFileWriter, a local attacker with write access to the PID file's location can corrupt one file on the host each time the application is started.

Affected: Spring Boot 4.0.0–4.0.5 (fix 4.0.6), 3.5.0–3.5.13 (fix 3.5.14), 3.4.0–3.4.15 (fix 3.4.16), 3.3.0–3.3.18 (fix 3.3.19), 2.7.0–2.7.32 (fix 2.7.33); PID file / symlink behavior (ApplicationPidFileWriter). Versions that are no longer supported are also affected per vendor advisory.

Database specific
{
    "cna_assigner": "vmware",
    "cwe_ids": [
        "CWE-59"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40977.json",
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "range": [
                        {
                            "introduced": "4.0.0"
                        },
                        {
                            "fixed": "4.0.6"
                        },
                        {
                            "introduced": "3.5.0"
                        },
                        {
                            "fixed": "3.5.14"
                        },
                        {
                            "introduced": "3.4.0"
                        },
                        {
                            "fixed": "3.4.16"
                        },
                        {
                            "introduced": "3.3.0"
                        },
                        {
                            "fixed": "3.3.19"
                        },
                        {
                            "introduced": "2.7.0"
                        },
                        {
                            "fixed": "2.7.33"
                        }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/spring-projects/spring-boot

Affected ranges

Type
GIT
Repo
https://github.com/spring-projects/spring-boot
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "cpe": "cpe:2.3:a:vmware:spring_boot:*:*:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "3.5.0"
                },
                {
                    "fixed": "3.5.14"
                }
            ],
            "source": "CPE_RANGE"
        },
        {
            "cpe": "cpe:2.3:a:vmware:spring_boot:*:*:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "4.0.0"
                },
                {
                    "fixed": "4.0.6"
                }
            ],
            "source": "CPE_RANGE"
        }
    ]
}

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-40977.json"