Skip to main content
CfStumped
Participant
April 9, 2026
Question

The path xxx.car is not whitelisted in pathfilter CF2021 update 23

  • April 9, 2026
  • 1 reply
  • 55 views

When I go to a server instance in CFAdmin > Deploy Existing Archive I get the following error:

The path xxx.car is not whitelisted in pathfilter in CF2021 update 23.

Is there a particular directory I should put the .car file in? Where can I whitelist the file. I don’t see anything under Security to whitelist a file.

 

    1 reply

    BKBK
    Community Expert
    Community Expert
    April 9, 2026

    You can whitelist the CAR file in the configuration file C:\ColdFusion2021\cfusion\lib\pathfilter.json, as follows:

    1. Open pathfilter.json in an editor. The relevant settings you need are
       "car": {
      "deploypath": "C:/full/path/to/yourFile.car",
      "associatedfiles": ""
      }

       

    2. If there are any files or directories associated with the CAR file, then you should include their full paths as the values of “associatedfiles”, using a comma to separate the different paths,

      For further information, see the section “CAR MIGRATION CHANGES” in the ColdFusion 2021 Update 23 Release Notes
       
    3. Restart ColdFusion.