Skip to main content
VulnerabilityPublished Updated

CVE-2025-41242: Libspring java · Spring Framework MVC applications can be vulnerable to a “Path Traversal

Affects libspring-javaSource GCVE Database

0
Compare
Authoritative record:CVE-2025-41242· Medium 5.9

Not known to be exploited · public detection template (Nuclei) · CVSS 5.9 Medium.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.1 base score
5.9Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
2.3% chance of exploitation in 30 days – higher than 84% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 18 Aug 2025

  2. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  3. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  4. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10libspring-javapkg:deb/ubuntu/libspring-java?arch=source&distro=stonkingOther threatsAffected
  • =4.3.30-3ubuntu1
Fixed in–
Ubuntu 26.04 LTSlibspring-javapkg:deb/ubuntu/libspring-java?arch=source&distro=resoluteOther threatsAffected
  • =4.3.30-3ubuntu1
Fixed in–
Ubuntu 25.10libspring-javapkg:deb/ubuntu/libspring-java?arch=source&distro=questingOther threatsAffected
  • =4.3.30-2ubuntu1
  • =4.3.30-3ubuntu1
Fixed in–
Ubuntu Pro 24.04 LTSlibspring-javapkg:deb/ubuntu/libspring-java?arch=source&distro=esm-apps/nobleOther threatsAffected
  • =4.3.30-2
  • =4.3.30-2ubuntu0.24.04.1~esm1
Fixed in–
Ubuntu Pro 22.04 LTSlibspring-javapkg:deb/ubuntu/libspring-java?arch=source&distro=esm-apps/jammyOther threatsAffected
  • =4.3.30-1
  • =4.3.30-1ubuntu0.1~esm1
Fixed in–
Ubuntu Pro 20.04 LTSlibspring-javapkg:deb/ubuntu/libspring-java?arch=source&distro=esm-apps/focalOther threatsAffected
  • =4.3.22-4
  • =4.3.22-4ubuntu0.1~esm1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

Spring Framework MVC applications can be vulnerable to a “Path Traversal Vulnerability” when deployed on a non-compliant Servlet container. An application can be vulnerable when all the following are true: * the application is deployed as a WAR or with an embedded Servlet container * the Servlet container does not reject suspicious sequences https://jakarta.ee/specifications/servlet/6.1/jakarta-servlet-spec-6.1.html#uri-path-canonicalization * the application serves static resources https://docs.spring.io/spring-framework/reference/web/webmvc/mvc-config/static-resources.html#page-title  with Spring resource handling We have verified that applications deployed on Apache Tomcat or Eclipse Jetty are not vulnerable, as long as default security features are not disabled in the configuration. Because we cannot check exploits against all Servlet containers and configuration variants, we strongly recommend upgrading your application.

References

Community reviews

Loading reviews…