# CVE-2024-36128: Directus denial of service in random string utility

Source: https://junglewise.ai/threats/cve-2024-36128-directus-denial-of-service-in-random-string-utility  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-06-04. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2024-36128 · Severity: low · CVSS 3.1 · Published 2024-06-04

Directus is a popular content management and data infrastructure platform. An unauthenticated attacker can trigger a denial of service by sending a malformed request to the random string generation endpoint, causing all subsequent session refreshes and authentication operations to fail. This leaves all users unable to refresh their sessions and renders the application unavailable.

Technologies: [directus (npm)](https://junglewise.ai/threats/technologies/directus). Vendors: [npm](https://junglewise.ai/threats/vendors/npm).

## Quick answers

**Is CVE-2024-36128 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-36128 being exploited in the wild.

**How severe is CVE-2024-36128?** Low severity, with a CVSS score of 3.1, published 4 June 2024.

**Which products and versions are affected?** directus (npm) SEMVER:introduced=0,fixed=10.11.2.

**Is there a fix for CVE-2024-36128?** Yes. directus (npm): upgrade to 10.11.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2024-36128 attacked?** It is attacked over the network.

**Am I affected by CVE-2024-36128?** Check whether you run directus (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- directus (npm): upgrade to 10.11.2 or later

  ```sh
  npm install directus@10.11.2
  ```


## Technical details

The vulnerability is a denial of service caused by improper input validation in the random string utility. When a non-numeric value is provided to the length parameter of the random string generation endpoint (GET /utils/random/string?length=foo), it creates a memory issue that corrupts the utility's state. Once triggered, the utility returns empty strings instead of random session IDs, causing all session refresh and authentication operations to fail. The vulnerability requires network access to the random string endpoint but no authentication or user interaction. The issue is fixed in Directus version 10.11.2 and later.

## Affected products

- Directus Directus <=10.11.1

## Identifiers

- CVE-2024-36128
- GHSA-632p-p495-25m5

## Timeline

- 2024-06-03: disclosed
- 2024-06-04: patched: Fixed in version 10.11.2

## References

- [https://github.com/directus/directus/security/advisories/GHSA-632p-p495-25m5](https://github.com/directus/directus/security/advisories/GHSA-632p-p495-25m5)

## Related threats

- [Directus authorization bypass via unsegmented response cache key](https://junglewise.ai/threats/cve-2026-61836-directus-authorization-bypass-via-unsegmented-response-cache-key)
- [Directus SSRF bypass in file import via 0.0.0.0 address](https://junglewise.ai/threats/cve-2026-61835-directus-ssrf-bypass-in-file-import-via-0-0-0-0-address)
- [Directus sensitive information disclosure via aggregate queries](https://junglewise.ai/threats/cve-2026-35442-directus-sensitive-information-disclosure-via-aggregate-queries)
- [Directus resource exhaustion via GraphQL alias amplification](https://junglewise.ai/threats/cve-2026-35441-directus-resource-exhaustion-via-graphql-alias-amplification)
- [Directus GraphQL introspection bypass in system endpoint](https://junglewise.ai/threats/cve-2026-35413-directus-graphql-introspection-bypass-in-system-endpoint)
