Bug 2569222

Summary: CVE-2026-114417 phodav: Path traversal in WebDAV MOVE/COPY via encoded slashes in Destination header [fedora-all]
Product: [Fedora] Fedora Reporter: Mauro Matteo Cascella <mcascell>
Component: phodavAssignee: Marc-Andre Lureau <marcandre.lureau>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: rawhideCC: cfergeau, marcandre.lureau
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["582670b5-5ff3-49f3-b58f-dd07cade97e7"]}
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-11-10 05:26:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2558280    

Description Mauro Matteo Cascella 2026-11-09 18:00:31 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

A path traversal vulnerability was found in phodav's WebDAV MOVE/COPY handlers (libphodav/phodav-method-movecopy.c). The Destination header is parsed with g_uri_parse() which preserves encoded slashes (%2F) through dot-segment removal. After full unescaping, g_file_get_child() resolves ".." components outside the shared root directory. A remote attacker can exploit this to create, copy, or move files to arbitrary filesystem locations writable by the server user, outside of the shared directory. Since the copied content can be attacker-controlled (via a prior PUT), this enables arbitrary file write as the server user. Many deployments (chezdav default, spice-gtk folder sharing) run without authentication, making this exploitable without credentials. The vulnerable pattern has been present since phodav v0.4 (April 2014) and affects all versions through 3.0.