# Ez Platform and Legacy are prone to an insecure interpretation of PHP/PHAR uploads

Advisory record · `GHSA-pqjm-xcp8-wgmm`

- **Identifiers:** `GHSA-pqjm-xcp8-wgmm` · `PKSA-h4ds-xj4t-xwqp`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **Weakness (CWE):** [CWE-94](https://cwe.mitre.org/data/definitions/94.html)
- **Tags:** [Code injection](https://agentprime.io/advisories/tag/code-injection.md)
- **Published:** 15 May 2024
- **Updated:** 29 Nov 2024
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 15 May 2024, 21:31 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `ezsystems/ezpublish-legacy` (Packagist): affected `>=2018.9.0, <2018.9.1.3 || >=2018.6.0, <2018.6.1.4 || >=2011.0.0, <2017.12.4.3 || >=5.4.0, <5.4.12.3 || >=5.3.0, <5.3.12.6`; fixed in `2018.9.1.3`, `2018.6.1.4`, `2017.12.4.3`, `5.4.12.3`, `5.3.12.6`

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** No score.

## Timeline

- 31 Oct 2026, 14:28 UTC: First seen by agentprime
- 31 Oct 2026, 14:28 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-pqjm-xcp8-wgmm)

## Sources

- [GitHub Advisory Database: GHSA-pqjm-xcp8-wgmm](https://github.com/advisories/GHSA-pqjm-xcp8-wgmm)
- [OSV: GHSA-pqjm-xcp8-wgmm](https://osv.dev/vulnerability/GHSA-pqjm-xcp8-wgmm)
- <https://github.com/ezsystems/ezplatform/commit/9a0c52dc4535e4b3ce379f80222dc53f705a2cfd>
- <https://github.com/ezsystems/ezpublish-legacy/commit/d21957bf202b091ab39dfb5be300f6c30be3933e>
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/ezsystems/ezpublish-legacy/2018-11-21-1.yaml>
- <https://github.com/ezsystems/ezpublish-legacy>
- <https://web.archive.org/web/20210614192208/https://share.ez.no/community-project/security-advisories/ezsa-2018-009-do-not-interpret-php-phar-uploads>
- <http://share.ez.no/community-project/security-advisories/ezsa-2018-009-do-not-interpret-php-phar-uploads>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-pqjm-xcp8-wgmm>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-pqjm-xcp8-wgmm/>. Everything for agents: <https://agentprime.io/llms.txt>.
