# CVE-2026-62858: YOURLS: Unauthenticated File Inclusion

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.47%, higher than 42% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-14T15:42:51.362Z
- Modified: 2026-10-16T20:04:29.760Z
- Also known as: GHSA-f8ff-652m-j5rx
- Weaknesses: CWE-98
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- YOURLS YOURLS: < 1.10.5
- yourls/yourls (Packagist): before 1.10.5

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`

## References

- <https://github.com/YOURLS/YOURLS/security/advisories/GHSA-f8ff-652m-j5rx> (exploit, web)
- <https://github.com/YOURLS/YOURLS/pull/4142> (web)
- <https://github.com/YOURLS/YOURLS/commit/4e85972160a96e03a419a442d5bd8f21f2f02ddb> (web)
- <https://github.com/YOURLS/YOURLS/releases/tag/1.10.5> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-62858> (advisory)
- <https://github.com/YOURLS/YOURLS> (package)

## Sources

- CVE List: [CVE-2026-62858](https://www.cve.org/CVERecord?id=CVE-2026-62858), CVE Terms of Use, modified 2026-10-14
- GitHub Advisory Database: [GHSA-f8ff-652m-j5rx](https://github.com/advisories/GHSA-f8ff-652m-j5rx), CC-BY-4.0, modified 2026-10-15
- NVD: [CVE-2026-62858](https://nvd.nist.gov/vuln/detail/CVE-2026-62858), Public domain, modified 2026-10-16

---

Page: https://cve.day/CVE-2026-62858 · Whole record: https://cve.day/CVE-2026-62858.json · Rebuilt by cve.day 2026-11-25T22:59:44.697Z
