# Moodle vulnerable to PHP object injection attacks

Advisory record · `GHSA-fccf-p8fx-vjj4`

- **Identifiers:** `GHSA-fccf-p8fx-vjj4` · `CVE-2014-3541` · `PKSA-z489-s91j-4s71`
- **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:** 13 May 2022
- **Updated:** 7 Dec 2024
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 13 May 2022, 01:12 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `moodle/moodle` (Packagist): affected `<2.4.11 || >=2.5.0, <2.5.7 || >=2.6.0, <2.6.4 || >=2.7.0, <2.7.1`; fixed in `2.4.11`, `2.5.7`, `2.6.4`, `2.7.1`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Moodle versions through 2.3.11, 2.4.x before 2.4.11, 2.5.x before 2.5.7, 2.6.x before 2.6.4, and 2.7.x before 2.7.1 are affected. A remote attacker can conduct PHP object injection via serialized data associated with an add-on in the Repositories component, which may lead to arbitrary code execution. Upgrade to 2.4.11, 2.5.7, 2.6.4, 2.7.1 or later, matching your branch.

Written 4 Nov 2026.

## 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:** 0.037, the 89th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## 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-fccf-p8fx-vjj4)

## Sources

- [GitHub Advisory Database: GHSA-fccf-p8fx-vjj4](https://github.com/advisories/GHSA-fccf-p8fx-vjj4)
- [OSV: GHSA-fccf-p8fx-vjj4](https://osv.dev/vulnerability/GHSA-fccf-p8fx-vjj4)
- <https://nvd.nist.gov/vuln/detail/CVE-2014-3541>
- <https://github.com/moodle/moodle/commit/3fe105953d14766393e24372806fcf0a2b77c96d>
- <https://github.com/moodle/moodle/commit/40d52d4067c2ee062a5b16c780753c6f97413894>
- <https://github.com/moodle/moodle/commit/5c4ef26c39d3106315f74c26cdcca779ba74254c>
- <https://github.com/moodle/moodle/commit/61961447c29d48e5a494e7c02e653d6ff00551b2>
- <https://github.com/moodle/moodle/commit/68170f0b01ccaade799c4cab2312ce6a825fb844>
- <https://github.com/moodle/moodle/commit/7bcf9b1e2cbdd1e877b828da75b17e3f8318fafc>
- <https://github.com/moodle/moodle/commit/867f40990bde6152e01604d106ddac8433018f42>
- <https://github.com/moodle/moodle/commit/cb2b42aed8d9ce3c9840ad825f2e0e7e81bfad91>
- <https://github.com/moodle/moodle/commit/e29bb97c0756de511ba287b40790d8275a991d33>
- <https://github.com/moodle/moodle>
- <https://moodle.org/mod/forum/discuss.php?d=264262>

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-fccf-p8fx-vjj4>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-fccf-p8fx-vjj4/>. Everything for agents: <https://agentprime.io/llms.txt>.
