ColdFusion Version Upgrade: What Changes in 2025 and How to Move Safely

  • By Lucid Team
  • 19 November 2026

A ColdFusion version upgrade today means moving from ColdFusion 2021 or older to ColdFusion 2023 or 2025. Most teams should aim for 2025. It has the longest support window, but it also removes features older code still uses. So plan the upgrade as a code and server project, not just a new installer.

That's the short answer. The rest of this guide covers deadlines, breaking changes, code fixes, and a rollout plan your team can follow.

Why the upgrade can't wait

Every ColdFusion release gets about five years of core support. After that, the security updates stop.

ColdFusion 2021 is the version most teams are still running. Its core support ended on November 10, 2025, and extended support ends on November 10, 2026. That second date is days away as this post goes live.

Don't treat extended support as a safety net. Adobe describes it as best-effort help meant to assist customers in migrating to a supported version, and it does not include security patches or hot fixes. Update 23 was the final update for ColdFusion 2021. Any vulnerability found after that stays open on your server.

Here's where each version stands:

Version

Released

End of core support

End of extended support

ColdFusion 2018

July 2018

July 13, 2023

July 13, 2024

ColdFusion 2021

Nov 2020

Nov 10, 2025

Nov 10, 2026

ColdFusion 2023

May 2023

May 16, 2028

May 16, 2029

ColdFusion 2025

Feb 2025

Feb 26, 2030

Not yet listed

If you run 2018 or older, you're already past every support date. Your upgrade is a security fix.

ColdFusion 2023 or 2025: which target?

Both are supported. They are not equal.

Java version. ColdFusion 2025 supports only JDK 21, ColdFusion 2023 only JDK 17, and ColdFusion 2021 only JDK 11. Adobe also supports only Oracle Java with ColdFusion, and licenses it for customer use.

Server stack. ColdFusion 2025 runs on Java 21, and the traditional server install sits on Tomcat 10.1.

Licensing. This one surprises finance teams. With ColdFusion 2025, perpetual licensing is gone, and existing customers must move to a subscription model to keep getting features and security updates. Budget for it before the technical work starts.

Runway. ColdFusion 2025 gives you nearly two more years of core support than 2023. For most enterprise teams, that makes 2025 the better target. Pick 2023 only if a dependency truly can't run on Java 21 yet, and know you'll be upgrading again around 2028.

What breaks when you move to ColdFusion 2025

ColdFusion has always been kind to old code. Deprecated features kept working for years. That changed with 2025. Adobe also set a new rule: a feature deprecated in CF2025 becomes "deprecated and unsupported" in the next release, then gets fully removed in the release after that.

The removals most likely to hit real applications:

  • Tag-as-script components. The CFCs Adobe bundled years ago so you could call tags from script were deprecated in ColdFusion 2018 and removed in ColdFusion 2025. That covers new query(), new http(), new mail() and others. The full set included query, storedproc, http, mail, ftp, pdf, pop, ldap, imap, feed, dbinfo, collection, index, and search.
  • Old functions. ParameterExists is removed (use isDefined instead), and GetTemplatePath is removed (use GetBaseTemplatePath). htmlEditFormat is also gone.
  • CFMX_Compat encryption. The algorithm is removed from Rand, Randomize, RandRange, Hash, Encrypt, EncryptBinary, Decrypt, DecryptBinary, and GeneratePBKDFKey.
  • Thread termination. JDK 21 dropped Thread.stop(), so Adobe removed the terminate action in cfthread and the ThreadTerminate function.
  • Legacy platform features. All mobile-related features are removed, along with Adobe Flash and Flex. Sybase and the Jadozoom driver are also out.
  • SOAP on Axis 1. Apache Axis 1 support was removed, so any app that consumes or publishes SOAP services on Axis 1 needs review.

Some things are deprecated now, which means they'll break in a later release: CAR archive migration (Adobe points to cfsetup instead), the Java SecurityManager, Legacy Cookie Processor support, the ssh-rsa algorithm in cfftp, and MS Access, ODBC, and DB2 support. If your apps rely on Sandbox Security, note that it was built on the Java SecurityManager.

Practical code fixes

The good news: most fixes are mechanical once you find them.

Replace new query() with queryExecute()

 1. <cfscript>
 2. // Before: fails on CF2025 ("Could not find the ColdFusion component or interface query")
 3. q = new query();
 4. q.addParam(name="id", value=url.id, cfsqltype="cf_sql_integer");
 5. result = q.execute(sql="SELECT * FROM orders WHERE id = :id").getResult();
 6.  
 7. // After
 8. result = queryExecute(
 9.     "SELECT * FROM orders WHERE id = :id",
10.     { id = { value = url.id, cfsqltype = "cf_sql_integer" } },
11.     { datasource = "appDSN" }
12. );
13. </cfscript>

 

Replace new http() with cfhttp()

 1. <cfscript>
 2. // Before: fails on CF2025
 3. httpService = new http();
 4. httpService.setUrl("https://api.example.com/status");
 5. response = httpService.send().getPrefix();
 6.  
 7. // After
 8. cfhttp(url="https://api.example.com/status", method="GET", result="response");
 9. </cfscript>

 

Swap removed functions

 1. <cfscript>
 2. // parameterExists(form.email)  ->
 3. if ( structKeyExists(form, "email") ) { /* ... */ }
 4.  
 5. // getTemplatePath()            ->
 6. currentFile = getBaseTemplatePath();
 7.  
 8. // htmlEditFormat(userInput)    ->
 9. safeOutput = encodeForHTML(userInput);
10. </cfscript>

encodeForHTML() is also the safer choice for XSS protection, so this fix improves security.

 

Stop relying on CFMX_COMPAT encryption

