CVE-2025-53622
published medium CVSS 3.1 · 5.2DSpace has path traversal vulnerability in Simple Archive Format (SAF) package import via contents file
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| DSpace | — | DSpace< 7.6.4 · >= 8.0, < 8.2 · >= 9.0, < 9.1 | Affected | Not stated | GitHub_M |
Description
DSpace open source software is a repository application which provides durable access to digital resources. Prior to versions 7.6.4, 8.2, and 9.1, a path traversal vulnerability is possible during the import of an archive (in Simple Archive Format), either from command-line (`./dspace import` command) or from the "Batch Import (Zip)" user interface feature. An attacker may craft a malicious Simple Archive Format (SAF) package where the `contents` file references any system files (using relative traversal sequences) which are readable by the Tomcat user. If such a package is imported, this will result in sensitive content disclose, including retrieving arbitrary files or configurations from the server where DSpace is running. The Simple Archive Format (SAF) importer / Batch Import (Zip) is only usable by site administrators (from user interface / REST API) or system administrators (from command-line). Therefore, to exploit this vulnerability, the malicious payload would have to be provided by an attacker and trusted by an administrator (who would trigger the import). The fix is included in DSpace 7.6.4, 8.2 and 9.1. For those who cannot upgrade immediately, it is possible to manually patch the 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.0. Although it is not possible to fully protect the system via workarounds, one may can apply a best practice. Administrators must carefully inspect any SAF archives (they did not construct themselves) before importing, paying close attention to the `contents` file to validate it does not reference files outside of the SAF archives.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.2 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| DSpace | DSpace | < 7.6.4 (affected)>= 8.0, < 8.2 (affected)>= 9.0, < 9.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
7- https://github.com/DSpace/DSpace/pull/11036
- https://github.com/DSpace/DSpace/pull/11036.patch
- https://github.com/DSpace/DSpace/pull/11037
- https://github.com/DSpace/DSpace/pull/11037.patch
- https://github.com/DSpace/DSpace/pull/11038
- https://github.com/DSpace/DSpace/pull/11038.patch
- https://github.com/DSpace/DSpace/security/advisories/GHSA-vhvx-8xgc-99wf
Provider assertions
2GitHub_M · cna
DSpace has path traversal vulnerability in Simple Archive Format (SAF) package import via contents file
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 38869ffb927e1b58e007332d899e3c57a011efa0c57244807449c3b951b65732
- Ingested
- 23 Sep 2026, 08:52:52 UTC
- Source record
- Official CVE record