NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
🐘 Packagist
Not in CISA KEV

Algolia Search & Discovery for Magento 2 Has Untrusted Data HandlingGHSA-595p-g7xc-c333

GHSA-595p-g7xc-c333 is a remote code execution vulnerability in algolia/algoliasearch-magento-2. A fix is available for algolia/algoliasearch-magento-2 — see the affected versions and patch details below.

Published
Updated
Affected
2 pkgs
Patched
2 / 2
Exploits
None indexed
Exploitation data as of Feb 3, 2026 · OSV.dev, FIRST.org (EPSS)

Real-World Exposure

2 pkgs affected
🐘algolia/algoliasearch-magento-2🐘algolia/algoliasearch-magento-2

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Packagist packages — download data is not available via public APIs for these ecosystems.

Description

Impact

Versions of the Algolia Search & Discovery extension for Magento 2 prior to 3.17.2 and 3.16.2 contain a vulnerability where data read from the database was treated as a trusted source during job execution.

If an attacker is able to modify records used by the extension’s indexing queue, this could result in arbitrary PHP code execution when the affected job is processed.

Exploitation requires the ability to write malicious data to the Magento database and for the indexing queue to be enabled.


Patches

This vulnerability has been fixed in the following versions:

  • 3.17.2
  • 3.16.2

Merchants should upgrade to a supported patched version immediately.

Versions outside the supported maintenance window do not receive security updates and remain vulnerable.


Workarounds

Upgrading to a patched version is the only recommended remediation.

If an immediate upgrade is not possible, the following temporary risk mitigations may reduce exposure:

  • Disable the Algolia indexing queue to prevent queued jobs from being executed.
  • Restrict job execution logic to an explicit allowlist of permitted operations.
  • Review the contents of the algoliasearch_queue table for unexpected or unrecognized entries.
  • If queue archiving is enabled, review historical records in algoliasearch_queue_archive.

These mitigations are provided as guidance only and do not replace upgrading to a patched version.


References

  • Algolia Search & Discovery for Magento 2 releases:

Affected Packages

2 total 2 fixed
EcosystemPackageVulnerable rangeFix
🐘Packagistalgolia/algoliasearch-magento-2≥ 3.17.0-beta.1&&< 3.17.23.17.2composer require algolia/algoliasearch-magento-2:^3.17.2
🐘Packagistalgolia/algoliasearch-magento-2all versions3.16.2composer require algolia/algoliasearch-magento-2:^3.16.2

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for algolia/algoliasearch-magento-2, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update algolia/algoliasearch-magento-2 to 3.17.2 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-595p-g7xc-c333 is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

Frequently Asked Questions

### Impact Versions of the Algolia Search & Discovery extension for Magento 2 prior to **3.17.2** and **3.16.2** contain a vulnerability where data read from the database was treated as a trusted source during job execution. If an attacker is able to modify records used by the extension’s indexing queue, this could result in **arbitrary PHP code execution** when the affected job is processed. Exploitation requires the ability to write malicious data to the Magento database and for the indexing queue to be enabled. --- ### Patches This vulnerability has been fixed in the following version
O3 Security · Impact-Aware SCA

Is GHSA-595p-g7xc-c333 in your dependencies?

Find it across Packagist, including transitive dependencies.

Algolia Search & Discovery for Magento 2 Has Untrusted…