# GHSA-68r5-9hpg-7qw9: OpenDJ unauthenticated SSRF, local file read and unbounded-read DoS in the DSMLv2 gateway

> Unauthenticated attackers can exploit SSRF to read local files and internal services, or cause denial of service via unbounded reads in OpenDJ.

- **Severity:** Not scored
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 24 Jul 2026

## What is GHSA-68r5-9hpg-7qw9?

GHSA-68r5-9hpg-7qw9 is a server-side request forgery vulnerability in org.openidentityplatform.opendj:opendj-dsml-servlet, published on 24 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

The DSMLv2 SOAP gateway (opendj-dsml-servlet) in OpenIdentityPlatform OpenDJ through 5.1.1 dereferences attacker-supplied xsd:anyURI values server-side without a scheme allowlist, egress filtering, or a size cap, and is reachable without authentication by default. A remote unauthenticated attacker can submit a DSML add/modify request whose value is a URI to (1) perform server-side request forgery against internal services and the cloud metadata endpoint (SSRF), (2) read local files via file: URIs, and (3) exhaust memory through an unbounded response read (DoS). Fixed in 5.1.2: anyURI dereferencing is disabled by default; when enabled it is limited to an http/https allowlist, rejects loopback/link-local/private/reserved targets, refuses HTTP redirects, and caps the bytes read. The gateway also now requires container-managed authentication by default.

## Which versions are affected by GHSA-68r5-9hpg-7qw9?

2 open source packages ship an affected version, including org.openidentityplatform.opendj:opendj-dsml-servlet.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `org.openidentityplatform.opendj:opendj-dsml-servlet` | Maven | All versions | 5.1.2 |
| `org.openidentityplatform.opendj:opendj-dsml-servlet` | Maven | All versions | 5.1.2 |

## How do I fix GHSA-68r5-9hpg-7qw9?

Upgrade org.openidentityplatform.opendj:opendj-dsml-servlet to 5.1.2 or later.

## Is GHSA-68r5-9hpg-7qw9 being exploited?

There is no known exploitation of GHSA-68r5-9hpg-7qw9 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for GHSA-68r5-9hpg-7qw9 and fix it if it is affected.

What it is: GHSA-68r5-9hpg-7qw9 is a server-side request forgery vulnerability in org.openidentityplatform.opendj:opendj-dsml-servlet, published on 24 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of GHSA-68r5-9hpg-7qw9 in the wild and no public exploit code.

Affected packages and fixed versions:
- org.openidentityplatform.opendj:opendj-dsml-servlet (Maven): affected all versions; fixed in 5.1.2
- org.openidentityplatform.opendj:opendj-dsml-servlet (Maven): affected all versions; fixed in 5.1.2

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/GHSA-68r5-9hpg-7qw9/ (Markdown: https://insights.sbomify.com/GHSA-68r5-9hpg-7qw9/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/GHSA-68r5-9hpg-7qw9

---
From sbomify Insights: https://insights.sbomify.com/GHSA-68r5-9hpg-7qw9/
Summaries are generated and may contain mistakes; the official description above is the record.
