---
id: CVE-2026-63222
title: CodeIgniter is a PHP full-stack web framework
summary: >-
  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 w…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N'
cwe:
  - CWE-22
vendor: codeigniter4
product: codeigniter4/framework
affected:
  - codeigniter4/framework < 4.7.4
patched:
  - codeigniter4/framework 4.7.4
published: '2026-07-31'
updated: '2026-09-08'
sourceUpdated: '2026-09-08T20:51:43.490'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-63222'
references:
  - url: >-
      https://github.com/codeigniter4/CodeIgniter4/commit/20ebcf4694d96d3c97fbc3938e360730e4f54618
    label: security-advisories@github.com
  - url: 'https://github.com/codeigniter4/CodeIgniter4/releases/tag/v4.7.4'
    label: security-advisories@github.com
  - url: >-
      https://github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-hhmc-q9hp-r662
    label: security-advisories@github.com
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-63222'
  - url: 'https://github.com/advisories/GHSA-hhmc-q9hp-r662'
tags:
  - nvd
  - ghsa
  - composer
epss: 0.00635
epssPercentile: 0.48145
aliases:
  - GHSA-hhmc-q9hp-r662
ecosystem: composer
ingestedAt: '2026-08-07T19:16:20.398Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-63222)

Affected packages:

- `codeigniter4/framework < 4.7.4`

Patched in:

- `codeigniter4/framework 4.7.4`

Source: https://github.com/advisories/GHSA-hhmc-q9hp-r662
