Investigate in your agent.

Turn this advisory into a focused investigation. Ask your agent to check your project’s versions, explain the evidence, and suggest a compatible fix.

Your agent needs remote MCP support and access to https://cve.new/mcp.

Read the setup guide

Skip to content
Check your stack
CVE-2026-142154

CodeIgniter4 before 4.7.5 Code Injection via View Parser Conditionals

Products / packages CodeIgniter4

Published

Share

Severity and exploitation

Not in CISA KEV

KEV coverage does not rule out exploitation.

KEV checked 04/12/2026, 02:10:31 UTC
VulnCheck · CVSS:4.0 · 8.7
Assessment vectorCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
VulnCheck · CVSS:3.1 · 8.8
Assessment vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
The headline uses the highest imported catalog score. Assessments can differ by source and CVSS version.

Severity

high8.8

CVSS measures technical severity, not the likelihood of an attack.

Known exploitation

Not listed in the checked CISA KEV catalog

Absence from CISA KEV does not rule out attacks.

Public exploit

Not established by this record

Missing evidence does not mean no public exploit exists.

Remediation

Fix status not established

No structured fix or guidance is available here. Check the latest publisher advisory.

What this means

CodeIgniter4 before 4.7.5 contains a code injection vulnerability that allows less-trusted template editors to execute PHP code through unrestricted View Parser conditional tags. Attackers who can edit template source, such as online email templates, can inject crafted conditionals to execute arbitrary PHP code on the server.

Source excerpt · VulnCheck

Attack conditions

No attack-condition excerpt has been identified here. Review the full source description and references for authentication, network access, and configuration requirements.

Review supporting sources →

Affected versions

Check the exact model, release, and any platform requirements against your installation.

codeigniter4 · VulnCheck

CodeIgniter4

2 ranges

Compare with this publisher’s ranges. This does not inspect your installation.

affected

0 → before 4.7.5

semver versions

unaffected

4.7.5

semver versions

unknown

Other versions: unaffected

Automatic dependency matching is unavailable for this record. Use the product evidence and publisher’s instructions to check your installation.

What to do

Compare your installed product and version with the affected versions above. A matching product name alone does not confirm exposure.

No structured fix or remediation guidance is available here. Check the full source description and vendor’s latest advisory for a patch or workaround; do not assume another version is safe.

cve.new guidance unless attributed to a publisher. This page does not inspect your installation.

Public exploit evidence

No public exploit reference is identified in the imported evidence. This is not a claim that no exploit exists.

Original source description

Read the full publisher description

CodeIgniter4 before 4.7.5 contains a code injection vulnerability that allows less-trusted template editors to execute PHP code through unrestricted View Parser conditional tags. Attackers who can edit template source, such as online email templates, can inject crafted conditionals to execute arbitrary PHP code on the server.

References

2 sources

Inside the record

Evidence available

Package identity · not supplied
Version evidence
Remediation guidance · not supplied
Weakness classification
Additional publishers

Describes the evidence in this view, not whether the product is safe.

Original records

CVE-2026-142154

View the latest unmodified CVE JSON from the official source. It may be newer than this imported page.

cve.new JSON →

Underlying weaknesses

The source’s classification of what caused the vulnerability.

CWE-94 ↗

Improper Control of Generation of Code ('Code Injection')

VulnCheck

Related →

Environment requirements

These conditions apply together as specified by the publisher. A matching product name alone does not establish exposure.

VulnCheck · platform conditions

Any condition may hold

Vulnerable product

cpe:2.3:a:codeigniter:codeigniter:*:*:*:*:*:*:*:*

Before: 4.7.5

Applicability preview
[
  {
    "nodes": [
      {
        "operator": "OR",
        "negate": false,
        "cpeMatch": [
          {
            "vulnerable": true,
            "criteria": "cpe:2.3:a:codeigniter:codeigniter:*:*:*:*:*:*:*:*",
            "versionEndExcluding": "4.7.5"
          }
        ]
      }
    ]
  }
]
Contributing organizations · 2
VulnCheck

Assigning organization

2026-12-02
CISA-ADP

Additional data publisher

2026-12-02

Timeline

All times UTC
  1. Advisory published

    Publication date supplied by the source.

  2. Source updated

    Latest modification date supplied by the source.

  3. Last imported by cve.new

    Latest catalog import, not the date we first saw this advisory.

What changed

