Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-62858 EUVD-2026-101285GHSA-f8ff-652m-j5rx

YOURLS: Unauthenticated File Inclusion

Published Oct 14, 2026 · Updated Oct 14, 2026 · Assigned by GitHub_M

Description

YOURLS is a self-hosted, customizable URL shortener written in PHP. Prior to 1.10.5, yourls_get_request() extracted the request path without sanitization, after which yourls_sanitize_url() and yourls_esc_url() preserved dot and slash traversal sequences before an attacker-controlled keyword reached file_exists() and include() under YOURLS_PAGEDIR. An unauthenticated remote attacker could traverse outside the intended pages directory and include a local PHP file that was already present on the server, such as an uploaded or injected file, causing the file to execute in the YOURLS web process. This issue is fixed in version 1.10.5.

Affected products

VendorProductAffectedFixed
YOURLS YOURLS < 1.10.5 —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist yourls/yourls < 1.10.5 1.10.5 GHSA-f8ff-652m-j5rx

References