Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2026-21019-Kubernetes-CronJob-Suspended-Execution-via-Time-Manipulation | Kitploit
Tools/GitHubGitHub/george0papasotiriou/cve-2026-21019-kubernetes-cronjob-suspended-execution-via-time-manipulation
Cloud Infrastructure SecurityContainer SecurityVulnerability AnalysisExploitationCloud SecurityAdversarial Attack
GitHubgeorge0papasotiriou/cve-2026-21019-kubernetes-cronjob-suspended-execution-via-time-manipulation

CVE-2026-21019-Kubernetes-CronJob-Suspended-Execution-via-Time-Manipulation

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
View Repository
16 days agoNot yet reviewed

CVE-2026-21019 – Kubernetes CronJob Suspended Execution via Time Manipulation

Program Code (YAML + Python exploit)

root@kitploit:~
# cronjob_vuln.yaml - CronJob that checks current time without external validation
apiVersion: batch/v1
kind: CronJob
metadata:
  name: backup
spec:
  schedule: "0 2 * * *"
  jobTemplate:
    spec:
      template:
        spec:
          containers:
          - name: backup
            image: alpine
            command: ["/bin/sh", "-c", "if [ $(date +%H) -eq 2 ]; then echo doing backup; fi"]
          restartPolicy: OnFailure

CVE-2026-21019 – Kubernetes CronJob Time Manipulation

Severity: Medium

Overview

A Kubernetes CronJob relies on the node’s system clock to decide whether to run. An attacker with node‑level privileges can manipulate the clock to force an early execution, potentially triggering a scheduled task (e.g., backup) that may have unintended consequences.

Vulnerability Details

  • Type: Logic Bug / Time‑based Abuse
  • Impact: Premature execution of jobs, potential data corruption.
  • Root Cause: The CronJob schedule is evaluated by the kube‑controller‑manager using the API server’s time, but if the container itself checks time, it may be deceived. Combined with node clock drift, this can lead to unauthorized actions.

Exploit Demonstration

(Simulated) With node root access, run:

root@kitploit:~
python exploit_cronjob_time.py

If the cronjob container trusts the host time, it will execute the job.

Download Tool