GHSA-c827-pw3m-67w7

Suggest an improvement
Source
https://github.com/advisories/GHSA-c827-pw3m-67w7
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-c827-pw3m-67w7/GHSA-c827-pw3m-67w7.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-c827-pw3m-67w7
Aliases
  • CVE-2026-49830
Published
2026-07-08T20:25:54Z
Modified
2026-07-08T20:45:21.746694954Z
Severity
  • 4.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
DSpace: ORE resource URI does not validate scheme for non-web resources
Details

Overview

When ingesting an aggregated ORE resource by URI (using the OAI-ORE Harvester), 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.

Expected behaviour : Only external web resources should be ingested as ORE resources, preferably from the trusted endpoint.

Impact

A 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.

Only 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.

Patches

The 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).

If 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. * Pull request for 9.x: https://github.com/DSpace/DSpace/pull/12541 (Downloadable patch file) * Pull request for 8.x: https://github.com/DSpace/DSpace/pull/12543 (Downloadable patch file) * Pull request for 7.x: https://github.com/DSpace/DSpace/pull/12542 (Downloadable patch file)

Apply the patch to a user's DSpace

If 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: 1. Download the appropriate patch file to the machine where DSpace backend is running 2. From the [dspace-src] folder, apply the patch, e.g. git apply [name-of-file].patch 3. Now, update the DSpace site (based loosely on the Upgrade instructions). This generally involves three steps: 1. Rebuild DSpace, e.g. mvn -U clean package (This will recompile all DSpace backend code) 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. 3. Restart Tomcat (or runnable JAR)

Workarounds

  • 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:
      # Remove or comment out this line
      org.dspace.content.crosswalk.OREIngestionCrosswalk = ore, \
    
  • Once they have patched their site or upgraded, they may safely enable the OREIngestionCrosswalk again.

Credits

Discovered & reported by Pablo Picurelli Ortiz (@superpegaso2703), cybersecurity student at Universidad Rey Juan Carlos. Code fix developed by Kim Shepherd (@kshepherd) of The Library Code

Database specific
{
    "cwe_ids": [
        "CWE-20"
    ],
    "github_reviewed": true,
    "severity": "MODERATE",
    "github_reviewed_at": "2026-07-08T20:25:54Z",
    "nvd_published_at": null
}
References

Affected packages

Maven / org.dspace:dspace-api

Package

Name
org.dspace:dspace-api
View open source insights on deps.dev
Purl
pkg:maven/org.dspace/dspace-api

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
7.6.7

Affected versions

1.*
1.5-alpha
1.5.0-beta1
1.5.0-beta2
1.5.0-rc1
1.5.0
1.5.1-beta
1.5.1
1.5.2-rc1
1.5.2-rc2
1.5.2
1.6.0-rc1
1.6.0-rc2
1.6.0
1.6.1
1.6.2
1.7.0-rc1
1.7.0-rc2
1.7.0
1.7.1
1.7.2
1.7.3
1.8.0-rc1
1.8.0-rc2
1.8.0-rc3
1.8.0
1.8.1
1.8.2
1.8.3
2.*
2.0.0-OR09
3.*
3.0-rc1
3.0-rc2
3.0-rc3
3.0
3.1
3.2
3.3
3.4
3.5
3.6
4.*
4.0-rc1
4.0-rc2
4.0-rc3
4.0
4.1
4.2
4.3
4.4
4.5
4.6
4.7
4.8
4.9
5.*
5.0-rc1
5.0-rc2
5.0-rc3
5.0
5.1
5.2
5.3
5.4
5.5
5.6
5.7
5.8
5.9
5.10
5.11
6.*
6.0-rc1
6.0-rc2
6.0-rc3
6.0-rc4
6.0
6.1
6.2
6.3
6.4
7.*
7.0-beta1
7.0-beta2
7.0-beta2.1
7.0-beta3
7.0-beta4
7.0-beta4.1
7.0-beta5
7.0
7.0-preview-1
7.1
7.1.1
7.2
7.2.1
7.3
7.4
7.5
7.6
7.6.1
7.6.2
7.6.3
7.6.4
7.6.5
7.6.6

Database specific

last_known_affected_version_range
"<= 7.6.6"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-c827-pw3m-67w7/GHSA-c827-pw3m-67w7.json"

Maven / org.dspace:dspace-api

Package

Name
org.dspace:dspace-api
View open source insights on deps.dev
Purl
pkg:maven/org.dspace/dspace-api

Affected ranges

Type
ECOSYSTEM
Events
Introduced
8.0-rc1
Fixed
8.4

Affected versions

8.*
8.0-rc1
8.0
8.1
8.2
8.3

Database specific

last_known_affected_version_range
"<= 8.3"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-c827-pw3m-67w7/GHSA-c827-pw3m-67w7.json"

Maven / org.dspace:dspace-api

Package

Name
org.dspace:dspace-api
View open source insights on deps.dev
Purl
pkg:maven/org.dspace/dspace-api

Affected ranges

Type
ECOSYSTEM
Events
Introduced
9.0-rc1
Fixed
9.3

Affected versions

9.*
9.0-rc1
9.0
9.1
9.2

Database specific

last_known_affected_version_range
"<= 9.2"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-c827-pw3m-67w7/GHSA-c827-pw3m-67w7.json"

Maven / org.dspace:dspace-api

Package

Name
org.dspace:dspace-api
View open source insights on deps.dev
Purl
pkg:maven/org.dspace/dspace-api

Affected ranges

Type
ECOSYSTEM
Events
Introduced
10-rc1
Fixed
10.0

Affected versions

Other
10-rc1
10.*
10.0-rc1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-c827-pw3m-67w7/GHSA-c827-pw3m-67w7.json"