Spring Security's spring-security.xsd file is world writable
The spring-security.xsd file inside the spring-security-config jar is world writable which means that if it were extracted it could be written by anyone with access to the file system.
While there are no known exploits, this is an example of “CWE-732: Incorrect Permission Assignment for Critical Resource” and could result in an exploit. Users should update to the latest version of Spring Security to mitigate any future exploits found around this issue.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.springframework.security:spring-security-config | >= 6.1.1, < 6.1.4, >= 6.0.4, < 6.0.7, >= 5.8.4, < 5.8.7, >= 5.7.9, < 5.7.11 | 6.1.4, 6.0.7, 5.8.7, 5.7.11 |
References
- CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N- Weakness (CWE)
CWE-732- Platform
- Java / Kotlin (Maven)
- Package
org.springframework.security:spring-security-config- Disclosed
- 06.02.2024
- Updated
- 11.10.2026 12:21
Sources and licenses
OSV / GitHub Advisory Database - GHSA-9gp8-6cg8-7h34 - CC BY 4.0
Vulnerability history: org.springframework.security:spring-security-config
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 5
- First → latest
- 07.2023 04.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Critical 1
- High 3
- Medium 1
Disclosures per year
- 2023: 2
- 2024: 1
- 2025: 0
- 2026: 2
-
Spring Security's spring-security.xsd file is world writable this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.