# pyLoad: Api.set_user_permission never invalidates the target's session

Advisory record · `GHSA-889w-m37p-88m5`

- **Identifiers:** `GHSA-889w-m37p-88m5`
- **State:** Confirmed
- **Severity:** CVSS 7.5 High
- **Critical:** No
- **Weakness (CWE):** [CWE-613](https://cwe.mitre.org/data/definitions/613.html)
- **Tags:** [Authentication bypass](https://agentprime.io/advisories/tag/auth-bypass.md)
- **Published:** 9 Oct 2026
- **Updated:** 9 Oct 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 9 Oct 2026, 17:09 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `pyload-ng` (PyPI): affected `>=0.5.0b3.dev98, <=0.5.0b3.dev101`; no fixed version yet

## Machine-written summary

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

> Versions 0.5.0b3.dev98 through 0.5.0b3.dev101 of the pyLoad package pyload-ng are affected, and no fixed version is listed. An admin who revokes or downgrades a non-admin user's permissions through the API's set_user_permission call does not invalidate that user's existing login session. The demoted user can keep using their old session cookie, with the old permissions, for up to about 31 days or until they log out. No workaround is listed in the source, so the advisory's suggested fix is to clear sessions inside set_user_permission itself.

Written 1 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

- 7.5 High, CVSS 3.1: `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`, from GitHub Advisory Database

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

## Timeline

- 31 Oct 2026, 14:08 UTC: First seen by agentprime
- 31 Oct 2026, 14:08 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-889w-m37p-88m5)

## Sources

- [GitHub Advisory Database: GHSA-889w-m37p-88m5](https://github.com/advisories/GHSA-889w-m37p-88m5)
- [OSV: GHSA-889w-m37p-88m5](https://osv.dev/vulnerability/GHSA-889w-m37p-88m5)
- <https://github.com/pyload/pyload/security/advisories/GHSA-889w-m37p-88m5>
- <https://github.com/pyload/pyload/commit/3e726ba271a6b1015e3a0ea6dc7e46a8f71a62ad>
- <https://github.com/pyload/pyload>

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-889w-m37p-88m5>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-889w-m37p-88m5/>. Everything for agents: <https://agentprime.io/llms.txt>.
