Skip to main content

YOURLS: Unauthenticated File Inclusion (CVE-2026-62858)

0
Medium
Published: 10/15/2026 (10/15/2026, 20:13:02 UTC)
Source: GCVE Database
Product: yourls/yourls

Description

YOURLS versions prior to 1.10.5 contain an unauthenticated path traversal vulnerability that allows attackers to include and execute arbitrary PHP files on the server. This occurs because URL sanitization functions do not properly filter filesystem path traversal sequences, enabling attackers to bypass restrictions and execute code without credentials. The vulnerability can be exploited by requesting crafted URLs containing '../' sequences, leading to remote code execution if a malicious PHP file is present on the server.

CVSS v3.1

Score 5.3medium

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Affected software

Packagistghsa
yourls/yourls
Affected versions
<1.10.5

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/15/2026, 22:09:48 UTC

Technical Analysis

YOURLS versions <=1.10.4 have a path traversal vulnerability due to improper sanitization of request paths. The functions yourls_sanitize_url() and yourls_esc_url() are designed for URL cleaning but preserve '/' and '.' characters, allowing '../' sequences to pass. These unsanitized keywords are concatenated into filesystem paths and used in file_exists() and include() calls, enabling attackers to include arbitrary PHP files and execute code remotely without authentication. The vulnerability can be exploited by sending HTTP requests with '../' sequences in the URI to include PHP files located outside the intended directory.

Potential Impact

An attacker can achieve remote code execution by including and running arbitrary PHP files on the server without authentication. This can be leveraged if the attacker has previously uploaded a malicious PHP file or if PHP code injection exists elsewhere but cannot be accessed directly. The vulnerability allows bypassing access restrictions and executing injected or uploaded code, potentially leading to full system compromise.

Mitigation Recommendations

A patch is available for this vulnerability. Users should upgrade YOURLS to version 1.10.5 or later where this issue is fixed. Until patched, avoid exposing YOURLS instances to untrusted users or networks. No vendor advisory content contradicts this; therefore, applying the official fix is the recommended mitigation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-f8ff-652m-j5rx
Osv Schema Version
1.4.0
Aliases
["CVE-2026-62858"]
Ecosystems
["Packagist"]
Database Specific Severity
MODERATE
Cvss Version
3.1

Threat ID: 6ad14e942cdf04f65660b0c4

Added to database: 10/15/2026, 22:07:16 UTC

Last enriched: 10/15/2026, 22:09:48 UTC

Last updated: 10/15/2026, 22:09:48 UTC

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses