CVE-2025-49656: Jena fuseki Apache Jena Allows Users With Vulnerability
MODERATECVE-2025-49656 is a MODERATE (CVSS 4.9) apache jena allows users with vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) affecting Jena fuseki libraries in the Maven ecosystem. The issue involves apache jena allows users with administrator access to create databases files outside the files area of the fuseki server. Remediation is available by upgrading affected packages to version 5.5.0.
CVE-2025-49656 at a Glance
Security Impact
CVSS: 4.9
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2025-49656
To remediate this vulnerability, upgrade all affected Jena fuseki 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>org.apache.jena</groupId>
<artifactId>jena-fuseki</artifactId>
<version>5.5.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=org.apache.jena
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2025-49656, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.apache.jena
Analyze the terminal output to locate any version of Jena fuseki in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.5.0), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.apache.jena 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-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'), where the product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. In Jena fuseki, 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-49656 Affected Jena fuseki Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.jena:jena-fuseki
|
Maven |
< 5.5.0
|
5.5.0
|
References
Frequently Asked Questions
What is CVE-2025-49656?
Which Jena fuseki versions are affected?
What version fixes CVE-2025-49656?
Is jena-fuseki affected?
What is the CVSS score of CVE-2025-49656?
What CWE is associated with CVE-2025-49656?
How can I check Maven dependencies for CVE-2025-49656?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-jq2c-m8gg-mqcm",
"modified" : "2025-11-05T20:31:21Z",
"published" : "2025-07-21T12:30:34Z",
"aliases" : [ "CVE-2025-49656" ],
"summary" : "Apache Jena allows users with administrator access to create databases files outside the files area of the Fuseki server",
"details" : "Users with administrator access can create databases files outside the files area of the Fuseki server.\n\nThis issue affects Apache Jena version up to 5.4.0.\n\nUsers are recommended to upgrade to version 5.5.0, which fixes the issue.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.jena:jena-fuseki"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "5.5.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-49656"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/jena/commit/03c5265910aa3a27907bf54f6b4aaae3409afa4f"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/jena/commit/35350569b4c1fd432d92e7c92af9597c4400debe"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/jena"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread/qmm21som8zct813vx6dfd1phnfro6mwq"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2025/07/21/1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-22" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-07-21T19:38:17Z",
"nvd_published_at" : "2025-07-21T10:15:25Z"
}
}