{"id":"CVE-2026-48099","aliases":["CVE-2026-48099","GHSA-wxq4-cc2q-338q","PYSEC-2026-3428"],"related":[],"kind":"vulnerability","state":"published","title":"WsgiDAV encoded dot segments can escape filesystem share roots","summary":"WsgiDAV is a generic and extendable WebDAV server based on WSGI. WsgiDAV 4.3.3 and prior can allow a WebDAV request path containing an encoded parent-directory segment to escape the configured filesystem share root in a specific path layout. The issue is fixed with version 4.3.4.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"WsgiDAV is a generic and extendable WebDAV server based on WSGI. WsgiDAV 4.3.3 and prior can allow a WebDAV request path containing an encoded parent-directory segment to escape the configured filesystem share root in a specific path layout. The issue is fixed with version 4.3.4.","source":"cvelist"},{"lang":"en","text":"### Impact\nWsgiDAV 4.3.3 can allow a WebDAV request path containing an encoded parent-directory segment to escape the configured filesystem share root in a specific path layout.\n\n### Patches\nThe issue is fixed with version 4.3.4.\n\n### Preconditions\n\nThe practical impact depends on the deployment.\n\nThe deployment uses a filesystem-backed WsgiDAV share.\n\nThe attacker can send WebDAV requests accepted by that share. This may be an anonymous share or an authenticated WebDAV user. This is not an authentication bypass.\n\n### Details\n\nThe issue is in `FilesystemProvider._loc_to_file_path()`. The method builds a candidate path with `os.path.abspath(os.path.join(root_path, *path_parts))`, then checks containment with `file_path.startswith(root_path)`. This is not path-boundary aware. For example, if the configured share root is `/tmp/share`, a resolved sibling path such as `/tmp/share_evil/secret.txt` still starts with the string `/tmp/share`.\n\nIn a local proof, this allowed GET, PUT, and DELETE requests to operate on files outside the configured share root.\n\nThe WSGI/server layer forwards the encoded dot segment to WsgiDAV's PATH_INFO. The local proof used `/%2e%2e/...`, which wsgiref passed through as `/../...`.\n\nA sibling or neighboring path exists whose absolute path starts with the configured root path string, such as `/tmp/share` and `/tmp/share_evil`.\n\nThe WsgiDAV process has OS permissions for the outside path.","format":"markdown","source":"ghsa"}],"published":"2026-06-11T20:28:45.000Z","modified":"2026-09-09T21:02:22.660Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L","score":7.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L","score":7.1,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L","score":7.1,"rating":"HIGH"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":"< 4.3.4","status":"affected"}],"vendor":"mar10","product":"wsgidav","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.3.4"}],"ecosystem":"PyPI","package":"wsgidav","purl":"pkg:pypi/wsgidav","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.3.4"}],"ecosystem":"PyPI","package":"wsgidav","purl":"pkg:pypi/wsgidav","source":"pysec"}],"references":[{"url":"https://github.com/mar10/wsgidav/security/advisories/GHSA-wxq4-cc2q-338q","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/mar10/wsgidav/commit/f894ed8656d7bdd7438ab8148c5a02546cb15183","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/wsgidav/PYSEC-2026-3428.yaml","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/mar10/wsgidav","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/wsgidav","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-wxq4-cc2q-338q","tags":["advisory"],"sources":["pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-48099","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-08-14T16:35:07.996Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-48099","url":"https://www.cve.org/CVERecord?id=CVE-2026-48099","licence":"CVE Terms of Use","modified":"2026-08-14T16:35:31.367Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-wxq4-cc2q-338q","url":"https://github.com/advisories/GHSA-wxq4-cc2q-338q","licence":"CC-BY-4.0","modified":"2026-07-13T16:43:31.113Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-48099","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-48099","licence":"Public domain","modified":"2026-09-09T21:02:22.660Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-3428","url":"https://osv.dev/vulnerability/PYSEC-2026-3428","licence":"CC-BY-4.0","modified":"2026-07-13T16:33:27.849Z"}],"updatedAt":"2026-11-25T22:59:32.836Z","epss":{"score":0.00393,"percentile":0.35605,"date":"2026-12-01T12:00:22.000Z"}}