Skip to content
Heist/ feed
Medium

YOURLS: Unauthenticated File Inclusion

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2026-62858

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-62858

YOURLS

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "YOURLS",
    "product": "YOURLS",
    "versions": [
      {
        "status": "affected",
        "version": "< 1.10.5"
      }
    ]
  }
]
Related CVEs
CVE-2026-62858

Source reference: /cveMetadata/cveId

Publisher severity

medium

Source reference: /containers/cna/metrics

Event
#22880 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement