Vulnerability · CVE-2026-62858
YOURLS is a self-hosted, customizable URL shortener written in PHP.
Published Oct 14, 2026 · catalog updated Oct 15, 2026 · YOURLS is a self-hosted,
Check if you run it
No confirmed exploitation is on record for CVE-2026-62858. EPSS is 0.47%. Act only if a listed version of YOURLS is a self-hosted, is installed.
Gaps on this record
- The stored product name is a package slug. The name on this page is taken from the title (YOURLS is a self-hosted,).
- No vendor fix or required action is stored. Compare the linked advisory before you change production.
- Severity
- Medium5.3
- Known exploitation
- Not in CISA/VulnCheck KEV
- EPSS
- 0.47%
- Remediation
- Advisory link
- Affected products
- Packagist yourls/yourls · composer yourls
## Summary YOURLS versions ≤1.10.4 contain an unauthenticated path traversal vulnerability that allows attackers to include and execute arbitrary PHP files on the server without any credentials. ## Details The vulnerability exists because YOURLS uses **URL sanitization functions** ( , ) to filter request paths, but these functions are designed to clean URLs, not filesystem paths. They preserve and characters, allowing sequences to pass through unfiltered. The unsanitized keyword is then directly concatenated into a filesystem path and passed to and later operations, enabling path traversal attacks. **Data Flow:** ## Proof of Concept (POC) In the concept validation, we assume that the attacker has uploaded a file to the web root directory, but it cannot be accessed directly. (Of course, it could also be any path, such as ) ### Setup Place a test file in web root: : ### Attack Request ### Response (Apache Environment) ## Impact 1. Remote execution of uploaded PHP files – An attacker uploads a malicious PHP file to an arbitrary location on the server (e.g., via another vulnerability or file upload feature), obtains its absolute path but cannot access it directly. The attacker then leverages this vulnerability to include and execute the PHP file, gaining code execution privileges. 2. Indirect triggering of PHP code injection – If a PHP code injection point exists on the system (e.g., log injection, session injection) but the injected file cannot be accessed directly due to configuration restrictions, the attacker can use this vulnerability to include and execute the injected code, achieving remote command execution or further compromise.
Are you affected?
Enter the version you run. The result uses only the ranges stored on this record.
The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.
- Packagist yourls/yourls0 → 1.10.5
- composer yourlsversion unspecified
How to fix CVE-2026-62858
Recommended remediation
A patch or advisory reference is linked. Open the original publisher for availability by product version.
Official advisories
What to do
Three questions, each answered from this record only. Confirm the vendor advisory before you patch.
Should you patch?
No confirmed exploitation is on record for CVE-2026-62858. EPSS is 0.47%. Act only if a listed version of YOURLS is a self-hosted, is installed.
Which versions are affected?
Compare what you have installed with 0 → 1.10.5. Compare the installed version with the linked vendor advisory before you change production.
What should an analyst verify?
CWE-98: PHP Remote File Inclusion. EPSS 0.47%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.
Code
The project this record applies to. Exploit listings stay in References.
Timeline
Detection, updates, and resolution for this record.
Oct 14, 2026 · NIST NVD
Detected
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
Oct 14, 2026 · NIST NVD
Updated
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
Oct 15, 2026 · GitHub Advisory Database
Fix available
yourls/yourls fixed in 1.10.5
Oct 15, 2026 · GitHub Advisory Database
Fix available
yourls/yourls fixed in 1.10.5
Oct 15, 2026 · GitHub Advisory Database
Updated
## Summary YOURLS versions ≤1.10.4 contain an unauthenticated path traversal vulnerability that allows attackers to include and execute arbitrary PHP files on the server without any credentials. ## Details The vulnerability exists because YOURLS uses **URL sanitization functions** ( , ) to filter request paths, but these functions are designed to clean URLs, not filesystem paths. They preserve and
Sources
- CVE.orgVulnerability recordCVE-2026-62858
Official CVE identifier
cve.org - FIRST EPSSExploitation probabilityCVE-2026-62858
30-day exploitation probability 0.5%
first.org - GitHub Advisory DatabasePackage advisoryGHSA-f8ff-652m-j5rx
GitHub Advisory Database record mirrored by OSV.
github.com - GitLab Advisory DatabasePackage advisoryCVE-2026-62858
YOURLS versions ≤1.10.4 contain an unauthenticated path traversal vulnerability that allows attackers to include and execute arbitrary PHP files on the server without any credentials.
advisories.gitlab.com - NIST NVDVulnerability recordCVE-2026-62858
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-control
nvd.nist.gov - OpenSSF OSV / OSV ScannerPackage advisoryGHSA-f8ff-652m-j5rx
YOURLS: Unauthenticated File Inclusion
osv.dev
References
Freshness
Last verified in this catalog Oct 18, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.