{"id":"CVE-2026-129878","kind":"vulnerability","aliases":["CVE-2026-129878"],"related":[],"title":"DeepAudit: HTML injection in PDF reports leaks server files","description":"DeepAudit 2.0.0-beta.1 through 3.8.0 contains an HTML injection vulnerability in ReportGenerator.generate_task_report that allows registered users to read server files and perform SSRF. Attackers can create a project whose name contains a link attachment element and download the task PDF report to retrieve local files or internal network responses.","summary":"A registered DeepAudit user can name a project with an HTML link-attachment tag. The name goes unescaped into the PDF report subtitle, and WeasyPrint attaches the file:// or http:// target to the generated PDF. The attacker downloads it to read server files or reach internal addresses (SSRF). The discoverer's report includes a reproduction.","severity":"high","cvss":7.7,"epss":null,"exploited":false,"exploited_at":null,"products":[{"name":"DeepAudit","fixed":[],"affected":">= 2.0.0-beta.1, <= 3.8.0 (VulnCheck); 3.0.2 to 3.0.4 (discoverer)","ecosystem":"vendor"}],"ecosystems":["vendor"],"tags":["ai-tooling","deepaudit","file-read","pdf-reports","self-hosted","ssrf"],"not_affected_if":["no-pdf-report-export","registration-closed","trusted-users-only","unregistered-users-only","version-outside-range"],"how_to_check":"- Find your DeepAudit version (release tag or image tag ghcr.io/lintsinghua/deepaudit-backend:<tag>). VulnCheck lists 2.0.0-beta.1 to 3.8.0 as affected; the discoverer lists 3.0.2 to 3.0.4.\n- In backend/app/services/report_generator.py, check whether generate_task_report puts the project name into 'subtitle' without html.escape and whether Template(cls._TEMPLATE) has no autoescape. If so, you are exposed.\n- Check whether untrusted users can self-register (/api/v1/auth/register) and create projects.\n- Look for project names containing '<link' in the projects table.","fix":"No fixed version found as of 2026-11-16. Neither the maintainer's releases nor its advisories mention it. Until a patch ships, disable open registration, and don't let untrusted users export reports. The code fix is to html.escape the project and branch name in the subtitle, or enable autoescape in the Jinja Template. Not confirmed by the maintainer.","status":"open","published_at":"2026-11-16T15:17:26+00:00","first_seen_at":"2026-11-16T15:37:54+00:00","triaged_at":"2026-11-16T15:40:17+00:00","updated_at":"2026-11-16T15:41:40+00:00","category":"ai-tooling","confidence":0.7,"triage":{"at":"2026-11-16T15:40:17Z","model":"claude-haiku-5-5","output":{"fix":"unknown","reach":"internet","title":"DeepAudit: HTML injection in PDF reports leaks server files","impact":"high","summary":"DeepAudit versions 2.0.0-beta.1 through 3.8.0 let a registered user put a link attachment element into a project name, which then gets rendered into the task PDF report. Downloading that report lets the attacker read server files and reach internal network responses (SSRF).","audience":"businesses","category":"ai-tooling","nicknames":[],"who_cares":["deepaudit","self-hosted","pdf-reports"],"confidence":0.6,"fix_status":"unknown","needs_auth":"yes","worst_case":"Attacker reads server files and reaches internal network services","analyst_note":"Confirm the fixed version and whether a patch exists; the only source is NVD and a VulnCheck advisory link, neither of which was read for fix details.","how_to_check":"- Check the DeepAudit version in use against the affected range `2.0.0-beta.1` through `3.8.0`\n- Look at whether ordinary registered users can create projects on the instance","plain_action":"","product_name":"DeepAudit","needs_analyst":true,"not_affected_if":["unregistered-users-only","version-outside-range"],"who_is_affected":"Any DeepAudit deployment in the affected range where registered users can create projects and download task PDF reports. The sources do not name a fixed version, and they do not say whether hosted or default configurations differ.","user_interaction":"no","product_ecosystem":"vendor","needs_special_setup":"unknown","severity_if_unknown":"high"},"cost_usd":0.000735,"input_tokens":4590,"output_tokens":551,"severity_before":"high"},"analyst_status":"done","analyst_note":"Confirm the fixed version and whether a patch exists; the only source is NVD and a VulnCheck advisory link, neither of which was read for fix details.","search":"'-129878':12A,15A '-2026':11A,14A '2.0.0':86C '3.8.0':89C 'address':76B 'ai':18B 'ai-tool':17B 'allow':100C 'attach':44B,57B,120C 'attack':66B,110C 'beta.1':87C 'contain':90C,117C 'creat':112C 'cve':10A,13A 'deepaudit':1A,16A,20B,33B,85C 'discover':79B 'download':67B,123C 'element':121C 'file':9A,22B,72B,106C,131C 'file-read':21B 'generat':63B 'goe':48B 'host':29B 'html':2A,41B,92C 'includ':82B 'inject':3A,93C 'intern':75B,133C 'leak':7A 'link':43B,119C 'link-attach':42B 'local':130C 'name':36B,47B,116C 'network':134C 'pdf':5A,25B,52B,64B,126C 'pdf-report':24B 'perform':108C 'project':38B,114C 'reach':74B 'read':23B,70B,104C 'regist':32B,101C 'report':6A,26B,53B,81B,98C,127C 'reportgenerator.generate':96C 'reproduct':84B 'respons':135C 'retriev':129C 'self':28B 'self-host':27B 'server':8A,71B,105C 'ssrf':30B,77B,109C 'subtitl':54B 'tag':45B 'target':60B 'task':97C,125C 'tool':19B 'unescap':49B 'user':34B,102C 'vulner':94C 'weasyprint':56B 'whose':115C","nicknames":[],"mitigations":[],"who_affected":"Self-hosted DeepAudit instances where untrusted people can register an account, create projects and download task PDF reports. The discoverer tested the official docker compose deployment. Instances with only trusted users, or without the PDF report export (added in v3.0.2), are at much lower risk. Sources disagree on versions: VulnCheck says 2.0.0-beta.1 through 3.8.0, the discoverer says 3.0.2 through 3.0.4.","tier":"B","verified":{},"analyst_revisit_at":null,"fix_status":"none","audience":"businesses","plain_action":null,"pkeys":["deepaudit"],"ptokens":["deepaudit"],"labels":["aitooling","deepaudit","fileread","high","pdfreports","selfhosted","ssrf","vendor"],"campaign_type":null,"search_a":"'-129878':12A,15A '-2026':11A,14A 'cve':10A,13A 'deepaudit':1A,16A 'file':9A 'html':2A 'inject':3A 'leak':7A 'pdf':5A 'report':6A 'server':8A","search_b":"'address':76B 'ai':18B 'ai-tool':17B 'attach':44B,57B 'attack':66B 'deepaudit':20B,33B 'discover':79B 'download':67B 'file':22B,72B 'file-read':21B 'generat':63B 'goe':48B 'host':29B 'html':41B 'includ':82B 'intern':75B 'link':43B 'link-attach':42B 'name':36B,47B 'pdf':25B,52B,64B 'pdf-report':24B 'project':38B 'reach':74B 'read':23B,70B 'regist':32B 'report':26B,53B,81B 'reproduct':84B 'self':28B 'self-host':27B 'server':71B 'ssrf':30B,77B 'subtitl':54B 'tag':45B 'target':60B 'tool':19B 'unescap':49B 'user':34B 'weasyprint':56B","search_c":"'2.0.0':86C '3.8.0':89C 'allow':100C 'attach':120C 'attack':110C 'beta.1':87C 'contain':90C,117C 'creat':112C 'deepaudit':85C 'download':123C 'element':121C 'file':106C,131C 'html':92C 'inject':93C 'intern':133C 'link':119C 'local':130C 'name':116C 'network':134C 'pdf':126C 'perform':108C 'project':114C 'read':104C 'regist':101C 'report':98C,127C 'reportgenerator.generate':96C 'respons':135C 'retriev':129C 'server':105C 'ssrf':109C 'task':97C,125C 'user':102C 'vulner':94C 'whose':115C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-11-16T15:17:26+00:00","kev":null,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"disclosure@vulncheck.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-129878","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129878","severity":null,"published_at":"2026-11-16T15:17:26+00:00","modified_at":"2026-11-16T15:17:26+00:00","first_seen_at":"2026-11-16T15:37:54+00:00","fetched_at":"2026-11-16T15:37:54+00:00","note":null},{"source":"analyst","external_id":"CVE-2026-129878:4128","url":"https://vul.yulun.ac.cn/20261106/deepaudit/","severity":null,"published_at":"2026-11-16T15:41:40+00:00","modified_at":"2026-11-16T15:41:40+00:00","first_seen_at":"2026-11-16T15:41:40+00:00","fetched_at":"2026-11-16T15:41:40+00:00","note":"Read VulnCheck advisory and the discoverer's report (vul.yulun.ac.cn). No fixed version or patch found in maintainer pages: releases list ends at v3.0.4 and the GitHub advisories page lists no entry for this issue. Affected range conflicts: VulnCheck says 2.0.0-beta.1 to 3.8.0, discoverer says 3.0.2 to 3.0.4 (report export added in v3.0.2; commit 89ebd4d escaped issue fields but not subtitle). No PoC repo, but the report contains a reproduction. Nothing verified.","cites":["https://vul.yulun.ac.cn/20261106/deepaudit/","https://github.com/lintsinghua/DeepAudit/commit/89ebd4d797cfc2b2c02bf3f5a5feb6c8c0ba5e23"]}],"documents":[{"id":170599,"url":"https://www.vulncheck.com/advisories/deepaudit-2.0.0-beta.1-through-3.8.0-file-read-and-ssrf-via-pdf-report-subtitle","title":"Third-party advisory: www.vulncheck.com","kind":"advisory","source":"nvd","publisher":"research","text":null,"published_at":null,"relation":"advisory","confidence":null,"note":"Third-party advisory: www.vulncheck.com"},{"id":170692,"url":"https://vul.yulun.ac.cn/20261106/deepaudit/","title":"DeepAudit Vulnerability Report (Wu Yulun)","kind":"blog","source":"analyst","publisher":null,"text":null,"published_at":null,"relation":"advisory","confidence":null,"note":null},{"id":170695,"url":"https://github.com/lintsinghua/DeepAudit/commit/89ebd4d797cfc2b2c02bf3f5a5feb6c8c0ba5e23","title":"DeepAudit commit 89ebd4d: escape HTML in report issues (did not cover subtitle)","kind":"other","source":"analyst","publisher":null,"text":null,"published_at":null,"relation":"mentions","confidence":null,"note":null}],"disclosures":[],"exploit_sources":[],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}