CVE-2026-63222
Received Received - Intake

Path Traversal in CodeIgniter PHP Framework

Vulnerability report for CVE-2026-63222, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-31

Last updated on: 2026-07-31

Assigner: GitHub, Inc.

Description

CodeIgniter is a PHP full-stack web framework. Prior to 4.7.4, calling UploadedFile::move() without a second argument uses the client-provided filename without sanitization, allowing a remote attacker to use path traversal sequences to write uploaded content outside the intended directory when the application exposes an upload path. This issue is fixed in version 4.7.4.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-31
Last Modified
2026-07-31
Generated
2026-07-31
AI Q&A
2026-07-31
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
codeigniter codeigniter to 4.7.4 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CodeIgniter is a PHP framework where a flaw exists in the UploadedFile::move() function. When called without a second argument, it uses the client-provided filename without sanitization. This allows attackers to use path traversal sequences to write uploaded files outside the intended directory.

Detection Guidance

Check if your CodeIgniter version is below 4.7.4. Inspect uploaded files for unexpected paths or filenames containing traversal sequences like ../. Review application logs for unauthorized file writes outside intended directories.

Impact Analysis

An attacker could upload malicious files to unintended locations on your server. This could lead to remote code execution, data theft, or server compromise if the uploaded files are executed or accessed.

Compliance Impact

This vulnerability could lead to unauthorized data access or modification, violating GDPR's integrity and confidentiality principles or HIPAA's security requirements for protected health information.

Mitigation Strategies

Upgrade CodeIgniter to version 4.7.4 or later. Ensure UploadedFile::move() always uses a sanitized filename. Validate and restrict file upload paths to prevent directory traversal.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-63222. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart