Home › CVE › Vulnerabilities
CVE-2022-26661
Research article
Tryton trytond and proteus XML external entity flaw (CVE-2022-26661) can expose server files
| CVE | CVE-2022-26661 |
|---|---|
| Published | December 01, 2026 19:40 UTC |
| Research cut-off | December 01, 2026 19:35 UTC |
| Sources reviewed | 4: NVD record (last modified 2026-06-17); CISA KEV catalog; vendor advisory page (discuss.tryton.org); 1 vendor bulletin |
Executive summary
CVE-2022-26661 is an XML external entity (XXE) weakness, mapped to CWE-611, in Tryton's trytond and proteus products [1, 3]. NVD scores it 6.5 MEDIUM under CVSS 3.1 with vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N, scored by NVD as Primary [1]. NVD lists affected trytond ranges below 5.0.46, 6.0.16 and 6.2.6 and affected proteus ranges below 5.0.12, 6.0.5 and 6.2.2, each with its fixed version [1]. The vendor says an authenticated user can submit a crafted XML SEPA file to read arbitrary files through trytond, and the Ubuntu notice describes proteus as able to expose sensitive information [3, 4]. The reviewed sources do not establish exploitation in the wild, and the flaw is absent from the CISA KEV catalog as of 2026-12-01, which does not rule out exploitation [2]. The most important immediate action is to inventory trytond and proteus hosts, upgrade to the fixed version for each branch, and apply the vendor's interim parser mitigations where an upgrade must wait [1, 3].
Key points
- CVE-2022-26661 is an XML external entity flaw (CWE-611) in Tryton trytond and proteus, scored 6.5 MEDIUM under CVSS 3.1 vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N [1].
- The vendor says an authenticated user can use a crafted XML SEPA file to read arbitrary files via trytond [3].
- NVD lists fixed versions per branch: trytond 5.0.46, 6.0.16, 6.2.6; proteus 5.0.12, 6.0.5, 6.2.2 [1].
- The CISA KEV catalog did not list this CVE as of 2026-12-01; exploitation in the wild is not established by the reviewed sources [2].
- Interim mitigations per the vendor are defusedxml, the default lxml parser configuration, or expat 2.4.1 or later [3].
Vulnerability identification
| Field | Value | Source |
|---|---|---|
| CVE ID | CVE-2022-26661 | S1 |
| Vendor and products | Tryton; trytond and proteus | S1, S3 |
| Component | XML parsing in trytond and related modules, linked by the vendor to XML external entity handling in camt54 parsing (issue11219) | S3 |
| Published | 2022-03-10T17:47:52 | S1 |
| Last modified | 2026-06-17T04:35:36 | S1 |
| Record status | Modified | S1 |
| CWE | CWE-611, Improper Restriction of XML External Entity Reference: the parser processes external entity references without sufficiently limiting what they may point to | S1 |
| CVSS 3.1 base score | 6.5, MEDIUM, scored by NVD (Primary) | S1 |
| CVSS 3.1 vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N | S1 |
| Related identifiers | Tryton issue11219 and issue11244 (vendor security release); Debian DSA-5098 and DSA-5099; Ubuntu USN-9344-1 | S1, S3, S4 |
The reviewed sources give one CVSS score, the NVD 3.1 score above. The vendor page and the Ubuntu notice give no scores.
Vulnerability description
The vendor states that a user with an authenticated account can use a crafted XML SEPA file to make trytond access arbitrary files on the system [3]. It ties this to XML external entity handling in camt54 parsing, tracked as issue11219 [3]. For proteus, the vendor describes improper handling of XML external entities that could let an attacker retrieve confidential data [3]. The Ubuntu notice uses the same description and says an attacker could possibly obtain sensitive information [4].
The security property violated is confidentiality. The CVSS vector scores high confidentiality impact and no integrity or availability impact, with network access, low complexity, low privileges and no user interaction [1]. The vendor's wording differs between trytond (arbitrary file access by an authenticated user) and proteus (sensitive information), and the pack does not reconcile the two beyond the shared identifier [3].
The Ubuntu notice lists a second, separate proteus item: XML entity expansion when parsing XML-RPC messages, which the notice says can exhaust resources and cause denial of service [4]. That item is not attributed to CVE-2022-26661 in the reviewed text and should not be merged with this CVE.
Root cause analysis
Confirmed: the vendor places the flaw in XML external entity handling during camt54 parsing, and NVD maps the CVE to CWE-611 [3, 1].
Analyst assessment: the parser resolves external entity declarations contained in attacker-supplied XML, so the content of referenced local files is returned to the submitting user. The vendor's interim mitigations target entity resolution and the parser libraries themselves: defusedxml, the default lxml parser configuration, and expat 2.4.1 or later [3]. This is consistent with a parser setting, not an application-level path check, being the decisive control, but the pack contains no code and does not confirm it.
Attack surface and exploitation prerequisites
| Factor | Finding | Source |
|---|---|---|
| Access vector | Network (AV:N) | S1 |
| Attack complexity | Low (AC:L) | S1 |
| Privileges required | Low (PR:L); the vendor describes an authenticated user | S1, S3 |
| User interaction | None (UI:N) | S1 |
| Scope | Unchanged (S:U) | S1 |
| Input | Crafted XML SEPA file processed by trytond's XML parsing | S3 |
| Feature trigger | Processing of camt54 XML input, the parsing path the vendor names | S3 |
| Interim mitigation options | defusedxml; default lxml parser configuration; expat 2.4.1 or later | S3 |
The network, complexity, privilege and interaction values come from the vector only [1]. The authenticated-user condition and the file-upload path are stated by the vendor [3]. The vector alone does not show that the feature is reachable on a given installation, so reachability must be checked per deployment.
Impact analysis
| Area | Assessment | Basis |
|---|---|---|
| Confidentiality | High per vector. Vendor describes arbitrary file access for trytond and sensitive information for proteus | S1, S3, S4 |
| Integrity | No impact scored | S1 |
| Availability | No impact scored for this CVE. The XML-RPC entity expansion item is a separate denial-of-service issue | S1, S4 |
| Authentication and authorization | An authenticated account is required. Reading files the application does not expose to that account would bypass intended access (analyst assessment) | S1, S3 |
| Privilege boundary | Files readable by the application's operating-system account; scope is unchanged per vector | S1, S3 |
| Data and privacy | Confidential or sensitive data per vendor. Actual exposure depends on what the service account can read (analyst assessment) | S3, S4 |
| Business operations | Payment-file workflows may carry financial data; the consequence depends on the deployment (analyst assessment) | S3 |
Affected products and versions
| Product | Affected range (NVD CPE) | Fixed version | Source |
|---|---|---|---|
| tryton trytond | 5.0.0 to below 5.0.46 | 5.0.46 | S1 |
| tryton trytond | 6.0.0 to below 6.0.16 | 6.0.16 | S1 |
| tryton trytond | 6.2.0 to below 6.2.6 | 6.2.6 | S1 |
| tryton proteus | 5.0.0 to below 5.0.12 | 5.0.12 | S1 |
| tryton proteus | 6.0.0 to below 6.0.5 | 6.0.5 | S1 |
| tryton proteus | 6.2.0 to below 6.2.2 | 6.2.2 | S1 |
| debian linux | Versions 9.0, 10.0, 11.0 | No fixed version given | S1 |
The trytond and proteus ranges are NVD's analysis of the vendor's data. The vendor advice in S3 is to upgrade to the latest available version, which is less precise than the per-branch fixed versions in S1. Where the two differ, upgrade each installed branch to its listed fixed version at minimum. The Debian linux entries give no fixed version [1]. The Ubuntu notice names proteus but gives no package versions [4].
Exploitation and threat intelligence status
Exploitation in the wild is not established by the reviewed sources. None of the four sources reports observed exploitation [1, 2, 3, 4].
The CISA KEV catalog did not list CVE-2022-26661 as of 2026-12-01, and CISA states that absence is not evidence that the CVE has gone unexploited [2].
NVD tags the Tryton issue11219 reference with Exploit, alongside Issue Tracking and Vendor Advisory [1]. The pack does not include that reference's content, so the tag is a lead, not a verified proof of concept.
No threat actor, campaign or sector is attributed to this CVE in the pack. The pack contains no EPSS score for this CVE.
Reliability: the vendor page carries no date [3]. The Ubuntu notice is dated 2026-12-01 in the pack and describes the impact with 'could possibly' wording [4].
Detection and exposure assessment
- Inventory: list every host running trytond or proteus and record the installed version of each. Compare each version with the fixed version for its branch in the affected-products table [1]. Matching an affected range shows that the version is vulnerable, not that exploitation is possible.
- Feature check: identify installed trytond modules that parse XML SEPA or camt54 input, since the vendor ties the issue to camt54 parsing [3]. The pack does not name the modules, so use your deployment's module list.
- Interim mitigation check: confirm whether defusedxml, the lxml default parser configuration and expat 2.4.1 or later are in place [3]. For the expat version on Debian-based hosts, run dpkg-query -W -f='${Version}\n' libexpat1, a read-only standard package manager query. Expected output is one installed version string. A distribution may backport fixes without changing the upstream version, so compare the result with the distributor's security advisory rather than the 2.4.1 number alone.
- Logs: the pack gives no log source, event ID or field for this CVE. Review the application's own logs for XML file imports by authenticated accounts and compare them with the users expected to perform imports.
- Scanning: a vulnerability scanner that reports CVE-2022-26661 identifies version exposure only. Treat its output as an inventory result and confirm feature reachability separately.
Remediation
Immediate mitigation, from the vendor's advice [3]. Apply these until the upgrade is complete:
- Enable defusedxml in the XML parsing path so that external entities are not resolved. This blocks the entity-resolution behaviour the vendor identifies; the pack does not give the configuration key, so confirm the setting in the deployed configuration.
- Configure lxml default parsers to avoid entity resolution [3]. Verify the parser setting in configuration or code review.
- Update expat to 2.4.1 or later [3]. This is a library change that does not replace the Tryton fix, so its residual risk remains until trytond and proteus are upgraded.
- Reduce the set of accounts that can submit XML imports to those that need it. This follows from the low-privilege requirement in the vector [1] (analyst assessment).
Permanent fix, vendor-confirmed through NVD's fixed versions [1] and vendor guidance [3]:
- trytond: upgrade to 5.0.46 on the 5.0 branch, 6.0.16 on the 6.0 branch, or 6.2.6 on the 6.2 branch [1].
- proteus: upgrade to 5.0.12 on the 5.0 branch, 6.0.5 on the 6.0 branch, or 6.2.2 on the 6.2 branch [1].
- Ubuntu systems: use USN-9344-1 for the package versions for each release [4]. Debian systems: use the distributor advisories DSA-5098 and DSA-5099 referenced by NVD [1].
- Before upgrading, take a backup of the database and configuration (analyst assessment). Confirm restart and any migration steps from the vendor release notes for the target version.
- Verify after the upgrade: the installed trytond and proteus versions on each host match the fixed versions above, and the interim parser settings remain in place until the upgrade is confirmed.
The interim measures reduce exposure; only the upgrade to a fixed version is a permanent fix.
Remediation checklist
- Inventory every host running trytond or proteus and record the installed version of each; compare with the fixed version for its branch: trytond 5.0.46, 6.0.16 or 6.2.6; proteus 5.0.12, 6.0.5 or 6.2.2 [1].
- Until upgraded, enable defusedxml in the trytond XML parsing path so external entities are not resolved, and confirm the setting in the deployed configuration [3].
- Configure lxml default parsers to avoid entity resolution and verify the setting in configuration or code review [3].
- Update expat to 2.4.1 or later on each host and confirm the installed version with the system package manager, cross-checking any distribution backport in its security advisory [3].
- Upgrade trytond to 5.0.46 (5.0 branch), 6.0.16 (6.0 branch) or 6.2.6 (6.2 branch) [1].
- Upgrade proteus to 5.0.12 (5.0 branch), 6.0.5 (6.0 branch) or 6.2.2 (6.2 branch) [1].
- Reduce the accounts able to submit XML SEPA or camt54 imports to those that need the function, since the vector requires low privileges [1, 3] (analyst assessment).
- For Debian systems, check DSA-5098 and DSA-5099 and the installed package versions for your release [1]; for Ubuntu, use USN-9344-1 package versions [4].
- Review application logs for XML imports by authenticated accounts against the list of expected users; the pack gives no specific event IDs or indicators [3] (analyst assessment).
- After upgrading, re-run the version inventory and confirm the interim parser settings or the upgraded versions on every host, and record the results [1, 3].
Evidence gaps
- Whether the CVE is exploited in the wild: no source in the pack reports observed exploitation; re-check CISA KEV, vendor notices and threat reporting after the cut-off.
- EPSS score: the pack contains no FIRST EPSS value for CVE-2022-26661; an EPSS lookup would settle the exploitation-likelihood question.
- Code-level root cause: no source gives the parser call, module or default configuration; the vendor's issue11219 change or commit would settle it.
- Whether camt54 or XML SEPA parsing is enabled by default: the reviewed sources do not say; the vendor's installation or module documentation would settle it.
- Which trytond modules parse camt54 or XML SEPA input: module names are absent; the deployed module list and vendor module documentation would settle it.
- Debian linux CPE entries (9.0, 10.0, 11.0): the pack does not say what product these represent or give fixed versions; the DSA-5098 and DSA-5099 advisory texts would settle it.
- Ubuntu package versions: USN-9344-1 is truncated and gives no package versions; the full notice and per-release package versions would settle it.
- Vendor release notes for 5.0.12, 5.0.46, 6.0.5, 6.0.16, 6.2.2 and 6.2.6: the pack gives the fixed versions through NVD but no vendor release notes; the release notes would confirm the restart and migration steps.
- Whether the expat 2.4.1 mitigation fully covers the XML path: no expat advisory is in the pack; the expat security notice would settle it.
- Content of the NVD-tagged Exploit reference for issue11219: the pack does not include it, so whether it is a proof of concept is unverified.
- Revision history for the 2026 modification of the NVD record: the pack gives only the status and dates, not what changed.
- Identifier and fix details for the separate XML-RPC entity-expansion item in USN-9344-1: no CVE identifier, affected versions or fixed version appear in the pack.
- Indicators of compromise and log fields: none are given in the pack; vendor or incident-response guidance would settle it.
- Regulatory or contractual consequences of disclosure: the pack contains no analysis; organisational legal or compliance review would settle it.
References
- CVE-2022-26661 record. NIST National Vulnerability Database (NVD), 2026-06-17. https://nvd.nist.gov/vuln/detail/CVE-2022-26661. Accessed 2026-12-01.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-12-01. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-12-01.
- Vendor advisory page (discuss.tryton.org). discuss.tryton.org. https://discuss.tryton.org/t/security-release-for-issue11219-and-issue11244/5059. Accessed 2026-12-01.
- USN-9344-1: proteus vulnerabilities. Ubuntu USN, 2026-12-01. https://ubuntu.com/security/notices/USN-9344-1. Accessed 2026-12-01.
Summary
It was discovered that proteus incorrectly handled XML external entities. An attacker could possibly use this issue to obtain sensitive information. (CVE-2022-26661) It was discovered that proteus did not protect against XML entity expansion attacks when parsing XML-RPC messages. An attacker could possibly use this issue to cause proteus to consume excessive resources, leading to a denial of serv…
Severity breakdown
Medium · 6.5
An attacker with a normal user account can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Login needed
- yes, a normal user account
- User action needed
- no
- Scope
- stays within the vulnerable component
- Impact
- high on confidentiality, none on integrity and availability
Weakness
- CWE-611: Improper Restriction of XML External Entity Reference
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| tryton proteus | ≥ 5.0.0, < 5.0.12 | 5.0.12 |
| ≥ 6.0.0, < 6.0.5 | 6.0.5 | |
| ≥ 6.2.0, < 6.2.2 | 6.2.2 | |
| tryton trytond | ≥ 5.0.0, < 5.0.46 | 5.0.46 |
| ≥ 6.0.0, < 6.0.16 | 6.0.16 | |
| ≥ 6.2.0, < 6.2.6 | 6.2.6 | |
| debian linux | 9.0, 10.0, 11.0 | — |
Public exploits
Exploit available
References by type
Vendor advisories
Other references
Frequently asked questions
What is CVE-2022-26661?
CVE-2022-26661 is an XML external entity (XXE) weakness, mapped to CWE-611, in Tryton's trytond and proteus products. NVD scores it 6.5 MEDIUM under CVSS 3.1 with vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N, scored by NVD as Primary. NVD lists affected trytond ranges below 5.0.46, 6.0.16 and 6.2.6 and affected proteus ranges below 5.0.12, 6.0.5 and 6.2.2, each with its fixed version. Weakness type: Improper Restriction of XML External Entity Reference (CWE-611).
How severe is CVE-2022-26661?
CVE-2022-26661 has a CVSS 3.1 base score of 6.5 (medium), from NVD. An attacker with a normal user account can exploit this over the network, without any user action.
Is CVE-2022-26661 being exploited?
Not as far as is known: CVE-2022-26661 is not in CISA's Known Exploited Vulnerabilities catalog as of December 1, 2026. Exploit code or a proof of concept has been published, which makes attacks more likely. EPSS estimates a 1.4% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2022-26661?
tryton proteus ≥ 5.0.0, < 5.0.12 (fixed in 5.0.12); tryton proteus ≥ 6.0.0, < 6.0.5 (fixed in 6.0.5); tryton proteus ≥ 6.2.0, < 6.2.2 (fixed in 6.2.2); tryton trytond ≥ 5.0.0, < 5.0.46 (fixed in 5.0.46); and more, listed on this page.
How do I fix CVE-2022-26661?
Inventory every host running trytond or proteus and record the installed version of each; compare with the fixed version for its branch: trytond 5.0.46, 6.0.16 or 6.2.6; proteus 5.0.12, 6.0.5 or 6.2.2. Until upgraded, enable defusedxml in the trytond XML parsing path so external entities are not resolved, and confirm the setting in the deployed configuration. Configure lxml default parsers to avoid entity resolution and verify the setting in configuration or code review.