{"id":"CVE-2026-61749","state":"PUBLISHED","title":"InvenTree: Administrative staff users can trigger Arbitrary File Read leading to Credential Disclosure","description":"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.","publishedAt":"2026-09-21T18:31:54.532Z","updatedAt":"2026-09-24T22:29:20.432Z","severity":{"score":6.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["inventree InvenTree"],"affected":[{"vendor":"inventree","product":"InvenTree","versions":[{"version":"< 1.4.0","status":"affected"}]}],"references":["https://github.com/inventree/InvenTree/security/advisories/GHSA-568x-qh23-wh8g","https://github.com/inventree/InvenTree/pull/12160","https://github.com/inventree/InvenTree/commit/2b4f3037703bd499e420b6904153f2b66878d61b","https://github.com/inventree/InvenTree/releases/tag/1.4.0"],"weaknesses":["CWE-200","CWE-918"],"ingestedAt":"2026-10-29T20:12:32.778Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/61xxx/CVE-2026-61749.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-61749","state":"PUBLISHED","datePublished":"2026-09-21T18:31:54.532Z","dateUpdated":"2026-09-24T22:29:20.432Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-07-10T18:59:00.048Z"},"containers":{"cna":{"title":"InvenTree: Administrative staff users can trigger Arbitrary File Read leading to Credential Disclosure","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"inventree","product":"InvenTree","versions":[{"version":"< 1.4.0","status":"affected"}]}],"references":[{"url":"https://github.com/inventree/InvenTree/security/advisories/GHSA-568x-qh23-wh8g","name":"https://github.com/inventree/InvenTree/security/advisories/GHSA-568x-qh23-wh8g","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/inventree/InvenTree/pull/12160","name":"https://github.com/inventree/InvenTree/pull/12160","tags":["x_refsource_MISC"]},{"url":"https://github.com/inventree/InvenTree/commit/2b4f3037703bd499e420b6904153f2b66878d61b","name":"https://github.com/inventree/InvenTree/commit/2b4f3037703bd499e420b6904153f2b66878d61b","tags":["x_refsource_MISC"]},{"url":"https://github.com/inventree/InvenTree/releases/tag/1.4.0","name":"https://github.com/inventree/InvenTree/releases/tag/1.4.0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-200","lang":"en","description":"CWE-200: Exposure of Sensitive Information to an Unauthorized Actor","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-918","lang":"en","description":"CWE-918: Server-Side Request Forgery (SSRF)","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-09-21T18:31:54.532Z"},"source":{"advisory":"GHSA-568x-qh23-wh8g","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-24T22:29:08.431867Z","id":"CVE-2026-61749","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-24T22:29:20.432Z"}}]}}}