CVE-2026-62858YOURLS
Medium 5.3
Follow: this CVE · YOURLS · YOURLS We alert you by email or Slack (account required).
- Priority
- 32
- CVSS 3.1
- 5.3
- EPSS
- —
- Auth required
- Yes
- Published
- Oct 14, 2026
- Updated
- Oct 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-98
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
What happens
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.
What to do
- Apply the vendor's security update for YOURLS.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | yourls/yourls |
< 1.10.5 |
1.10.5 |
composer require "yourls/yourls:^1.10.5" |
Per OSV / GitHub Advisories (GHSA-f8ff-652m-j5rx). Check the version in your lockfile before upgrading.
Affected products
- YOURLS · YOURLS
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.