{"id":"JLSEC-2026-612","aliases":["JLSEC-2026-612","ANT-2026-VHDP7ANW"],"related":[],"kind":"vulnerability","state":"published","title":"Path traversal in the HTTP.jl static file server via separator/absolute path segments","summary":"### Description\n\nThe static file server decoded the request path, split it on `/`, and rejected only segments exactly equal to `.` or `..`. Because URL-decoding ran before the `/` split, an encoded backslash (`%5c`), a Windows drive specifier (`C:\\...`), or a UNC prefix (`\\\\host\\share`) survived inside a single segment and passed validation. On Windows, `joinpath` then honored `\\` as a separator and treated drive/UNC segments as absolute, discarding the configured document root.\n\n### Impact\n\nA remote client could read files outside the served document root and, on Windows, trigger outbound SMB/NTLM authentication via UNC paths, by crafting encoded separator, drive, or UNC segments.\n\n### Patches\n\nFixed in HTTP.jl v2.4.0. A new platform-independent segment validator rejects any decoded segment that is `.`/`..`, contains a path separator (`/` or `\\`), contains a colon (drive specifier / alternate data stream), or is absolute; unsafe segments are mapped to a 400 response. A defense-in-depth containment backstop additionally requires the normalized joined path to remain within the normalized root.\n\nReported to the JuliaLang security team through Anthropic's Coordinated Vulnerability Disclosure program.","summaryFormat":"markdown","summarySource":"jlsec","descriptions":[{"lang":"en","text":"### Description\n\nThe static file server decoded the request path, split it on `/`, and rejected only segments exactly equal to `.` or `..`. Because URL-decoding ran before the `/` split, an encoded backslash (`%5c`), a Windows drive specifier (`C:\\...`), or a UNC prefix (`\\\\host\\share`) survived inside a single segment and passed validation. On Windows, `joinpath` then honored `\\` as a separator and treated drive/UNC segments as absolute, discarding the configured document root.\n\n### Impact\n\nA remote client could read files outside the served document root and, on Windows, trigger outbound SMB/NTLM authentication via UNC paths, by crafting encoded separator, drive, or UNC segments.\n\n### Patches\n\nFixed in HTTP.jl v2.4.0. A new platform-independent segment validator rejects any decoded segment that is `.`/`..`, contains a path separator (`/` or `\\`), contains a colon (drive specifier / alternate data stream), or is absolute; unsafe segments are mapped to a 400 response. A defense-in-depth containment backstop additionally requires the normalized joined path to remain within the normalized root.\n\nReported to the JuliaLang security team through Anthropic's Coordinated Vulnerability Disclosure program.","format":"markdown","source":"jlsec"}],"published":"2026-06-23T12:59:32.708Z","modified":"2026-07-21T14:00:03.469Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.4.0"}],"ecosystem":"Julia","package":"HTTP","purl":"pkg:julia/HTTP?uuid=cd3eb016-35fb-5094-929b-558a96fad6f3","source":"jlsec"}],"references":[{"url":"https://github.com/JuliaWeb/HTTP.jl/commit/86bf638796e08661a8b269d2db8ae40ff8cdaf05","tags":["web"],"sources":["jlsec"]},{"url":"https://github.com/JuliaWeb/HTTP.jl/pull/1316","tags":["web"],"sources":["jlsec"]}],"credits":["Julia Security Team in collaboration with Claude and Anthropic Research"],"sources":[{"source":"jlsec","name":"Julia Security Advisories","id":"JLSEC-2026-612","url":"https://osv.dev/vulnerability/JLSEC-2026-612","licence":"CC-BY-4.0","modified":"2026-07-21T14:00:03.469Z"}],"updatedAt":"2026-11-25T22:56:26.175Z"}