Spring Framework Safety Guard Bypass Vulnerability in libspring-java
Summary
DEBIAN-CVE-2026-59283: Applications that evaluate Spring Expression Language (SpEL) expressions using SimpleEvaluationContext may be vulnerable to a safety guard bypass when the SpEL expression compiler is active. Affects libspring-java versions 4.3.30-1 – 4.3.30-4. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
libspring-java is a library that provides support for the Spring Framework, a popular Java framework used for building enterprise applications. It enables developers to create robust and scalable applications by offering features such as dependency injection, aspect-oriented programming, and transaction management. However, certain versions of this library are vulnerable to a safety guard bypass when evaluating Spring Expression Language (SpEL) expressions, which could lead to unauthorized access or manipulation of application data.
Vulnerability Detail
The vulnerability arises from the way applications evaluate SpEL expressions using SimpleEvaluationContext. When the SpEL expression compiler is active, it may allow attackers to bypass safety guards that are intended to prevent unauthorized access to sensitive data or functionality. This can lead to potential data breaches or unauthorized actions within the application. The affected versions include Spring Framework 7.0.0 - 7.0.8, 6.2.0 - 6.2.19, 6.1.0 - 6.1.28, 6.0.0 - 6.0.30, and 5.3.0 - 5.3.49, as well as Spring Framework 5.2.25.RELEASE and earlier.
How To Fix
No fixed version is published for this vulnerability.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
As a temporary workaround, you may disable the SpEL expression compiler in your application configuration to mitigate the risk of exploitation until a patch is applied. This can be done by setting the appropriate configuration property in your application settings.
Conclusion
The safety guard bypass vulnerability in libspring-java poses significant risks to applications utilizing affected versions of the Spring Framework. It is crucial for developers to update their packages promptly and consider temporary workarounds to mitigate risks until a patch is applied.
See every vulnerability recorded for libspring-java →
FAQ
The CVSS score of this vulnerability is 9.1, indicating a critical level of severity.
Affected versions include Spring Framework 7.0.0 - 7.0.8, 6.2.0 - 6.2.19, 6.1.0 - 6.1.28, 6.0.0 - 6.0.30, and 5.3.0 - 5.3.49, as well as Spring Framework 5.2.25.RELEASE and earlier.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
Exploitation of this vulnerability could lead to unauthorized access to sensitive data or functionality within your application, potentially resulting in data breaches.
Yes, the permanent fix is to update the libspring-java package to a version that is not affected by this vulnerability.
References
Related vulnerabilities
Recent vulnerabilities recorded for libspring-java.