{"id":"CVE-2026-61749","summary":"InvenTree: Administrative staff users can trigger Arbitrary File Read leading to Credential Disclosure","details":"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 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.","aliases":["GHSA-568x-qh23-wh8g"],"modified":"2026-09-22T03:31:10.502808517Z","published":"2026-09-21T18:31:54.532Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-200","CWE-918"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/61xxx/CVE-2026-61749.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/61xxx/CVE-2026-61749.json"},{"type":"FIX","url":"https://github.com/inventree/InvenTree/commit/2b4f3037703bd499e420b6904153f2b66878d61b"},{"type":"FIX","url":"https://github.com/inventree/InvenTree/pull/12160"},{"type":"WEB","url":"https://github.com/inventree/InvenTree/releases/tag/1.4.0"},{"type":"ADVISORY","url":"https://github.com/inventree/InvenTree/security/advisories/GHSA-568x-qh23-wh8g"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-61749"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/inventree/inventree","events":[{"introduced":"0"},{"fixed":"0a9a8b1c54d0811ede0a61ffe3b0427f82ee28e5"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"1.4.0"}],"source":"AFFECTED_FIELD"}}],"versions":["0.13.0","0.12.0","0.11.0","0.10.0","0.9.0","0.8.0","v0.7.0","0.4.0","0.3.0","0.2.4","0.2.3","0.2.2","0.2.1","0.2.0","0.1.8","0.1.7","0.1.6","0.1.5","0.1.4","v0.1.3","0.1.2","0.1.1","0.1.0","0.0.11","0.0.12","v0.0.11","0.0.10","0.0.9","0.0.8","v0.0.7","0.0.6","v0.0.5","0.0.3"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-61749.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N"}]}