# CVE-2022-26662: PYSEC-2026-741 - XML Entity Expansion in trytond and proteus

Source: https://junglewise.ai/threats/cve-2022-26662-xml-entity-expansion-in-trytond-and-proteus  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-02  
License: CC BY 4.0 with a link back

CVE-2022-26662 · Severity: low · CVSS 3.1 · Published 2026-07-02

XML Entity Expansion in trytond and proteus

Technologies: [tryton (PyPI)](https://junglewise.ai/threats/technologies/tryton), [trytond (PyPI)](https://junglewise.ai/threats/technologies/trytond). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2022-26662 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-26662 being exploited in the wild.

**How severe is CVE-2022-26662?** Low severity, with a CVSS score of 3.1, published 2 July 2026.

**Which products and versions are affected?** proteus (PyPI) ECOSYSTEM:introduced=5.0.0,fixed=5.0.12, ECOSYSTEM:introduced=5.0.0,fixed=5.0.12,introduced=6.0.0,fixed=6.0.5,introduced=6.1.0,fixed=6.2.2; tryton (PyPI) ECOSYSTEM:introduced=5.0.0,fixed=5.0.12,introduced=6.0.0,fixed=6.0.5,introduced=6.2.0,fixed=6.2.2,fixed=6.2.6,fixed=6.0.16,fixed=5.0.46; trytond (PyPI) ECOSYSTEM:introduced=5.0.0,fixed=5.0.46, ECOSYSTEM:introduced=5.0.0,fixed=5.0.46,introduced=6.0.0,fixed=6.0.16,introduced=6.1.0,fixed=6.2.6.

**Is there a fix for CVE-2022-26662?** Yes. proteus (PyPI): upgrade to 5.0.12, 6.2.2 or later; tryton (PyPI): upgrade to 5.0.46 or later; trytond (PyPI): upgrade to 5.0.46, 6.2.6 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2022-26662?** Check whether you run proteus (PyPI), tryton (PyPI) or trytond (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- proteus (PyPI): upgrade to 5.0.12, 6.2.2 or later

  ```sh
  pip install "proteus>=6.2.2"
  ```

- tryton (PyPI): upgrade to 5.0.46 or later

  ```sh
  pip install "tryton>=5.0.46"
  ```

- trytond (PyPI): upgrade to 5.0.46, 6.2.6 or later

  ```sh
  pip install "trytond>=6.2.6"
  ```


## Affected products

- proteus (PyPI) ECOSYSTEM:introduced=5.0.0,fixed=5.0.12, ECOSYSTEM:introduced=5.0.0,fixed=5.0.12,introduced=6.0.0,fixed=6.0.5,introduced=6.1.0,fixed=6.2.2
- tryton (PyPI) ECOSYSTEM:introduced=5.0.0,fixed=5.0.12,introduced=6.0.0,fixed=6.0.5,introduced=6.2.0,fixed=6.2.2,fixed=6.2.6,fixed=6.0.16,fixed=5.0.46
- trytond (PyPI) ECOSYSTEM:introduced=5.0.0,fixed=5.0.46, ECOSYSTEM:introduced=5.0.0,fixed=5.0.46,introduced=6.0.0,fixed=6.0.16,introduced=6.1.0,fixed=6.2.6

## Identifiers

- CVE-2022-26662
- GHSA-pm3h-mm62-pwm8
- PYSEC-2022-43171
- PYSEC-2026-3392
- PYSEC-2026-741

## Related threats

- [PYSEC-2026-3390 - Tryton vulnerable to arbitrary command execution](https://junglewise.ai/threats/cve-2014-6633-tryton-vulnerable-to-arbitrary-command-execution)
- [PYSEC-2026-1054 - Tryton Directory Traversal vulnerability](https://junglewise.ai/threats/cve-2013-4510-tryton-directory-traversal-vulnerability)
- [PYSEC-2026-740 - Improper Restriction of XML External Entity Reference in trytond and proteus](https://junglewise.ai/threats/cve-2022-26661-improper-restriction-of-xml-external-entity-reference-in-trytond)
- [Tryton trytond 6.0 before 7.6.11 does not enforce access rights for data export. This is fixed in 7.6.11, 7.4.21, 7.0.40, and 6.0.70.](https://junglewise.ai/threats/cve-2025-66424-tryton-trytond-authorization-bypass-in-data-export)
- [PYSEC-2026-1991 - trytond does not enforce access rights for the route of the HTML editor.](https://junglewise.ai/threats/cve-2025-66423-trytond-does-not-enforce-access-rights-for-the-route-of-the-html)
