# Moodle vulnerable to symlink attack

Advisory record · `GHSA-x7r4-26m9-hmgq`

- **Identifiers:** `GHSA-x7r4-26m9-hmgq` · `CVE-2008-5153` · `PKSA-yn74-38zw-4s6q`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **Weakness (CWE):** [CWE-59](https://cwe.mitre.org/data/definitions/59.html)
- **Tags:** [Path traversal](https://agentprime.io/advisories/tag/path-traversal.md)
- **Published:** 17 May 2022
- **Updated:** 9 Feb 2024
- **Reviewed by a person:** No

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

## Affected packages

- `moodle/moodle` (Packagist): affected `>=1.9.0, <1.9.4 || >=1.8.0, <1.8.8 || >=1.7.0, <1.7.7 || >=1.6.0, <1.6.9`; fixed in `1.9.4`, `1.8.8`, `1.7.7`, `1.6.9`

## Machine-written summary

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

> Moodle versions 1.6.0 to before 1.6.9, 1.7.0 to before 1.7.7, 1.8.0 to before 1.8.8, and 1.9.0 to before 1.9.4 are affected. A local user can exploit a symlink attack on temporary files used by spell-check-logic.cgi to overwrite arbitrary files. Upgrade moodle/moodle to 1.6.9, 1.7.7, 1.8.8, or 1.9.4, depending on your release branch.

Written 5 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.0039, the 33rd percentile, on 21 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:32 UTC: First seen by agentprime
- 31 Oct 2026, 14:32 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-x7r4-26m9-hmgq)

## Sources

- [GitHub Advisory Database: GHSA-x7r4-26m9-hmgq](https://github.com/advisories/GHSA-x7r4-26m9-hmgq)
- [OSV: GHSA-x7r4-26m9-hmgq](https://osv.dev/vulnerability/GHSA-x7r4-26m9-hmgq)
- <https://nvd.nist.gov/vuln/detail/CVE-2008-5153>
- <https://exchange.xforce.ibmcloud.com/vulnerabilities/46708>
- <https://github.com/moodle/moodle>
- <https://web.archive.org/web/20090821033319/http://secunia.com/advisories/33955>
- <https://web.archive.org/web/20110511083352/http://uvw.ru/report.sid.txt>
- <https://web.archive.org/web/20141121115305/http://www.securityfocus.com/bid/32402>
- <http://lists.debian.org/debian-devel/2008/08/msg00347.html>
- <http://www.debian.org/security/2009/dsa-1724>

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-x7r4-26m9-hmgq>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-x7r4-26m9-hmgq/>. Everything for agents: <https://agentprime.io/llms.txt>.
