CVE-2026-134023: TastyIgniter Password Reset Code Comparison Is Vulnerability

HIGH
Advisory Identifier: GHSA-46f8-hgf3-9p6m
CVSS 7.4
CWE-208
Published
Advisory Summary

CVE-2026-134023 is a HIGH (CVSS 7.4) password reset code comparison is vulnerability (CWE-208: Observable Timing Discrepancy) affecting TastyIgniter libraries in the Packagist ecosystem. The issue involves password reset code comparison is not constant-time (timing side-channel). Remediation is available by upgrading affected packages to version 4.2.0.

CVE-2026-134023 at a Glance

CVE Identifier CVE-2026-134023
GHSA Identifier GHSA-46f8-hgf3-9p6m
Severity HIGH
CVSS v3.1 Base Score 7.4
CWE Classification CWE-208: Observable Timing Discrepancy
Affected Product TastyIgniter
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 7.4

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2026-134023

To remediate this vulnerability, upgrade all affected TastyIgniter dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

tastyigniter/ti-ext-user fixed: 4.2.0
Upgrade tastyigniter/ti-ext-user to 4.2.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for tastyigniter/ti-ext-user

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-134023, inspect your project dependencies for TastyIgniter:

inspect dependencies for tastyigniter/ti-ext-user

Analyze the terminal output to locate any version of TastyIgniter in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.2.0), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-208: Observable Timing Discrepancy, where two separate operations in a product require different amounts of time to complete, in a way that is observable to an actor and reveals security-relevant information about the state of the product, such as whether a particular operation was successful or not. In TastyIgniter, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Summary The password-reset code verification compares the submitted code to the stored value using PHP's `!=` operator instead of a constant-time comparison function, creating a theoretical timing side-channel on a security-sensitive token comparison. ### Details `checkResetPasswordCode()` (`src/Auth/Models/User.php`, ~lines 160-175): if ($this->reset_code != $resetCode) { return false; } PHP's `!=` on strings short-circuits on the first differing byte, which is a textbook timing side-channel for a security token comparison, versus using `hash_equals()`. ### PoC Not exploited live. The login/reset endpoint is protected by a `throttle:6,1` rate limit (6 requests/minute/IP, confirmed live on the `Login` controller), which makes practical timing-based recovery of a 42-character random token computationally infeasible over a real network in any reasonable timeframe. This finding is reported as a defense-in-depth code-quality fix rather than a demonstrated exploit. ### Impact Low in practice due to the endpoint's own rate limiting, but a real deviation from secure-coding best practice for comparing security tokens. Worth fixing as a free, one-line change that removes the theoretical gap entirely, in case the rate limit is ever relaxed or bypassed by a future change.

CVE-2026-134023 Affected TastyIgniter Versions

1 component(s)
Fixed Versions:
4.2.0
Product / Package Ecosystem Affected Versions Fixed Version
tastyigniter/ti-ext-user
Packagist
< 4.2.0
4.2.0

References

Frequently Asked Questions

What is CVE-2026-134023?
CVE-2026-134023 is a security vulnerability in TastyIgniter involving Password reset code comparison is not constant-time (timing side-channel) under CWE-208: Observable Timing Discrepancy.
Which TastyIgniter versions are affected?
Affected versions include releases prior to 4.2.0 across affected packages: tastyigniter/ti-ext-user.
What version fixes CVE-2026-134023?
Upgrading to 4.2.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is tastyigniter/ti-ext-user affected?
Yes, tastyigniter/ti-ext-user is affected in releases prior to 4.2.0. Upgrade your dependency to 4.2.0 or later.
What is the CVSS score of CVE-2026-134023?
CVE-2026-134023 has a CVSS v3.1 base score of 7.4 (HIGH) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N.
What CWE is associated with CVE-2026-134023?
CVE-2026-134023 is classified under CWE-208: Observable Timing Discrepancy (Two separate operations in a product require different amounts of time to complete, in a way that is observable to an actor and reveals security-relevant information about the state of the product, such as whether a particular operation was successful or not.).
How can I check Packagist dependencies for CVE-2026-134023?
Run the dependency tree command: 'inspect dependencies for tastyigniter/ti-ext-user'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-46f8-hgf3-9p6m",
  "modified" : "2026-11-30T20:55:51Z",
  "published" : "2026-11-30T20:55:51Z",
  "aliases" : [ "CVE-2026-134023" ],
  "summary" : "TastyIgniter: Password reset code comparison is not constant-time (timing side-channel)",
  "details" : "### Summary\nThe password-reset code verification compares the submitted code to the stored value using PHP's `!=` operator instead of a constant-time comparison function, creating a theoretical timing side-channel on a security-sensitive token comparison.\n\n### Details\n`checkResetPasswordCode()` (`src/Auth/Models/User.php`, ~lines 160-175):\n\n    if ($this->reset_code != $resetCode) {\n        return false;\n    }\n\nPHP's `!=` on strings short-circuits on the first differing byte, which is a textbook timing side-channel for a security token comparison, versus using `hash_equals()`.\n\n### PoC\nNot exploited live. The login/reset endpoint is protected by a `throttle:6,1` rate limit (6 requests/minute/IP, confirmed live on the `Login` controller), which makes practical timing-based recovery of a 42-character random token computationally infeasible over a real network in any reasonable timeframe. This finding is reported as a defense-in-depth code-quality fix rather than a demonstrated exploit.\n\n### Impact\nLow in practice due to the endpoint's own rate limiting, but a real deviation from secure-coding best practice for comparing security tokens. Worth fixing as a free, one-line change that removes the theoretical gap entirely, in case the rate limit is ever relaxed or bypassed by a future change.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "tastyigniter/ti-ext-user"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "4.2.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/tastyigniter/TastyIgniter/security/advisories/GHSA-46f8-hgf3-9p6m"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-134023"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/tastyigniter/ti-ext-user/pull/47"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/tastyigniter/ti-ext-user/commit/a4b10ba2ccff2e00889496ffa98ad61732922ca6"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/tastyigniter/TastyIgniter"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/tastyigniter/ti-ext-user/releases/tag/v4.2.0"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-208" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-11-30T20:55:51Z",
    "nvd_published_at" : "2026-11-23T23:17:05Z"
  }
}