Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-41269

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-41269
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:57 UTC · Revision 1

Source evidence

CVE-2021-41269

core-osv · Original source

Published 15 Nov 2021, 21:15 UTC

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.

osv:CVE-2021-41269
Complete source record
{
  "id": "f9206276d8bbd6177dd5a87bed65ba85b4f8c36955b90f47665d8a1c9640918d",
  "url": "https://osv.dev/vulnerability/CVE-2021-41269",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-41269",
    "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.",
    "evidence": "osv:CVE-2021-41269",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2021-41269",
      "aliases": [
        "CVE-2021-41269",
        "GHSA-p9m8-27x8-rg87"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/jmrozanec/cron-utils",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "d78d40bbfc09a0a2626a967d2529e3f561f860b7"
                },
                {
                  "fixed": "cfd2880f80e62ea74b92fa83474c2aabdb9899da"
                },
                {
                  "fixed": "d6707503ec2f20947f79e38f861dba93b39df9da"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:cron-utils_project:cron-utils:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "9.1.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "cfd2880f80e62ea74b92fa83474c2aabdb9899da"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "d6707503ec2f20947f79e38f861dba93b39df9da"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "9.1.5",
            "9.1.4",
            "9.1.2",
            "9.0.2",
            "9.0.1",
            "9.0.0",
            "8.1.1",
            "8.0.0",
            "7.0.6",
            "7.0.5",
            "7.0.4",
            "7.0.3",
            "7.0.2",
            "7.0.1",
            "7.0.0",
            "6.0.0",
            "5.0.5",
            "5.0.4",
            "4.1.1",
            "5.0.3",
            "5.0.2",
            "5.0.1",
            "5.0.0",
            "4.1.0",
            "4.0.1",
            "4.0.0",
            "3.1.7",
            "3.1.6",
            "3.1.5",
            "3.1.4",
            "3.1.1",
            "3.0.0",
            "1.1.2",
            "1.1.1",
            "1.1.0",
            "1.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-41269.json"
          }
        }
      ],
      "modified": "2026-10-20T10:54:58.165878285Z",
      "provider": "osv",
      "references": [
        "https://github.com/jmrozanec/cron-utils/security/advisories/GHSA-p9m8-27x8-rg87",
        "https://github.com/jmrozanec/cron-utils/issues/461",
        "https://github.com/jmrozanec/cron-utils/commit/cfd2880f80e62ea74b92fa83474c2aabdb9899da",
        "https://github.com/jmrozanec/cron-utils/commit/d6707503ec2f20947f79e38f861dba93b39df9da"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-41269",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 386580,
  "published_at": "2021-11-15T21:15:07.393+00:00"
}