CVE-2026-62858
MEDIUM 5.3CVSS 3.1YOURLS: Unauthenticated File Inclusion
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.
- Published
- 14 Oct 2026
- Last modified
- 16 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-98
- Also known as
- GHSA-f8ff-652m-j5rx
- Sources
- NVDJSONOSV GHSA-f8ff-652m-j5rxJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | yourls/yourls | < 1.10.5 | 1.10.5 |
References
- https://github.com/YOURLS/YOURLS/commit/4e85972160a96e03a419a442d5bd8f21f2f02ddb · WEB
- https://github.com/YOURLS/YOURLS/pull/4142 · WEB
- https://github.com/YOURLS/YOURLS/releases/tag/1.10.5 · WEB
- https://github.com/YOURLS/YOURLS/security/advisories/GHSA-f8ff-652m-j5rx · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-62858 · ADVISORY
- https://github.com/YOURLS/YOURLS · PACKAGE
History
- 25 Nov 2026 21:22 UTC · NVD: first stored (published 14 Oct 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 15 Oct 2026)