# CVE-2026-49833: DSpace: Path Traversal possible in LDN message generation

> An authenticated DSpace administrator can exploit path traversal in LDN message generation to read arbitrary files and potentially execute code via template injection.

- **Severity:** Medium 5.5 (`CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:L/A:L`)
- **Exploited in the wild:** Not known
- **Login needed:** An administrator
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 2 Sep 2026
- **Updated:** 2 Sep 2026
- **Also known as:** GHSA-9qm4-rh6w-pq5x

## What is CVE-2026-49833?

CVE-2026-49833 is a medium-severity path traversal vulnerability in DSpace, published on 2 Sep 2026. An attacker needs administrator access to exploit it, with no action from the victim.

### Official description

DSpace open source software is a repository application which provides durable access to digital resources. From versions 8.0-rc1 to before 8.4, 9.0-rc1 to before 9.3, and 10-rc1 to before 10.0, a path traversal vulnerability is possible via the COAR Notify / LDN service in DSpace. The attacker MUST already have DSpace administrator credentials in order to perform the attack. When 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. This issue has been patched in versions 8.4, 9.3, and 10.0.

Weakness: CWE-22 (Improper Limitation of a Pathname to a Restricted Directory)

## Which versions are affected by CVE-2026-49833?

6 open source packages ship an affected version, including org.dspace:dspace-api.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `org.dspace:dspace-api` | Maven | From 10.0-rc1 | 10.0 |
| `org.dspace:dspace-api` | Maven | From 10.0-rc1 | 10.0 |
| `org.dspace:dspace-api` | Maven | From 8.0-rc1 | 8.4 |
| `org.dspace:dspace-api` | Maven | From 8.0-rc1 | 8.4 |
| `org.dspace:dspace-api` | Maven | From 9.0-rc1 | 9.3 |
| `org.dspace:dspace-api` | Maven | From 9.0-rc1 | 9.3 |

## How do I fix CVE-2026-49833?

Upgrade org.dspace:dspace-api to a fixed version for your release line: 10.0, 8.4 or 9.3.

## Is CVE-2026-49833 being exploited?

There is no known exploitation of CVE-2026-49833 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-49833 and fix it if it is affected.

What it is: CVE-2026-49833 is a medium-severity path traversal vulnerability in DSpace, published on 2 Sep 2026. An attacker needs administrator access to exploit it, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2026-49833 in the wild and no public exploit code.

Affected packages and fixed versions:
- org.dspace:dspace-api (Maven): affected from 10.0-rc1; fixed in 10.0
- org.dspace:dspace-api (Maven): affected from 10.0-rc1; fixed in 10.0
- org.dspace:dspace-api (Maven): affected from 8.0-rc1; fixed in 8.4
- org.dspace:dspace-api (Maven): affected from 8.0-rc1; fixed in 8.4
- org.dspace:dspace-api (Maven): affected from 9.0-rc1; fixed in 9.3
- org.dspace:dspace-api (Maven): affected from 9.0-rc1; fixed in 9.3

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-49833/ (Markdown: https://insights.sbomify.com/CVE-2026-49833/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-49833
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-49833
- OSV: https://osv.dev/vulnerability/CVE-2026-49833

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-49833/
Summaries are generated and may contain mistakes; the official description above is the record.
