ColdFusion 2021 HF 20; pathfilter.json
We installed HF 20 on our CF 2021 instance (from HF 19) and saw "Security violation: Scheduled task 'XXX' attempted to execute unauthorized path: F:/Tasks_Logs/xxx.log. To allow it, whitelist the path in cf-root/lib/pathfilter.json against key schedulerexecutionpaths." in the scheduler.log (and consequently the task did not run (actually found the task to be deleted). Anway, based on the release notes, we updated pathfilter.json as such:
"schedulerexecutionpaths": "F:/Tasks_Logs/**."
Restarted CF and then broke our SAML/SSO login altogether to the site, so the site was hard down. Backed out change to pathfilter.json and restarted CF, still hared down. Backed out HF 20, back to HF 19 and restarted, all good (sans deleted scheduled tasks).
Error when hard down, on our consume page (SAML response) looked like:
- Diagnostics org/hibernate/HibernateException null <br>The error occurred on line -1.
- GeneratedContent [empty string]
- HTTPReferer https://subdomain.onelogin.com/
- Mailto [empty string]
- Message org/hibernate/HibernateException
- QueryString [empty string]
coldfusion-out.log shows:
- Jun 13, 2025 07:48:11 AM Error [ajp-nio-127.0.0.1-8020-exec-8] - org/hibernate/HibernateException null <br>The error occurred on line -1., https://subdomain.onelogin.com/, /[root]/onelogin/consume.cfm
- Jun 13, 2025 07:48:12 AM Error [ajp-nio-127.0.0.1-8020-exec-8] - org/hibernate/HibernateException The specific sequence of files included or processed is: [webroot]\[root]onelogin\consume.cfm''
