CVE-2026-62858 Details
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.
A path traversal vulnerability allowing unauthenticated file inclusion has been identified in YOURLS versions prior to 1.10.5. The issue arises because the function yourls_get_request() extracts the request path without proper sanitization. This unsanitized path is then processed by URL sanitization functions that inadvertently preserve traversal sequences. As a result, an attacker can manipulate the request to include arbitrary PHP files from the server, such as uploaded or injected files, and execute them within the YOURLS web process.
Users can update to YOURLS version 1.10.5 or later, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 14, 2026CISA-ADP
Assessed Oct 14, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/YOURLS/YOURLS/security/advisories/GHSA-f8ff-652m-j5rx | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/YOURLS/YOURLS/commit/4e85972160a96e03a419a442d5bd8f21f2f02ddb | [email protected] | Source CodeVendor |
| https://github.com/YOURLS/YOURLS/pull/4142 | [email protected] | Source CodeVendor |
| https://github.com/YOURLS/YOURLS/releases/tag/1.10.5 | [email protected] | Release NotesVendor |
| https://github.com/YOURLS/YOURLS/security/advisories/GHSA-f8ff-652m-j5rx | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-98 | Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| YOURLS | <= 1.10.4 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 14, 2026 | CVE Modified | CISA-ADP |
| Oct 14, 2026 | New CVE Received | [email protected] |
Volerion