{"id":"CVE-2026-62858","published":"2026-10-14T15:42:51Z","modified":"2026-10-14T17:47:22Z","title":"YOURLS: Unauthenticated File Inclusion","vendor":"YOURLS","product":"YOURLS","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00234,"percentile":0.08652,"provenance":"source"},"cwes":[{"id":"CWE-98","name":"Improper Control of Filename for Include/Require Statement in PHP Program"}],"references":[{"url":"https://github.com/YOURLS/YOURLS/security/advisories/GHSA-f8ff-652m-j5rx","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/YOURLS/YOURLS/pull/4142","tags":["x_refsource_MISC"]},{"url":"https://github.com/YOURLS/YOURLS/commit/4e85972160a96e03a419a442d5bd8f21f2f02ddb","tags":["x_refsource_MISC"]},{"url":"https://github.com/YOURLS/YOURLS/releases/tag/1.10.5","tags":["x_refsource_MISC"]}],"priority":{"score":5.4,"factors":[{"name":"EPSS percentile","points":1.73},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"yourls","affectedVersions":[{"vendor":"YOURLS","product":"YOURLS","versions":["< 1.10.5"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-14T17:46:13.681061Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"yourls/yourls","vulnerableRanges":["<1.10.5"],"patched":["1.10.5"],"from":["GHSA-f8ff-652m-j5rx"],"provenance":"source"}],"summary":{"text":"YOURLS, a PHP-based self-hosted URL shortener, has a flaw in how its request path handling passes attacker-controlled keywords to file inclusion under the pages directory, which does not sanitise directory traversal sequences. An attacker with local access to the server and low privileges, without user interaction, could traverse out of the intended pages directory and include a PHP file already present on the server, causing it to execute within the YOURLS web process.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:54:51Z"},"euvd":{"id":"EUVD-2026-101285","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2020-27388","published":"2020-10-23","fixed":"1.8","kev":false},{"cve":"CVE-2021-3785","published":"2021-09-15","fixed":"1.8.2","kev":false},{"cve":"CVE-2026-63135","published":"2026-08-21","fixed":"1.10.4","kev":false,"link":{"from":"CVE-2026-63135","to":"CVE-2026-62858","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:yourls/yourls","fromFixed":"1.10.4","toFixed":"1.10.5","daysApart":54}]}},{"cve":"CVE-2026-62858","published":"2026-10-14","fixed":"1.10.5","kev":false}],"package":"Packagist:yourls/yourls"}}