{"id":"CVE-2026-61749","url":"https://www.cyber-defence.io/tools/cve/CVE-2026-61749","generatedAt":"2026-10-27T23:08:52.736Z","title":"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.","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.","published":"2026-09-21T19:17:08.000Z","lastModified":"2026-09-24T23:17:14.000Z","status":"Deferred","sourceIdentifier":"security-advisories@github.com","cvss":{"version":"3.1","score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N"},"cwe":["CWE-200","CWE-918"],"affected":[],"epss":{"score":0.0048,"percentile":0.4115,"date":"2026-10-26","history":[{"date":"2026-09-22","score":0.00342,"percentile":0.27878}]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"low","text":"Lower severity and a low EPSS score (0.48%). Track it; it rarely justifies an emergency change on its own."},"changes":[{"kind":"new","label":"New CVE","at":"2026-09-21T19:17:08.000Z","detail":{"score":"6.5","severity":"MEDIUM","publishedAt":"2026-09-21T19:17:07.907Z"},"summary":"New CVE, medium severity (CVSS 6.5)."}],"references":[{"url":"https://github.com/inventree/InvenTree/commit/2b4f3037703bd499e420b6904153f2b66878d61b","source":"security-advisories@github.com"},{"url":"https://github.com/inventree/InvenTree/pull/12160","source":"security-advisories@github.com"},{"url":"https://github.com/inventree/InvenTree/releases/tag/1.4.0","source":"security-advisories@github.com"},{"url":"https://github.com/inventree/InvenTree/security/advisories/GHSA-568x-qh23-wh8g","source":"security-advisories@github.com"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-61749","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}