# CVE-2021-41269: Unauthenticated remote code injection in cron-utils

- Severity: Critical 10.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/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): 4.35%, higher than 91% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-11-15T20:30:14.000Z
- Modified: 2026-07-08T06:28:17.180Z
- Also known as: GHSA-p9m8-27x8-rg87
- Weaknesses: CWE-94
- Assigned by: GitHub_M

## Description

cron-utils is a Java library to define, parse, validate, migrate crons as well as get human readable descriptions for them. In affected versions A template Injection was identified in cron-utils enabling attackers to inject arbitrary Java EL expressions, leading to unauthenticated Remote Code Execution (RCE) vulnerability. Versions up to 9.1.2 are susceptible to this vulnerability. Please note, that only projects using the @Cron annotation to validate untrusted Cron expressions are affected. The issue was patched and a new version was released. Please upgrade to version 9.1.6. There are no known workarounds known.

(As written by CVE List.)

## Affected

- jmrozanec cron-utils: < 9.1.6
- com.cronutils:cron-utils (Maven): before 9.1.6
- cron-utils_project cron-utils: before 9.1.6

## Every score

- GitHub_M: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/jmrozanec/cron-utils/issues/461> (exploit, issue-tracking, third-party-advisory, web)
- <https://github.com/jmrozanec/cron-utils/security/advisories/GHSA-p9m8-27x8-rg87> (third-party-advisory, web)
- <https://github.com/jmrozanec/cron-utils/commit/cfd2880f80e62ea74b92fa83474c2aabdb9899da> (patch, third-party-advisory, web)
- <https://github.com/jmrozanec/cron-utils/commit/d6707503ec2f20947f79e38f861dba93b39df9da> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-41269> (advisory)
- <https://github.com/jmrozanec/cron-utils> (package)

## Sources

- CVE List: [CVE-2021-41269](https://www.cve.org/CVERecord?id=CVE-2021-41269), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-p9m8-27x8-rg87](https://github.com/advisories/GHSA-p9m8-27x8-rg87), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-41269](https://nvd.nist.gov/vuln/detail/CVE-2021-41269), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-41269 · Whole record: https://cve.day/CVE-2021-41269.json · Rebuilt by cve.day 2026-11-25T22:58:05.570Z
