CVE-2026-62858 YOURLS: Unauthenticated File Inclusion
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- PHP
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| yourls/yourls(Packagist) | < 1.10.5; <= 1.10.4; = 1.7.1; = 1.7.2 +16 more | 1.10.5 | Fixed |
| yourls/yourls | = < 1.10.5 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| yourls/yourls(Packagist) | < 1.10.5 | 1.10.5 |
| yourls/yourls(Packagist) | = 1.10.0 | No fix listed |
| yourls/yourls(Packagist) | = 1.10.1 | No fix listed |
| yourls/yourls(Packagist) | = 1.10.2 | No fix listed |
| yourls/yourls(Packagist) | = 1.10.3 | No fix listed |
| yourls/yourls(Packagist) | = 1.10.4 | No fix listed |
| yourls/yourls(Packagist) | = 1.7.1 | No fix listed |
| yourls/yourls(Packagist) | = 1.7.2 | No fix listed |
| yourls/yourls(Packagist) | = 1.7.3 | No fix listed |
| yourls/yourls(Packagist) | = 1.7.4 | No fix listed |
| yourls/yourls(Packagist) | = 1.7.5 | No fix listed |
| yourls/yourls(Packagist) | = 1.7.6 | No fix listed |
| yourls/yourls(Packagist) | = 1.7.9 | No fix listed |
| yourls/yourls(Packagist) | = 1.8 | No fix listed |
| yourls/yourls(Packagist) | = 1.8.1 | No fix listed |
| yourls/yourls(Packagist) | = 1.8.2 | No fix listed |
| yourls/yourls(Packagist) | = 1.9 | No fix listed |
| yourls/yourls(Packagist) | = 1.9.1 | No fix listed |
| yourls/yourls(Packagist) | = 1.9.2 | No fix listed |
| yourls/yourls | = < 1.10.5 | No fix listed |
| yourls/yourls(Packagist) | <= 1.10.4 | No fix listed |
References
- https://github.com/YOURLS/YOURLS/security/advisories/GHSA-f8ff-652m-j5rx exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/YOURLS/YOURLS/pull/4142 patch
- https://github.com/YOURLS/YOURLS/commit/4e85972160a96e03a419a442d5bd8f21f2f02ddb patch
- github.com product
- https://github.com/YOURLS/YOURLS/releases/tag/1.10.5
- github.com
- ENISA EUVD EUVD-2026-101285 third-party-advisory