Magento 2.4.9: what’s new and why you should upgrade

Adobe has released Magento Open Source 2.4.9. It is a release with 580 fixes in the core code, important security hardening, support for the latest PHP and Symfony versions, and new features for checkout, administration and payments. Here is what changes and what to consider before upgrading your store.

Security: the main reason to upgrade

2.4.9 is the first stable version that fixes the PolyShell vulnerability (APSB25-94), which lets attackers upload malicious files to Magento stores without logging in and is being exploited at scale. It also brings several security improvements:

  • PCI DSS 4.0: the minimum admin password length is now configurable, with real-time validation.
  • Simpler two-factor authentication: each admin only needs to configure one of the enabled 2FA methods, instead of all of them.
  • Bot protection: CAPTCHA is enforced on account creation via REST and GraphQL, and reCAPTCHA is added to the GraphQL customer update and contact mutations.
  • Less data exposure: error messages no longer reveal whether an email address is registered in the store.

Platform and technology

  • PHP 8.5 and Symfony 7.4 LTS: Symfony dependencies are updated to the 7.4 LTS release, with support for PHP 8.5.
  • Composer 2.4: support extends from version 2.2.x to 2.4.x.
  • Updated frontend libraries: jQuery UI 1.14.1, jQuery Validate 1.21.0, Chart.js 4.5.0, Uppy 4.13.4 and more.
  • Infrastructure fixes: installation on MariaDB 10.11, Redis cache during outages, RabbitMQ queues and Varnish caching.

What’s new for store management

  • Import and export operations are recorded in the action logs.
  • Inventory sources can be deleted, not just disabled.
  • Tax rates can be mass-deleted from the grid.
  • Faster, more practical media gallery and category tree for large catalogues.
  • More efficient order grid, sales reports and cron jobs for stores with lots of data.

Checkout, GraphQL and payments

  • GraphQL: the clearCart mutation comes to Open Source, along with clearWishlist, new customer address mutations (V2) and a setting to control cart merging at sign-in. Great news for headless stores.
  • Prices and taxes: FPT prices are consistent across catalogue, product and cart pages, plus several fixes to discount rules and guest orders.
  • Braintree: Apple Pay on Chrome and Firefox, promo codes in Google Pay and Apple Pay, ELO cards, BLIK for Poland and Pay Upon Invoice (PayPal + Ratepay) for Germany.

Before you upgrade

2.4.9 includes some changes that can affect integrations and extensions:

  • Malformed REST requests now return 400 Bad Request instead of 500.
  • Website and store IDs are now returned as integers, not strings.
  • Some GraphQL mutations are deprecated in favour of new versions, and the guest order input type has changed.
  • The Symfony upgrade may require changes to custom modules that extend Symfony classes.

We recommend testing the upgrade in a staging environment, checking extension compatibility and validating ERP, payment and logistics integrations before going to production.

Need help with the upgrade?

Waterstone specialises in Magento. We assess your store, then plan and carry out the upgrade to 2.4.9 with minimal impact on your business. Get in touch.

Source: Magento Open Source 2.4.9 release notes (Adobe).