{"id":"CVE-2026-61749","title":"InvenTree is an Open Source Inventory Management System","summary":"InvenTree is an Open Source Inventory Management System. Prior to 1.4.0, privileged staff users who can author report or label templates can cause WeasyPrint report rendering to retrieve attacker-selected resources through the HTTP and H…","severity":"medium","cvss":6.5,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","cwe":["CWE-200","CWE-918"],"vendor":"inventree","product":"InvenTree","affected":["InvenTree < 1.4.0"],"published":"2026-09-21","updated":"2026-09-21","sourceUpdated":"2026-09-21T19:17:07.907","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-61749","references":[{"url":"https://github.com/inventree/InvenTree/commit/2b4f3037703bd499e420b6904153f2b66878d61b","label":"security-advisories@github.com"},{"url":"https://github.com/inventree/InvenTree/pull/12160","label":"security-advisories@github.com"},{"url":"https://github.com/inventree/InvenTree/releases/tag/1.4.0","label":"security-advisories@github.com"},{"url":"https://github.com/inventree/InvenTree/security/advisories/GHSA-568x-qh23-wh8g","label":"security-advisories@github.com"}],"tags":["nvd","cve.org"],"ingestedAt":"2026-09-21T18:50:57.566Z","slug":"CVE-2026-61749","body":"## Overview\n\nInvenTree is an Open Source Inventory Management System. Prior to 1.4.0, privileged staff users who can author report or label templates can cause WeasyPrint report rendering to retrieve attacker-selected resources through the HTTP and HTTPS URL schemes or the local file URI scheme. The HTML(string=html).write_pdf() path does not provide a restricted url_fetcher, and attach_to_model=True stores the original generated PDF before later processing, allowing fetched local files or internal HTTP response bodies to be recovered from embedded attachments. This enables full-read server-side request forgery, arbitrary local file disclosure including application credentials, and possible compromise of a superuser account. This issue is fixed in version 1.4.0.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":36,"depthScoreParts":{"impact":35.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}