# CVE-2024-42681: Improper Preservation of Permissions in xxl-job

- Severity: High 8.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.89%, higher than 60% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-08-15T00:00:00.000Z
- Modified: 2026-06-17T07:49:53.197Z
- Also known as: GHSA-cpfp-m5qw-c4r3
- Weaknesses: CWE-276, CWE-277, CWE-281
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: mitre

## Description

Insecure Permissions vulnerability in xxl-job v.2.4.1 allows a remote attacker to execute arbitrary code via the Sub-Task ID component.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- xuxueli xxl-job: 2.4.1
- com.xuxueli:xxl-job-core (Maven): before 2.4.2

## Every score

- CISA-ADP: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/xuxueli/xxl-job/issues/3516> (exploit, issue-tracking, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-42681> (advisory)
- <https://github.com/xuxueli/xxl-job/commit/a2dc9011310628f3e18c3a5095e7e6a946d017bd> (web)
- <https://github.com/xuxueli/xxl-job> (package)

## Sources

- CVE List: [CVE-2024-42681](https://www.cve.org/CVERecord?id=CVE-2024-42681), CVE Terms of Use, modified 2024-08-19
- GitHub Advisory Database: [GHSA-cpfp-m5qw-c4r3](https://github.com/advisories/GHSA-cpfp-m5qw-c4r3), CC-BY-4.0, modified 2025-05-22
- NVD: [CVE-2024-42681](https://nvd.nist.gov/vuln/detail/CVE-2024-42681), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-42681 · Whole record: https://cve.day/CVE-2024-42681.json · Rebuilt by cve.day 2026-11-25T22:58:44.407Z
