Xuxueli XXL-Job Unauthenticated Privileged OpenAPI Access Vulnerability

Vulnerability

A vulnerability in Xuxueli XXL-Job versions through 3.3.2 allows unauthenticated access to privileged OpenAPI endpoints. The issue arises because the application ships with a default access token, 'default_token', which is not changed before deployment. This default token is used to authorize access to management operations such as registering executors, removing registrations, and submitting task execution callbacks. The vulnerability can be exploited remotely, but requires a high level of complexity.

Impact

Exploitation of this vulnerability allows for unauthorized access to management APIs, impersonation of executors by registering malicious endpoints, removal of legitimate executor registrations, and manipulation of task execution states, including forging callbacks to trigger downstream jobs.

Reproduction

To reproduce this vulnerability, deploy Xuxueli XXL-Job without changing the default access token. Once the application is running, the OpenAPI endpoints can be accessed without authentication by using the 'default_token' in the 'XXL-JOB-ACCESS-TOKEN' header. This allows for the invocation of privileged operations such as 'registry', 'registryRemove', and 'callback'.

Remediation

Users are advised to change the default access token to a strong, random value before deploying the application. XXL-Job should not be started with the access token set to 'default_token'. Additionally, the OpenAPI management operations should not rely solely on a static shared token for authorization.

Added: Apr 28, 2026, 10:27 PM
Updated: Apr 28, 2026, 10:27 PM

Vulnerability Rating

Custom Algorithm
spread
5.7
impact
3.1
exploitability
9.1
remediation
8.3
relevance
6.9
threat
6.4
urgency
2.9
incentive
8.3

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.