Skip to main content
← All vulnerabilities
CVE-2026-62858GHSA-F8FF-652M-J5RX

YOURLS: Unauthenticated File Inclusion

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.10.5
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • YOURLS YOURLS

    fixed in 1.10.5

  • yourls/yourlsPackagist

    fixed in 1.10.5

References 4

GitHub · YOURLS/YOURLS