Summary
CVE-2026-138294 is a path traversal vulnerability (CWE-22) in the httpout filter of GPAC, the open-source multimedia framework. Unauthenticated remote attackers can read files outside the configured root directory. The CVSS v4.0 score is 8.7 (High).
Technical details
- Root cause: The httpout GET/HEAD read path did not normalize request paths or check for traversal. PUT/POST handling had
../guards, but the read path appended the percent-decoded request path directly to the configured directory (src/filters/out_http.c). - Trigger conditions: httpout serves content from a configured read directory (
rdirs) that requires no authentication. In that setup the authentication check passes without credentials. - Attack vector: Network. An attacker sends requests containing
../or percent-encoded%2e%2e%2fsequences, for exampleGET /../../../../etc/hostname. No authentication or user interaction is required. - Impact: Arbitrary file read with the permissions of the GPAC process. This can expose configuration files, TLS private keys, and GPAC credential material such as
~/.gpac/creds.key. The CVE record rates confidentiality impact High, with no integrity or availability impact.
Affected software
- GPAC versions before 26.07.0 (all releases up to 26.06.x).
Severity
- CVSS v4.0: 8.7 (High) –
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N - CVSS v3.1 (also listed in the CVE record): 7.5 (High) –
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Mitigation and recommended actions
- Immediate: Upgrade GPAC to version 26.07.0 or later. The fix (commit c73275d) validates resolved paths with
realpath()and rejects any path that escapes the configured root directory. - If you cannot patch right away, avoid exposing the GPAC httpout server to untrusted networks. Restrict access to it, and run the GPAC process with minimal file-system privileges.
- If you ran an affected version with httpout reachable by untrusted clients, consider rotating any TLS keys and credentials that were readable by the GPAC process.