Follow changes
  1. CVE · CVE-2026-142154

    Observed 2026-12-02T16:01:19.692Z · upstream updated 2026-12-02T15:51:53.656Z

    Prioritization updated

    before

    []

    after

    [
      {
        "source": "CISA-ADP",
        "type": "SSVC",
        "role": "CISA Coordinator",
        "timestamp": "2026-12-02T15:45:26.092975Z",
        "decisions": [
          {
            "name": "Exploitation",
            "value": "none"
          },
          {
            "name": "Automatable",
            "value": "no"
          },
          {
            "name": "Technical Impact",
            "value": "total"
          }
        ]
      }
    ]

Large field values are marked as truncated previews. Original source snapshots remain retained.

Showing up to 50 most recent observed changes.

Recent advisories affecting the same package or the same recorded vendor and product. These are separate vulnerabilities, not additional evidence for this advisory.

critical9.2
CVE-2026-142150

CodeIgniter4: SQL injection

CodeIgniter4 before 4.7.6 contains an SQL injection vulnerability in Query::matchNamedBinds(), which substitutes named :name: bind placeholders across the entire SQL text, including values already escaped into string literals. Remote attackers who can inject a :name: placeholder into a subquery, union, escaped where()/having() string, deleteBatch() condition, or $db->query() fragment while controlling that bind's value can break out of the literal and execute arbitrary SQL.

No structured fix or guidance is available here. Check the latest publisher advisory.

Exploitation not established

codeigniter4 · CodeIgniter4
high8.2
CVE-2026-142151

CodeIgniter4 before 4.7.5 Credential Disclosure via CURLRequest Option Persistence

CodeIgniter4 before 4.7.5 contains an information disclosure vulnerability in CURLRequest::request() that leaves request options on the client after an exception, even when shareOptions is false. Attackers receiving a later request from a reused client can obtain the previous Authorization header, Basic Auth credentials, or request body.

No structured fix or guidance is available here. Check the latest publisher advisory.

Exploitation not established

codeigniter4 · CodeIgniter4
medium6.9
CVE-2026-142152

CodeIgniter4 before 4.7.5 File Upload Validation Bypass via Empty File Entry

CodeIgniter4 before 4.7.5 contains a file upload validation bypass in FileRules that allows remote attackers to evade type, extension, size, and dimension checks. Attackers can place an empty UPLOAD_ERR_NO_FILE entry before a disallowed file in an optional multiple-file upload to get it accepted, potentially enabling code execution where uploads are web-accessible.

No structured fix or guidance is available here. Check the latest publisher advisory.

Exploitation not established

codeigniter4 · CodeIgniter4
high7.7
CVE-2026-142153

CodeIgniter4 before 4.7.5 Code Injection via View Data Key Collision

CodeIgniter4 before 4.7.5 contains a code injection vulnerability because view data is extracted into the same scope as internal variables, letting colliding keys replace the trusted template source or an included view path. Attackers who control view data keys can supply template, view, or foundView keys to Parser::render(), Parser::renderString(), View::renderString(), or view cells to execute PHP code or include unintended local files.

No structured fix or guidance is available here. Check the latest publisher advisory.

Exploitation not established

codeigniter4 · CodeIgniter4
critical9.8
CVE-2026-142155

CodeIgniter4 before 4.7.5 Upload Validation Bypass via Trailing Dots and PHP Extensions

CodeIgniter4 before 4.7.5 has an upload validation bypass: the is_image and mime_in rules accept filenames whose trailing dots conceal a PHP extension, and these rules and ext_in accept a PHP extension before the final image extension. Attackers can upload such files to achieve remote code execution when applications keep client-supplied filenames in a web directory that executes PHP.

No structured fix or guidance is available here. Check the latest publisher advisory.

Exploitation not established

codeigniter4 · CodeIgniter4
medium6.1
CVE-2026-142138

CodeIgniter4 through 4.7.6 XSS via Unescaped Form Helper Attribute Values

CodeIgniter4 through 4.7.6 contains a cross-site scripting vulnerability in parse_form_attributes() and related form helpers that escape only the value key. Attackers who influence values passed to form_input(), form_label(), form_dropdown() or form_datalist() can inject a double quote and event handlers to execute script in victims' browsers.

No structured fix or guidance is available here. Check the latest publisher advisory.

Public exploit reference

codeigniter4 · CodeIgniter4