CVE-2025-32950: Jmix localfs Path Traversal Vulnerability
MODERATECVE-2025-32950 is a MODERATE (CVSS 6.5) path traversal vulnerability (CWE-35: Path Traversal: '.../...//') affecting Jmix localfs libraries in the Maven ecosystem. The issue involves jmix-localfs has a path traversal in local file storage. Remediation is available by upgrading affected packages to version 1.6.2, 2.4.0.
CVE-2025-32950 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2025-32950
To remediate this vulnerability, upgrade all affected Jmix localfs dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>io.jmix.localfs</groupId>
<artifactId>jmix-localfs</artifactId>
<version>1.6.2</version>
</dependency>
<dependency>
<groupId>io.jmix.localfs</groupId>
<artifactId>jmix-localfs</artifactId>
<version>2.4.0</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=io.jmix.localfs
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2025-32950, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=io.jmix.localfs
Analyze the terminal output to locate any version of Jmix localfs in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.6.2), your application is affected.
Note: The mvn dependency:tree -Dincludes=io.jmix.localfs 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-35: Path Traversal: '.../...//', where the product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize '.../...//' (doubled triple dot slash) sequences that can resolve to a location that is outside of that directory. In Jmix localfs, 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
CVE-2025-32950 Affected Jmix localfs Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
io.jmix.localfs:jmix-localfs
|
Maven |
≥ 1.0.0
< 1.6.2
|
1.6.2
|
|
io.jmix.localfs:jmix-localfs
|
Maven |
≥ 2.0.0
< 2.4.0
|
2.4.0
|
References
Frequently Asked Questions
What is CVE-2025-32950?
Which Jmix localfs versions are affected?
What version fixes CVE-2025-32950?
Is jmix-localfs affected?
What is the CVSS score of CVE-2025-32950?
What CWE is associated with CVE-2025-32950?
How can I check Maven dependencies for CVE-2025-32950?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-jx4g-3xqm-62vh",
"modified" : "2025-05-27T17:07:42Z",
"published" : "2025-04-22T16:50:58Z",
"aliases" : [ "CVE-2025-32950" ],
"summary" : "io.jmix.localfs:jmix-localfs has a Path Traversal in Local File Storage",
"details" : "### Impact\n\nAttackers could manipulate the `FileRef` parameter to access files on the system where the Jmix application is deployed, provided the application server has the necessary permissions. This can be accomplished either by modifying the `FileRef` directly in the database or by supplying a harmful value in the `fileRef` parameter of the `/files` endpoint of the generic REST API.\n\nArbitrary file reading on the operating system where the Jmix process is running.\n\nThe severity of the vulnerability is mitigated by the fact that the application UI and the generic REST API are typically accessible only to authenticated users. Additionally, the `/files` endpoint in Jmix requires specific permissions and is disabled by default.\n\n### Workarounds\nA workaround for those who are unable to upgrade: [Fix Path Traversal in Jmix Application](https://docs.jmix.io/jmix/files-vulnerabilities.html#fix-path-traversal-in-jmix-application).\n\n### Credit\nCai, Qi Qi of Siemens China Cybersecurity Testing Center - Shadowless Lab",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "io.jmix.localfs:jmix-localfs"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.0.0"
}, {
"fixed" : "1.6.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "io.jmix.localfs:jmix-localfs"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.0.0"
}, {
"fixed" : "2.4.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/jmix-framework/jmix/security/advisories/GHSA-jx4g-3xqm-62vh"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-32950"
}, {
"type" : "WEB",
"url" : "https://github.com/jmix-framework/jmix/issues/3804"
}, {
"type" : "WEB",
"url" : "https://github.com/jmix-framework/jmix/issues/3836"
}, {
"type" : "WEB",
"url" : "https://github.com/jmix-framework/jmix/commit/6a66aa3adb967159a30d703e80403406f4c8f7a2"
}, {
"type" : "WEB",
"url" : "https://github.com/jmix-framework/jmix/commit/c589ef4e2b25620770b8036f4ad05f1a6250cb6a"
}, {
"type" : "WEB",
"url" : "https://github.com/jmix-framework/jmix/commit/cc97e6ff974b9e7af8160fab39cc5866169daa37"
}, {
"type" : "WEB",
"url" : "https://github.com/jmix-framework/jmix/commit/f4e6fb05bd245cf36f3e9319aaa0fcd540d024aa"
}, {
"type" : "WEB",
"url" : "https://docs.jmix.io/jmix/files-vulnerabilities.html"
}, {
"type" : "WEB",
"url" : "https://docs.jmix.io/jmix/files-vulnerabilities.html#fix-path-traversal-in-jmix-application"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/jmix-framework/jmix"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-22", "CWE-35" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-04-22T16:50:58Z",
"nvd_published_at" : "2025-04-22T18:15:59Z"
}
}