If you called encrypt() without naming an algorithm, you were using CFMX_COMPAT. Move to AES:

1. <cfscript>
2. // Generate once, then store in a secrets vault, never in source code
3. aesKey = generateSecretKey("AES", 256);
4.  
5. cipherText = encrypt(apiToken, aesKey, "AES/CBC/PKCS5Padding", "Base64");
6. plainText  = decrypt(cipherText, aesKey, "AES/CBC/PKCS5Padding", "Base64");
7. </cfscript>

One warning here. Data already encrypted with CFMX_COMPAT must be decrypted on your old server and re-encrypted with the new algorithm before you cut over. If you skip this, the 2025 server can't read that data.

Hash(..., "CFMX_COMPAT") effectively performs MD5 hashing. To maintain compatibility with existing database hashes and avoid forcing users to reset their passwords, replace "CFMX_COMPAT" with "MD5".

Replace thread termination

ColdFusion 2025 adds a new interrupt action to cfthread. Use it in place of terminate, and design long-running threads to check for a stop signal and exit cleanly.

<cfthread action="interrupt" name="nightlyReport" />

Step-by-step upgrade plan

1. Inventory everything

List every app, datasource, scheduled task, mail server, custom Java JAR, and web service. Note the database drivers too. If anything uses Sybase, MS Access, or DB2, flag it early.

2. Run the Code Analyzer, then search by hand

The Code Analyzer is in the ColdFusion Administrator under the Debugging & Logging pages. Set its baseline to the version you're upgrading from. It doesn't run your code, so it can't catch invalid attribute combinations set dynamically at runtime.

There's a catch for 2025. Adobe's documentation says the CF2025 Code Analyzer does not detect several removed items, including script CFCs, htmlEditFormat, parameterExists, and getTemplatePath. So add a text search of your codebase:

1. grep -rniE "new query|http|mail|ftp|pdf|storedproc|ldap|pop|imap|feed|dbinfo)\(|createObject\(.component.,\s*.(query|http|mail).\)|parameterExists|getTemplatePath|htmlEditFormat|threadTerminate|action=.terminate|CFMX_COMPAT" \
2.   --include=*.cfm --include=*.cfc .

Third-party scanners help too. For example, Fixinator can run a compatibility scan targeting Adobe ColdFusion 2025.

3. Export server settings with cfsetup

Don't rebuild the Administrator by hand. CFSetup is a command-line tool that reads and writes ColdFusion Administrator settings and can export and import them between instances. It lives in /coldfusion/config/cfsetup.

cfsetup> export all cf2021-settings.json C:\ColdFusion2021\cfusion

cfsetup> import all cf2021-settings.json C:\ColdFusion2025\cfusion

You'll set a passphrase on export and supply it again on import. File paths inside the JSON may need editing to match the new server. Treat that file as sensitive, because it holds your configuration. If you're on 2018, note that cfsetup isn't supported on ColdFusion 2018, so use the Administrator's archive tools there.

4. Check your Java and JEE layer

Custom Java code built for Java 11 or 17 may need recompiling and testing on Java 21. Teams that deploy ColdFusion as a JEE app on their own servlet container have extra work: Tomcat 10.1 moved to the Jakarta namespace, so code needs to use jakarta.servlet. This doesn't affect the traditional server install.

5. Build a parallel test environment

Install the new version beside production, not on top of it. Point it at a copy of your data. Run your test suite, then walk the key business flows by hand: logins, payments, reports, scheduled jobs, PDF output, mail.

6. Lock it down

Apply Adobe's lockdown guidance and the latest update before go-live. A fresh install with default settings is not production-ready.

7. Cut over in stages

Move low-risk apps first. Keep the old server ready for rollback until you've seen a full business cycle, including month-end jobs. Watch logs and error rates closely for the first two weeks.

What you get for the effort

The upgrade isn't only about removing risk. ColdFusion 2025 brings real developer improvements. You can now use trailing commas in arrays, structs, function parameters, and destructuring. createObject and cfobject gained a loadPaths parameter for loading external JAR files. Server-side charting added SVG output and new chart types such as boxplot, area, and donut.

Is every team best served by Adobe ColdFusion? Not always. Some evaluate open-source CFML engines such as Lucee or BoxLang. That can lower license costs, but it's a migration of its own, with different compatibility gaps. Compare total cost honestly, including testing time, before deciding.

 

Frequently asked questions

Q. Can I upgrade straight from ColdFusion 2016 or 2018 to 2025?

A. Yes, but expect more code changes. The script CFCs removed in 2025 were deprecated back in 2018, so older codebases tend to use them heavily.

Q. Does extended support keep my ColdFusion 2021 server secure?

A. No. Extended support doesn't include security patches. Once core support ends, new vulnerabilities stay unpatched.

Q. How long does a ColdFusion upgrade take?

A. It depends on code size, how much removed functionality you use, and your test coverage. A small app with clean code can move quickly. Large legacy systems with SOAP services, encrypted data, or custom Java need careful planning.

Q. Will my ColdFusion 2023 code run on 2025?

A. Most of it will. Scan for the removed functions, script CFCs, CFMX_COMPAT encryption, and thread termination before you switch.

Q. Do I need new licenses for ColdFusion 2025?

A. Yes. ColdFusion 2025 uses subscription licensing only, so plan the cost before the project starts.

Make the move before the clock runs out

ColdFusion still powers serious business systems. But a server without security patches puts those systems at risk. The fix is a planned upgrade: pick your target, find the breaking code, move your settings cleanly, and test before you cut over.

Need help with your ColdFusion version upgrade? The team at Lucid Outsourcing Solutions handles ColdFusion development and upgrade projects, from code audits to go-live. Get in touch to plan your migration.

Share:

Site Updates