CVE-2026-49833: DSpace Path Traversal Vulnerability
MODERATECVE-2026-49833 is a MODERATE (CVSS 5.5) path traversal vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) affecting DSpace libraries in the Maven ecosystem. The issue involves path traversal is possible through ldn message generation. Remediation is available by upgrading affected packages to version 8.4, 9.3, 10.0.
CVE-2026-49833 at a Glance
Security Impact
CVSS: 5.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:L/A:L).
How to Fix CVE-2026-49833
To remediate this vulnerability, upgrade all affected DSpace 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.dspace</groupId>
<artifactId>dspace-api</artifactId>
<version>8.4</version>
</dependency>
<dependency>
<groupId>org.dspace</groupId>
<artifactId>dspace-api</artifactId>
<version>9.3</version>
</dependency>
<dependency>
<groupId>org.dspace</groupId>
<artifactId>dspace-api</artifactId>
<version>10.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.dspace
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2026-49833, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.dspace
Analyze the terminal output to locate any version of DSpace in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 8.4), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.dspace 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 DSpace, 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-2026-49833 Affected DSpace Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.dspace:dspace-api
|
Maven |
≥ 8.0-rc1
< 8.4
|
8.4
|
|
org.dspace:dspace-api
|
Maven |
≥ 9.0-rc1
< 9.3
|
9.3
|
|
org.dspace:dspace-api
|
Maven |
≥ 10.0-rc1
< 10.0
All 1 versions
10.0-rc1
|
10.0
|
References
Frequently Asked Questions
What is CVE-2026-49833?
Which DSpace versions are affected?
What version fixes CVE-2026-49833?
Is dspace-api affected?
What is the CVSS score of CVE-2026-49833?
What CWE is associated with CVE-2026-49833?
How can I check Maven dependencies for CVE-2026-49833?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-9qm4-rh6w-pq5x",
"modified" : "2026-07-08T20:26:15Z",
"published" : "2026-07-08T20:26:15Z",
"aliases" : [ "CVE-2026-49833" ],
"summary" : "DSpace: Path Traversal is possible through LDN message generation",
"details" : "## Overview\n\nA path traversal vulnerability is possible via the [COAR Notify / LDN](https://wiki.lyrasis.org/spaces/DSDOC9x/pages/379126679/COAR+Notify) service in DSpace. _This vulnerability impacts DSpace versions 8.0 <= 8.3, 9.0 <= 9.2._ The attacker MUST already have DSpace administrator credentials in order to perform the attack.\n\nWhen reading a file input stream of an \"inbound pattern\" / \"template\", used to generate an LDN message, the LDN class does not check for path traversal or restrict the templates to a known base path. This could allow an untrusted file from elsewhere in the file system (e.g. an export log, a bitstream path, a temporary file) to be read and interpreted as an Apache Velocity template.\n\nExpected behaviour : Only the trusted templates kept in `$dspace.dir/config/ldn` should be allowed or used by LDN.\n\n## Impact\n\nOn its own this seems a fairly low-impact problem: only DSpace Administrators can set LDN template names in services, and you typically need more access to manipulate files on the server.\n\nHowever, this vulnerability was included as part of an attack chain that demonstrated the ability of a DSpace Administrator to put the malicious Velocity payload in a predictable place (e.g. temporary log file from a running process) and then have that file referenced as the template name in a new service.\n \nThis means it is possible (non-trivial, but proven) for an attacker with DSpace administrator credentials to either disclose information via a specially crafted Velocity template, or exploit another weakness in the DSpace Velocity implementation by executing arbitrary java code.\n\n\n## Patches\n\nThe fix is included in DSpace 8.4, 9.3 and 10.0. Please upgrade to one of these versions or disable LDN (see below)\n\nIf users cannot upgrade immediately, it is possible to manually patch their DSpace backend. (No changes are necessary to the frontend.) A pull request exists which can be used to patch systems running DSpace 8.x or 9.x. \n* Pull request for 9.x: https://github.com/DSpace/DSpace/pull/12552 ([Downloadable patch file](https://github.com/DSpace/DSpace/pull/12552.patch))\n * This 9.x patch file also resolves a similar [path traversal vulnerability in the Curation Task reporter](https://github.com/DSpace/DSpace/security/advisories/GHSA-v66x-68f2-pxf5)\n* Pull request for 8.x: https://github.com/DSpace/DSpace/pull/12540 ([Downloadable patch file](https://github.com/DSpace/DSpace/pull/12540.patch))\n * This 8.x patch file also resolves a similar [path traversal vulnerability in the Curation Task reporter](https://github.com/DSpace/DSpace/security/advisories/GHSA-v66x-68f2-pxf5)\n\n### Apply the patch to a DSpace\nIf at all possible, DSpace recommends disabling LDN (see below) or upgrading the user's DSpace site based on the upgrade instructions. However, if users are unable to do so, they can manually apply the above patches to their DSpace backend as follows:\n1. Download the appropriate patch file to the machine where DSpace backend is running\n2. From the `[dspace-src]` folder, apply the patch, e.g. `git apply [name-of-file].patch`\n3. Now, update the DSpace site (based loosely on the Upgrade instructions). This generally involves three steps:\n 1. Rebuild DSpace, e.g. `mvn -U clean package` (This will recompile all DSpace backend code)\n 2. Redeploy DSpace, e.g. `ant update` (This will copy all newly built code to their installation directory). Depending on their setup they also may need to copy the updated \"server\" webapp over to their Tomcat webapps folder.\n 3. Restart Tomcat (or runnable JAR)\n\n## Workarounds\n* In `dspace.cfg` or `local.cfg`, disable LDN (set `ldn.enabled=false`) if it is not crucial to the operation of the repository. (NOTE: LDN is disabled by default, so many DSpace sites may not use this feature)\n* Once users have patched their site or upgraded, they may safely enable LDN again.\n\n## Credits\nDiscovered & reported by Pablo Picurelli Ortiz (@superpegaso2703), cybersecurity student at Universidad Rey Juan Carlos.\nCode fix developed by Kim Shepherd (@kshepherd) of The Library Code",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:L/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.dspace:dspace-api"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "8.0-rc1"
}, {
"fixed" : "8.4"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 8.3"
}
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.dspace:dspace-api"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "9.0-rc1"
}, {
"fixed" : "9.3"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 9.2"
}
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.dspace:dspace-api"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "10.0-rc1"
}, {
"fixed" : "10.0"
} ]
} ],
"versions" : [ "10.0-rc1" ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/DSpace/DSpace/security/advisories/GHSA-9qm4-rh6w-pq5x"
}, {
"type" : "WEB",
"url" : "https://github.com/DSpace/DSpace/pull/12540"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/DSpace/DSpace"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-22" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-07-08T20:26:15Z",
"nvd_published_at" : null
}
}