You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 24, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on May 24, 2026. It is now read-only.
security: cron schedule strings are written to crontab without format validation #18
The schedule field from config files is written directly to the crontab file without validating that it matches valid cron syntax. While the impact is limited (invalid schedules cause cron parse errors rather than injection), a crafted value could potentially affect crontab parsing or inject comment/newline characters.
Location
entrypoint.sh lines 161–166
SCHEDULE=$(echo "${KEY}"| jq -r '.schedule'| sed 's/\*/\\*/g')if [ "${SCHEDULE}"=="null" ];thenecho"'schedule' missing: '${KEY}"continuefi
SCHEDULE=$(parse_schedule "${SCHEDULE}"| sed 's/\\//g')
Risk
Newline injection into the crontab file could insert unauthorized cron entries
Activity