Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDiscover exposed unauthenticated crontab-ui
-
DeliverySend GET /crontab with %0A in env_vars
-
ExploitInjected newline appends attacker cron line
-
ExecutionCron scheduler executes command
-
ImpactArbitrary code runs as service user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization CRLF sequence sanitization
|
| Exploitation Conditions | Exploitation requires network reachability to the crontab-ui web interface and an instance that does not enforce authentication on the /crontab endpoint (default deployments without BASIC_AUTH configured). The concrete trigger is a GET request to /crontab supplying the env_vars parameter with URL-encoded newline characters (%0A/%0D), which the handler writes into the crontab as '${envVars}\n' without neutralizing them, allowing an injected cron line. Limiting factors that reduce real-world exploitability: instances protected by crontab-ui's optional HTTP Basic auth, bound to localhost, or restricted to an internal/VPN network are not anonymously exploitable; impact is also bounded by the privilege level of the account under which cron jobs execute. |
| Impact | The supplied CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N, C:H/I:H/A:H, 9.8) describes an unauthenticated, low-complexity network attack yielding full compromise, and the described mechanism (unfiltered newline appended to a crontab that is then executed) is consistent with that severity and is trivial to weaponize, so any operator running an internet-exposed instance should treat this as urgent. The critical caveat is exposure and authentication: crontab-ui supports optional HTTP Basic auth, and instances deployed behind that auth, bound to localhost, or reachable only on a trusted management network are not remotely exploitable by an anonymous attacker - so the PR:N rating holds mainly for default/unauthenticated deployments and the real-world blast radius depends heavily on how the instance is fronted. No EPSS score, SSVC decision, KEV listing, or public POC was provided, so exploitation-probability signals are absent rather than reassuring; the low complexity and clear root cause suggest exploitation would be easy if the endpoint is reachable. Bottom line: high intrinsic risk gated almost entirely by network exposure and whether auth is enabled - verify exposure first, then patch/mitigate. |
| Exploit ScenarioDerived | An attacker scans for internet-exposed crontab-ui instances (default port 8000) with no authentication, then sends a single crafted GET request to /crontab whose env_vars parameter contains a URL-encoded newline followed by a malicious cron expression. When the scheduler next runs, the injected job executes the attacker's command (e.g., a reverse shell) as the crontab-ui service account. No public POC or KEV entry is noted, but the low complexity means reliable exploitation requires little effort against an exposed, unauthenticated target. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 10, 2026
Cron/OS command injection in alseambusher's crontab-ui (through 0.4.2) lets a remote attacker who can reach the web interface inject arbitrary cron entries via a crafted GET request to /crontab, where the env_vars parameter is written into the crontab file without stripping newlines. Because scheduled cron jobs execute shell commands, successful injection yields arbitrary command execution as the account running the cron daemon/crontab-ui service. CVSS is rated 9.8 (network, low complexity, no privileges per the supplied vector); no public exploit and no CISA KEV entry are indicated at time of analysis, though the technique is simple to reproduce.
RemediationAI
No vendor-released patch version was identified in the provided data (references point only to the project repository and app.js, not to a tagged fixed release), so patch status is: no vendor-released patch identified at time of analysis - monitor https://github.com/alseambusher/crontab-ui for a fixed release above 0.4.2 and upgrade as soon as one is published. Until then, apply compensating controls: enable crontab-ui's HTTP Basic authentication (set BASIC_AUTH_USER/BASIC_AUTH_PWD) so the /crontab endpoint is not anonymously reachable; bind the service to localhost or place it behind an authenticated reverse proxy/VPN and firewall off direct external access to its port (default 8000), accepting that this removes convenient remote access; and where a proxy is in front, block or reject requests to /crontab containing URL-encoded newline sequences (%0A, %0D) in the env_vars parameter as an input-filtering stopgap, noting this is fragile against alternate encodings. Run the service as a low-privilege, non-root user to limit the impact of any successful injection.
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 self-hosted Node.js/Express web application (distributed via npm and Docker) that provides a browser UI for creating, editing, and managing Unix cron jobs, persisting them and syncing to the system crontab. The flaw is CWE-93 (Improper Neutralization of CRLF Sequences / CRLF injection): the /crontab handler in app.js concatenates the user-supplied env_vars value into the crontab file string as '${envVars}\n' without filtering embedded newline (\n / URL-encoded %0A) characters. Since the crontab file format is newline-delimited, an injected newline lets the attacker terminate the intended env-var line and append a fully-formed cron expression of their choosing, which the cron scheduler then runs as a normal command. The single affected package is identified by CPE cpe:2.3:a:alseambusher:crontab-ui:*.
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
Default deployments expose /crontab without auth (PR:N) over the network with a simple single request (AC:L); newline-injected cron jobs run arbitrary commands, giving full C:H/I:H/A:H on the same system (S:U).
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 inject arbitrary cron job entries by sending a crafted GET request to /crontab with URL-encoded newlines in the env_vars parameter. The handler appends the env_vars value directly to the crontab file string as '${envVars}\n' without stripping newline characters, enabling an attacker to insert arbitrary cron expressions that execute attacker-controlled commands.
Executive ViewAI
Crontab-ui versions 0.4.2 and earlier contain a critical remote command injection vulnerability allowing unauthenticated attackers to execute arbitrary commands as the cron daemon service account through a simple GET request. Organizations running this tool with network-accessible web interfaces face immediate risk of complete system compromise, data theft, and lateral movement to connected infrastructure. Urgent isolation or decommissioning of affected instances is required pending patch availability.
Restrict network access to the crontab-ui web interface to authorized administrative subnets only using firewall or host-based controls; disable the web interface entirely if cron jobs can be managed through direct command-line access; run the service in a restricted container or isolated VM with minimal network egress; monitor cron job execution logs and crontab file changes for unexpected entries; strongly consider complete service shutdown or isolation pending patch availability or tool replacement.
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-55216
GHSA-25qx-69jj-jfcj
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB