Disclosure summary
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.
Source-reported weakness categories
CWE-98
Source-specific records & product guidance
Sources retain their own attribution and scoring. Follow the original record to confirm affected versions, fixed releases, and configuration conditions.
NIST NVD · nvd:CVE-2026-62858
Open original source · Updated Oct 16, 2026
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.
Source severity: MEDIUM / 5.3
GitHub reviewed advisories · GHSA-f8ff-652m-j5rx
Open original source · Updated Oct 15, 2026
YOURLS: Unauthenticated File Inclusion
GitHub reviewed package advisory. Version ranges and patches are independently attributed; executable descriptions and source code locations are excluded.
Source severity: MEDIUM
| Vendor | Product / association | Version / bounds |
|---|---|---|
| composer | yourls/yourls | Not supplied |
Indexed product associations
These cached associations support search and triage. Confirm applicability, platform conditions, and fixed versions in the original record.
| Vendor | Product | Version | Source / relationship |
|---|---|---|---|
| composer | yourls/yourls | Not supplied | GHSA-f8ff-652m-j5rx / vendor-listed |
Original records & references
- NIST NVD record
- CVE Program record
- security-advisories@github.com
- security-advisories@github.com
- security-advisories@github.com
- security-advisories@github.com
Repositories cited by this CVE
The saved CVE record references these repositories. A citation can identify affected software, a fix, or related research; it does not verify exploit code. These citations are separate from automated search matches and local association reviews.
- YOURLS/YOURLS CVE record citation
GitHub repository matches
Repository matches are links and GitHub-supplied metadata only. They are not verified working proof-of-concept code. Each supported query is bounded to ten pages and at most 1,000 indexed results. This is not a complete index of GitHub or public exploit research. Coverage can also be limited by provider availability, rate limits, rejected metadata, incomplete search results, manual review, and the recorded refresh time.
No stored repository matches
Repository discovery has not recorded an update for this CVE yet.
Discovery progress
0 of 3 discovery queries finished. GitHub returned 0 indexed results; 0 malformed or disallowed results were rejected.
No discovery update has been recorded for this CVE.
View all 0 stored repository matches
PUBLISHED 2026-10-14T16:17:47+00:00
MODIFIED 2026-10-16T20:04:29+00:00
INGESTED 2026-10-17T18:20:03+00:00