CVE-2021-41269
CRITICAL 9.8CVSS 3.1Critical vulnerability found in cron-utils
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.
- Published
- 15 Nov 2021
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-94
- Also known as
- GHSA-p9m8-27x8-rg87
- Sources
- NVDJSONOSV GHSA-p9m8-27x8-rg87JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | cron-utils_project | cron-utilscpe:2.3:a:cron-utils_project:cron-utils:*:*:*:*:*:*:*:* |
< 9.1.6 | 9.1.6 |
| OSV | Maven | com.cronutils:cron-utils | < 9.1.6 | 9.1.6 |
References
- 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://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://nvd.nist.gov/vuln/detail/CVE-2021-41269 · ADVISORY
- https://github.com/jmrozanec/cron-utils · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 15 Nov 2021)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 15 Nov 2021)