Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLocate exposed crontab-ui service
-
DeliveryPOST crafted .db to /import
-
ExploitOverwrite job database unauthenticated
-
ExecutionMalicious hook awaits cron cycle
-
PersistmakeCommand runs injected shell command
-
ImpactArbitrary code execution on host
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires network reachability to the crontab-ui web service and specifically to the POST /import endpoint, which accepts arbitrary .db uploads and overwrites the database with no authentication or validation; the payload must be placed in a job's 'hook' field, which makeCommand() interpolates unsanitized. Code execution is not immediate - it is gated on the next cron execution cycle firing a job that carries the malicious hook, so at least one scheduled/enabled job must run (the attacker can supply this within the imported database). Practical limiting factors that reduce real-world exploitability: the instance must be network-exposed and NOT fronted by an external authentication layer, reverse-proxy access control, or IP allow-list; if operators have restricted /import or bound the service to localhost, unauthenticated exploitation does not hold. No user interaction or prior credentials are required per the CVSS vector (PR:N/UI:N). |
| Impact | The signals are internally consistent and point to genuine, not merely theoretical, high risk: the CVSS vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) describes remote, low-complexity, unauthenticated exploitation with full host-level impact, and the description corroborates each metric - a network endpoint (/import), no authentication, and a direct path to arbitrary command execution. There is no EPSS score, KEV listing, POC, or SSVC record supplied in the input, so exploitation probability and any evidence of in-the-wild use are UNKNOWN rather than low; the absence of these fields should not be read as reassurance. One nuance that tempers immediacy: execution is not instantaneous - the injected hook fires on the next cron execution cycle, introducing a delay and a dependency on at least one scheduled job running, though an attacker can control both by importing their own jobs. The main real-world limiter is deployment exposure: crontab-ui is a niche self-hosted admin tool and many operators front it with a reverse proxy, VPN, or basic auth, which would blunt the 'unauthenticated' premise. Overall this is a real priority for any exposed instance, not a high-CVSS-but-low-real-risk case. |
| Exploit ScenarioDerived | An attacker who can reach an exposed crontab-ui instance sends a single unauthenticated POST to /import carrying a crafted .db file in which a job's hook field contains shell metacharacters and an attacker-supplied command; the upload replaces the live job database without validation. On the next cron execution cycle the injected hook is concatenated into a shell command by makeCommand() and runs on the host with the service account's privileges, yielding remote code execution. No public exploit is identified at time of analysis, but the AV:N/AC:L/PR:N attack profile makes weaponization straightforward. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 10, 2026
OS command injection in alseambusher/crontab-ui through 0.4.2 lets a remote, unauthenticated attacker POST a crafted crontab database to the /import endpoint, which silently overwrites the application's job database; a malicious 'hook' value is then concatenated into a shell command by makeCommand() and runs on the next cron cycle. There is no public exploit identified at time of analysis, but the CVSS 3.1 base score of 9.8 (AV:N/AC:L/PR:N/UI:N) reflects trivial, pre-authentication reachability with full confidentiality, integrity, and availability impact on the host. Any internet- or LAN-exposed crontab-ui instance without an external access-control layer should be treated as high priority.
RemediationAI
No vendor-released patch identified at time of analysis, and the supplied references point only to the project repository and source file rather than a tagged fixed release, so no exact fix version can be cited. Until a patched release is confirmed, the highest-value compensating control is to remove unauthenticated network exposure of the /import endpoint: place crontab-ui behind an authenticating reverse proxy or VPN and restrict access to trusted admin networks (trade-off: adds an access-control dependency and may break existing automation that calls the UI). Specifically block or deny external POST requests to the /import path at the proxy, since import is rarely needed in normal operation (trade-off: legitimate database restores must then be performed locally). Bind the service to localhost or a management interface rather than 0.0.0.0, and run it under a low-privilege, non-root account so that a successful hook injection cannot execute as root (trade-off: cron jobs needing elevated rights must be re-architected). Monitor for unexpected changes to the crontab .db file and for new or modified hook values. Track the upstream repository (https://github.com/alseambusher/crontab-ui) for an official fix and upgrade as soon as a patched version is published.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
crontab-ui is a Node.js/Express web application that provides a browser front end for creating, editing, and scheduling Unix cron jobs, storing job definitions in an NeDB-style .db file. The vulnerability is CWE-78 (Improper Neutralization of Special Elements used in an OS Command): the crontab.js makeCommand() routine builds the shell string that cron will execute and interpolates the user-controllable 'hook' field directly, with no escaping or allow-listing, so shell metacharacters in that field break out of the intended command. The exposure is amplified by the POST /import handler, which accepts an arbitrary uploaded .db file and replaces the live database wholesale without authentication or content validation, giving the attacker full control over every job record including the hook field. Per the CPE cpe:2.3:a:alseambusher:crontab-ui:*, all versions up to and including 0.4.2 are in scope.
Know when Crontab Ui gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Unauthenticated network POST to /import (AV:N/AC:L/PR:N/UI:N) yields full RCE as the service account, so C:H/I:H/A:H; scope unchanged as execution stays within the host's privilege context.
Primary rating from Vendor (TuranSec).
CVSS VectorVendor: TuranSec
Lifecycle Timeline
2DescriptionCVE.org
An OS command injection vulnerability in alseambusher/crontab-ui through 0.4.2 allows an unauthenticated remote attacker to execute arbitrary system commands by importing a crafted crontab database file. The POST /import endpoint accepts arbitrary .db files and overwrites the application database without validation. The hook field value is embedded directly into a shell command by crontab.js makeCommand() without sanitization, so a malicious hook value in the imported file results in command execution on the next cron execution cycle.
Executive ViewAI
crontab-ui version 0.4.2 and earlier contains a critical unauthenticated OS command injection vulnerability accessible through the /import endpoint, allowing remote attackers to execute arbitrary commands on affected hosts. Any organization running internet- or LAN-exposed instances faces immediate risk of job schedule manipulation, system compromise, and lateral movement to dependent infrastructure.
No vendor-released patch identified at time of analysis. Interim mitigations: restrict /import endpoint access to trusted administrative networks using firewall rules or WAF; disable crontab-ui if not actively required; isolate the service to a network segment with no internet reachability; implement monitoring and alerting on POST requests to /import; place the application behind a reverse proxy that blocks unauthorized access attempts.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
EUVD-2026-55217
GHSA-r4j6-x8h7-4f8w
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB