# CVE-2026-49832: DSpace: Remote Code Execution (RCE) possible in Velocity Templates used by LDN

> Attackers can execute arbitrary code via Velocity templates in DSpace's LDN messaging system, requiring an upgrade to patched versions.

- **Severity:** High 8.0 (`CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H`)
- **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-9x82-rm84-c6x7

## What is CVE-2026-49832?

CVE-2026-49832 is a high-severity code injection 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, versions 9.0-rc1 to before 9.3, and version 10-rc1, Remote Code Execution (RCE) is possible via Velocity Templates used by DSpace for COAR Notify/LDN messages. This issue has been patched in versions 8.4, 9.3, and 10.0.

Weakness: CWE-94 (Improper Control of Generation of Code)

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

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-49832?

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

## Is CVE-2026-49832 being exploited?

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

## Fix prompt for AI coding agents

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

What it is: CVE-2026-49832 is a high-severity code injection 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-49832 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-49832/ (Markdown: https://insights.sbomify.com/CVE-2026-49832/index.md)
```

## Sources

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

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