Loading advisory.
Loading advisory.
Graylog vulnerable to instantiation of arbitrary classes triggered by API request
Arbitrary classes can be loaded and instantiated using a HTTP PUT request to the /api/system/cluster_config/ endpoint.
Published 2024-02-07 17:25 UTC · Modified 2026-09-10 03:50 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| org.graylog2:graylog2-server | Maven | >= 2.0.0, < 5.1.11 >= 5.2.0-alpha.1, < 5.2.4 versions 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.1.0, 2.1.0-alpha.1, 2.1.0-alpha.2, 2.1.0-beta.1, 2.1.0-beta.2, 2.1.0-beta.3, 2.1.0-beta.4, 2.1.0-rc.1, 2.1.1, 2.1.2, 2.1.3, 2.2.0, 2.2.0-alpha.1, 2.2.0-alpha.2, 2.2.0-alpha.3, 2.2.0-alpha.4 and 192 more | 5.1.11, 5.2.4 | No single command for Maven. Update to 5.1.11, 5.2.4 in your build file. |
Arbitrary classes can be loaded and instantiated using a HTTP PUT request to the /api/system/cluster_config/ endpoint.
Graylog's cluster config system uses fully qualified class names as config keys. To validate the existence of the requested class before using them, Graylog loads the class using the class loader.
https://github.com/Graylog2/graylog2-server/blob/e458db8bf4f789d4d19f1b37f0263f910c8d036c/graylog2-server/src/main/java/org/graylog2/rest/resources/system/ClusterConfigResource.java#L208-L214
A request of the following form will output the content of the /etc/passwd file:
curl -u admin:<admin-password> -X PUT http://localhost:9000/api/system/cluster_config/java.io.File \
-H "Content-Type: application/json" \
-H "X-Requested-By: poc" \
-d '"/etc/passwd"'To perform the request, authorization is required. Only users posessing the clusterconfigentry:create and clusterconfigentry:edit permissions are allowed to do so. These permissions are usually only granted to Admin users.
If a user with the appropriate permissions performs the request, arbitrary classes with 1-arg String constructors can be instantiated.
This will execute arbitrary code that is run during class instantiation.
In the specific use case of java.io.File, the behaviour of the internal web-server stack will lead to information exposure by including the entire file content in the response to the REST request.
Analysis provided by Fabian Yamaguchi - Whirly Labs (Pty) Ltd
Exploit code or a detection template for this CVE is published by the sources below. This is not a report of use against real systems (that is what CISA KEV records) and it does not change the tier.
EPSS went from 0.347 on 2026-11-24 to 0.013 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.347 | first score | v2026.06.15 |
| 2026-11-26 | 0.013 | 0.347 | v2026.06.15 |