{"id":"CVE-2024-30265","aliases":["CVE-2024-30265","GHSA-2q59-h24c-w6fg","PYSEC-2026-2027"],"related":[],"kind":"vulnerability","state":"published","title":"Voilà Local file inclusion","summary":"Collabora Online is a collaborative online office suite based on LibreOffice technology. Any deployment of voilà dashboard allow local file inclusion. Any file on a filesystem that is readable by the user that runs the voilà dashboard server can be downloaded by someone with network access to the server. Whether this still requires authentication depends on how voilà is deployed. This issue has been patched in 0.2.17, 0.3.8, 0.4.4 and 0.5.6.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Collabora Online is a collaborative online office suite based on LibreOffice technology. Any deployment of voilà dashboard allow local file inclusion. Any file on a filesystem that is readable by the user that runs the voilà dashboard server can be downloaded by someone with network access to the server. Whether this still requires authentication depends on how voilà is deployed. This issue has been patched in 0.2.17, 0.3.8, 0.4.4 and 0.5.6.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nAny deployment of voilà dashboard allow local file inclusion, that is to say any file on a filesystem that is readable by the user that runs the voilà dashboard server can be downloaded by someone with network access to the server. \n\nWhether this still requires authentication depends on how voilà is deployed.\n\n### Patches\n\nThis is patched in 0.2.17+, 0.3.8+, 0.4.4+, 0.5.6+\n\n### Workarounds\n\nNone.\n\n\n### References\n\nCWE-73: External Control of File Name or Path\n\n\n### Original report\n\nI have found a local file inclusion vulnerability in one of your subprojects, voila (https://github.com/voila-dashboards/voila).\n\nThe vulnerability exists in the \"/static\" Route, and can be exploited by simply making a request such as this:\n\n```\n$ curl localhost:8866/static/etc/passwd\n```\n\n...or by using a webbrowser to download the file.\n\nI dug into the source code, and I think the offending line is here: https://github.com/voila-dashboards/voila/blob/8419cc7d79c0bb1dabfbd9ec49cb957740609d4d/voila/app.py#L664\n`\"static_path\"` gets set to `\"/\"`, irrespective of the actual `\"--static\"` cli option. Because of that, the `tornado.web.StaticFileHandler` gets initialized with `path=\"/\"`. Then, `tornado.web.StaticFileHandler.get` calls `tornado.web.StaticFileHandler.get_absolute_path` with `root=\"/\"` and `path=\"[USER SUPPLIED PATH]\"`, which leads to local file inclusion. An attacker can request any file on the system they want (that the user running voila has access to).\n\nI suspect this was an oversight during development. Setting `static_path=self.static_root` (the aforementioned correct cli option) in line 664 provides the intended behavior and restricts the file access to the static directory.\nFrom what I can tell, this line has been in the repository since September 2018. This is the commit that added it: https://github.com/voila-dashboards/voila/commit/28faacc9b03b160fd8fa920ad045f4ec0667ab67\n\nI have found multiple voila instances online that are impacted, such as:\n- ... [redacted]\n- ... [redacted]\n- ... [redacted]\n\n...but many more probably exist. They're easy to identify by `[redacted]` Therefore the Issue should be fixed as soon as possible, and a security advisory should be released to inform the impacted users.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Collabora Online es una suite ofimática colaborativa en línea basada en la tecnología LibreOffice. Cualquier implementación del panel voilà permite la inclusión de archivos locales. Cualquier archivo en un sistema de archivos que sea legible por el usuario que ejecuta el servidor del panel voilà puede ser descargado por alguien con acceso de red al servidor. Si esto todavía requiere autenticación depende de cómo se implemente voilà. Este problema se solucionó en 0.2.17, 0.3.8, 0.4.4 y 0.5.6.","source":"nvd"}],"published":"2024-04-03T14:13:02.000Z","modified":"2026-09-10T03:50:11.155Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-73"],"affected":[{"ranges":[{"version":">= 0.0.2, < 0.2.17","status":"affected"},{"version":">= 0.3.0a0, < 0.3.8","status":"affected"},{"version":">= 0.4.0a0, < 0.4.4","status":"affected"},{"version":">= 0.5.0a0, < 0.5.6","status":"affected"}],"vendor":"voila-dashboards","product":"voila","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0.0.2","status":"affected","fixed":"0.2.17"}],"ecosystem":"PyPI","package":"voila","purl":"pkg:pypi/voila","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0.3.0a0","status":"affected","fixed":"0.3.8"}],"ecosystem":"PyPI","package":"voila","purl":"pkg:pypi/voila","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0.4.0a0","status":"affected","fixed":"0.4.4"}],"ecosystem":"PyPI","package":"voila","purl":"pkg:pypi/voila","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0.5.0a0","status":"affected","fixed":"0.5.6"}],"ecosystem":"PyPI","package":"voila","purl":"pkg:pypi/voila","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0.0.2","status":"affected","fixed":"0.2.17"},{"type":"ecosystem","introduced":"0.3.0a0","status":"affected","fixed":"0.3.8"},{"type":"ecosystem","introduced":"0.4.0a0","status":"affected","fixed":"0.4.4"},{"type":"ecosystem","introduced":"0.5.0a0","status":"affected","fixed":"0.5.6"}],"ecosystem":"PyPI","package":"voila","purl":"pkg:pypi/voila","source":"pysec"}],"references":[{"url":"https://github.com/voila-dashboards/voila/security/advisories/GHSA-2q59-h24c-w6fg","tags":["web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/voila-dashboards/voila/commit/00d6362c237b6b4d466873535554d6076ead0c52","tags":["web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/voila-dashboards/voila/commit/28faacc9b03b160fd8fa920ad045f4ec0667ab67","tags":["web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/voila-dashboards/voila/commit/5542e4ae36bb5d184deaa48f95e76be477756af2","tags":["web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/voila-dashboards/voila/commit/98b6a40fec27723572314fdbba99bdc147d904c8","tags":["web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/voila-dashboards/voila/commit/c045be6988539d07cceeb9f82fc660a49485d504","tags":["web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-30265","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/voila-dashboards/voila","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/voila","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-2q59-h24c-w6fg","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-04-04T16:07:37.511Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-30265","url":"https://www.cve.org/CVERecord?id=CVE-2024-30265","licence":"CVE Terms of Use","modified":"2024-08-02T01:32:06.621Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-2q59-h24c-w6fg","url":"https://github.com/advisories/GHSA-2q59-h24c-w6fg","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:11.155Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-30265","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-30265","licence":"Public domain","modified":"2026-06-17T07:26:38.180Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-2027","url":"https://osv.dev/vulnerability/PYSEC-2026-2027","licence":"CC-BY-4.0","modified":"2026-07-07T17:48:17.625Z"}],"updatedAt":"2026-11-25T22:58:38.717Z","epss":{"score":0.01041,"percentile":0.63356,"date":"2026-11-30T12:00:22.000Z"}}