CVE-2026-49830: DSpace Remote Code Execution Vulnerability
MODERATECVE-2026-49830 is a MODERATE (CVSS 4.4) remote code execution vulnerability (CWE-20: Improper Input Validation) affecting DSpace libraries in the Maven ecosystem. The issue involves ore resource uri does not validate scheme for non-web resources. Remediation is available by upgrading affected packages to version 7.6.7, 8.4, 9.3, 10.0.
CVE-2026-49830 at a Glance
Security Impact
CVSS: 4.4
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:N/A:N).
How to Fix CVE-2026-49830
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>7.6.7</version>
</dependency>
<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-49830, 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 7.6.7), 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-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. 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-49830 Affected DSpace Versions
4 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.dspace:dspace-api
|
Maven |
< 7.6.7
|
7.6.7
|
|
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-rc1
< 10.0
All 1 versions
10-rc1
|
10.0
|
References
Frequently Asked Questions
What is CVE-2026-49830?
Which DSpace versions are affected?
What version fixes CVE-2026-49830?
Is dspace-api affected?
What is the CVSS score of CVE-2026-49830?
What CWE is associated with CVE-2026-49830?
How can I check Maven dependencies for CVE-2026-49830?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-c827-pw3m-67w7",
"modified" : "2026-07-08T20:25:54Z",
"published" : "2026-07-08T20:25:54Z",
"aliases" : [ "CVE-2026-49830" ],
"summary" : "DSpace: ORE resource URI does not validate scheme for non-web resources",
"details" : "## Overview\n\nWhen ingesting an aggregated ORE resource by URI (using the [OAI-ORE Harvester](https://wiki.lyrasis.org/spaces/DSDOC9x/pages/379125906/OAI#OAI-OAI-PMH/OAI-OREHarvester(Client))), the ORE Ingestion Crosswalk does not validate the URI scheme. This may allow for local file inclusion via malicious paths like `file:///etc/passwd`. _This vulnerability impacts DSpace versions <= 7.6.6, 8.0 <= 8.3, 9.0 <= 9.2._ The attacker MUST already have DSpace collection administrator privileges in order to perform the attack.\n\nExpected behaviour : Only external web resources should be ingested as ORE resources, preferably from the trusted endpoint.\n\n## Impact\n\nA remote OAI endpoint configured as a harvest source for a DSpace collection can supply malicious ORE XML that results in a local file from the DSpace server being ingested as a bitstream.\n\nOnly Collection, Community and Site Administrators can configure a collection for OAI harvest, however an attacker may use stolen credentials to escalate into local file/data disclosure, or a compromised OAI endpoint could also supply malicious XML.\n\n## Patches\n\nThe fix is included in DSpace 7.6.7, 8.4, 9.3 and 10.0. Please upgrade to one of these versions or disable the ORE Crosswalk (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 7.6.x, 8.x or 9.x.\n* Pull request for 9.x: https://github.com/DSpace/DSpace/pull/12541 ([Downloadable patch file](https://github.com/DSpace/DSpace/pull/12541.patch))\n* Pull request for 8.x: https://github.com/DSpace/DSpace/pull/12543 ([Downloadable patch file](https://github.com/DSpace/DSpace/pull/12543.patch))\n* Pull request for 7.x: https://github.com/DSpace/DSpace/pull/12542 ([Downloadable patch file](https://github.com/DSpace/DSpace/pull/12542.patch))\n\n\n### Apply the patch to a user's DSpace\nIf at all possible, we recommend disabling the ORE Crosswalk (see below) or upgrading a user's DSpace site based on the upgrade instructions. However, if they 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* Disable the ORE ingestion crosswalk in `dspace.cfg` by commenting out or removing it from the list of `plugin.named.org.dspace.content.crosswalk.IngestionCrosswalk` plugins:\n```\n # Remove or comment out this line\n org.dspace.content.crosswalk.OREIngestionCrosswalk = ore, \\\n```\n* Once they have patched their site or upgraded, they may safely enable the OREIngestionCrosswalk 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:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.dspace:dspace-api"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "7.6.7"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 7.6.6"
}
}, {
"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-rc1"
}, {
"fixed" : "10.0"
} ]
} ],
"versions" : [ "10-rc1" ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/DSpace/DSpace/security/advisories/GHSA-c827-pw3m-67w7"
}, {
"type" : "WEB",
"url" : "https://github.com/DSpace/DSpace/pull/12541"
}, {
"type" : "WEB",
"url" : "https://github.com/DSpace/DSpace/pull/12542"
}, {
"type" : "WEB",
"url" : "https://github.com/DSpace/DSpace/pull/12543"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/DSpace/DSpace"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-07-08T20:25:54Z",
"nvd_published_at" : null
}
}