{"id":"CVE-2021-41269","aliases":["CVE-2021-41269","GHSA-p9m8-27x8-rg87"],"related":[],"kind":"vulnerability","state":"published","title":"Unauthenticated remote code injection in cron-utils","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\nA 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.\n\n### Patches\nThe issue was patched and a new version was released. Please upgrade to version 9.1.6.\n\n### Workarounds\nThere are no known workarounds up to this moment.\n\n### References\nA description of the issue is provided in [issue 461](https://github.com/jmrozanec/cron-utils/issues/461)\n\n### For more information\nIf you have any questions or comments about this advisory:\n\nOpen an issue in the [cron-utils Github repository](https://github.com/jmrozanec/cron-utils)","format":"markdown","source":"ghsa"},{"lang":"es","text":"cron-utils es una biblioteca de Java para definir, analizar, comprender y migrar crons, así como para conseguir descripciones legibles para ellos. En las versiones afectadas se  ha identificado una inyección de plantillas en cron-utils que permitía a atacantes inyectar expresiones EL de Java arbitrarias, conllevando a una vulnerabilidad de ejecución de código remota (RCE) no autenticada. Las versiones hasta la 9.1.2 son susceptibles a esta vulnerabilidad. Tenga en cuenta que sólo están afectados los proyectos que usan la anotación @Cron para comprender expresiones Cron no confiables. El problema ha sido parcheado y se ha publicado una nueva versión. Por favor, actualice a la versión 9.1.6. No se conocen soluciones","source":"nvd"}],"published":"2021-11-15T20:30:14.000Z","modified":"2026-07-08T06:28:17.180Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","score":10,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","score":10,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","score":10,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","score":6.8,"rating":"MEDIUM"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"version":"< 9.1.6","status":"affected"}],"vendor":"jmrozanec","product":"cron-utils","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"9.1.6"}],"ecosystem":"Maven","package":"com.cronutils:cron-utils","purl":"pkg:maven/com.cronutils/cron-utils","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"9.1.6"}],"vendor":"cron-utils_project","product":"cron-utils","cpe":"cpe:2.3:a:cron-utils_project:cron-utils:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/jmrozanec/cron-utils/issues/461","tags":["exploit","issue-tracking","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/jmrozanec/cron-utils/security/advisories/GHSA-p9m8-27x8-rg87","tags":["third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/jmrozanec/cron-utils/commit/cfd2880f80e62ea74b92fa83474c2aabdb9899da","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/jmrozanec/cron-utils/commit/d6707503ec2f20947f79e38f861dba93b39df9da","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-41269","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/jmrozanec/cron-utils","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-41269","url":"https://www.cve.org/CVERecord?id=CVE-2021-41269","licence":"CVE Terms of Use","modified":"2024-08-04T03:08:31.579Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-p9m8-27x8-rg87","url":"https://github.com/advisories/GHSA-p9m8-27x8-rg87","licence":"CC-BY-4.0","modified":"2026-07-08T06:28:17.180Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-41269","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-41269","licence":"Public domain","modified":"2026-06-17T04:08:12.490Z"}],"updatedAt":"2026-11-25T22:58:05.570Z","epss":{"score":0.04349,"percentile":0.91455,"date":"2026-12-02T12:00:21.000Z"}}