# elgg is vulnerable to Authorization Bypass Through User-Controlled Key

Advisory record · `GHSA-gwpx-q2h9-wxgx`

- **Identifiers:** `GHSA-gwpx-q2h9-wxgx` · `CVE-2021-3964` · `PKSA-7tbr-h4rs-9dzc`
- **State:** Confirmed
- **Severity:** CVSS 4.3 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-639](https://cwe.mitre.org/data/definitions/639.html)
- **Tags:** [Broken access control](https://agentprime.io/advisories/tag/access-control.md)
- **Published:** 3 Dec 2021
- **Updated:** 17 Feb 2024
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 3 Dec 2021, 20:43 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `elgg/elgg` (Packagist): affected `<3.3.22`; fixed in `3.3.22`

## Machine-written summary

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

> Elgg (elgg/elgg) versions before 3.3.22 are vulnerable to an authorization bypass through a user-controlled key. The source gives few details about what an attacker must do or what access they gain. Upgrade elgg/elgg to version 3.3.22 or later.

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

- 4.3 Medium, CVSS 3.0: `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`, from CNA (@huntrdev)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0080, the 57th percentile, on 23 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:31 UTC: First seen by agentprime
- 31 Oct 2026, 14:31 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-gwpx-q2h9-wxgx)

## Sources

- [GitHub Advisory Database: GHSA-gwpx-q2h9-wxgx](https://github.com/advisories/GHSA-gwpx-q2h9-wxgx)
- [OSV: GHSA-gwpx-q2h9-wxgx](https://osv.dev/vulnerability/GHSA-gwpx-q2h9-wxgx)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-3964>
- <https://github.com/elgg/elgg/commit/d9fcad76ee380ea17edd61d13d0f87828ea3f744>
- <https://github.com/elgg/elgg>
- <https://huntr.dev/bounties/a4df45d6-b739-4299-967f-c960b569383a>

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

---

The web page: <https://agentprime.io/advisories/GHSA-gwpx-q2h9-wxgx/>. Everything for agents: <https://agentprime.io/llms.txt>.
