#573 [MEDIUM] cron.py TOCTOU in create_schedule/update_schedule

closed medium Created 2025-12-17 16:32 · Updated 2026-01-02 06:26

Description

Edit
Race condition in cron.py: SELECT to check if schedule exists, then INSERT/UPDATE. Concurrent requests could create duplicate schedules. Fix: Use INSERT ON CONFLICT or SELECT FOR UPDATE.

Comments

Loading comments...

Context

Loading context...

Audit History

View All
Loading audit history...