---
id: CVE-2022-26661
aliases:
  - GHSA-cj78-rgw3-4h5p
  - PYSEC-2022-43170
  - PYSEC-2026-740
title: Improper Restriction of XML External Entity Reference in trytond and proteus
summary: Improper Restriction of XML External Entity Reference in trytond and proteus
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'
vendor: trytond
product: trytond
ecosystem: pip
affected:
  - 'trytond >= 5.0.0, < 5.0.46'
  - 'trytond >= 6.0.0, < 6.0.16'
  - 'trytond >= 6.1.0, < 6.2.6'
  - 'proteus >= 5.0.0, < 5.0.12'
  - 'proteus >= 6.0.0, < 6.0.5'
  - 'proteus >= 6.1.0, < 6.2.2'
patched:
  - trytond 5.0.46
  - trytond 6.0.16
  - trytond 6.2.6
  - proteus 5.0.12
  - proteus 6.0.5
  - proteus 6.2.2
published: '2022-03-11'
updated: '2026-07-06'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-cj78-rgw3-4h5p'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2022-26661'
  - url: >-
      https://discuss.tryton.org/t/security-release-for-issue11219-and-issue11244/5059
  - url: 'https://foss.heptapod.net/tryton/tryton/-/issues/11219'
  - url: 'https://hg.tryton.org/trytond'
  - url: 'https://lists.debian.org/debian-lts-announce/2022/03/msg00016.html'
  - url: 'https://lists.debian.org/debian-lts-announce/2022/03/msg00017.html'
  - url: 'https://www.debian.org/security/2022/dsa-5098'
  - url: 'https://www.debian.org/security/2022/dsa-5099'
tags:
  - osv
  - pip
epss: 0.01407
epssPercentile: 0.71479
ingestedAt: '2026-07-08T18:25:48.395Z'
---

## Overview

An XXE issue was discovered in Tryton Application Platform (Server) 5.x through 5.0.45, 6.x through 6.0.15, and 6.1.x and 6.2.x through 6.2.5, and Tryton Application Platform (Command Line Client (proteus)) 5.x through 5.0.11, 6.x through 6.0.4, and 6.1.x and 6.2.x through 6.2.1. An authenticated user can make the server parse a crafted XML SEPA file to access arbitrary files on the system.

## Affected packages

- `trytond >= 5.0.0, < 5.0.46`
- `trytond >= 6.0.0, < 6.0.16`
- `trytond >= 6.1.0, < 6.2.6`
- `proteus >= 5.0.0, < 5.0.12`
- `proteus >= 6.0.0, < 6.0.5`
- `proteus >= 6.1.0, < 6.2.2`

## Remediation

Upgrade to a patched release:

- `trytond 5.0.46`
- `trytond 6.0.16`
- `trytond 6.2.6`
- `proteus 5.0.12`
- `proteus 6.0.5`
- `proteus 6.2.2`
