CVE-2026-62858

Source
https://cve.org/CVERecord?id=CVE-2026-62858
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-62858.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-62858
Aliases
  • GHSA-f8ff-652m-j5rx
Published
2026-10-14T15:42:51Z
Modified
2026-10-15T02:47:37Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L CVSS Calculator
Summary
YOURLS: Unauthenticated File Inclusion
Details

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.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-98"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62858.json"
}
References

Affected packages

Git / github.com/yourls/yourls

Affected ranges

Type
GIT
Repo
https://github.com/yourls/yourls
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "introduced":  "0"
        },
        {
            "fixed":  "1.10.5"
        }
    ],
    "source":  "AFFECTED_FIELD"
}

Affected versions

1.*
1.0.1
1.1
1.10.0
1.10.1
1.10.2
1.10.3
1.10.4
1.2
1.4
1.4.1
1.4.2
1.4.3
1.5
1.5.1
1.6
1.7
1.7.1
1.7.2
1.7.3
1.7.4
1.7.5
1.7.6
1.7.9
1.8
1.8.1
1.8.2
1.9
1.9.1
1.9.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-62858.json"