{"id":"CVE-2026-134023","aliases":["GHSA-46f8-hgf3-9p6m"],"url":"https://o3.security/vulnerability/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.","published":"2026-11-23T23:06:53.757Z","modified":"2026-11-25T20:45:51.835153117Z","cvss":{"score":7.4,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"},"epss":{"score":0.00767,"percentile":0.51894,"asOf":"2026-11-30"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"tastyigniter/ti-ext-user","fixedVersion":"4.2.0"}],"fix":{"url":"https://github.com/tastyigniter/ti-ext-user/commit/a4b10ba2ccff2e00889496ffa98ad61732922ca6","label":"tastyigniter/ti-ext-user@a4b10ba"},"references":[{"type":"WEB","url":"https://github.com/tastyigniter/ti-ext-user/releases/tag/v4.2.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134023.json"},{"type":"ADVISORY","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":"FIX","url":"https://github.com/tastyigniter/ti-ext-user/commit/a4b10ba2ccff2e00889496ffa98ad61732922ca6"},{"type":"FIX","url":"https://github.com/tastyigniter/ti-ext-user/pull/47"},{"type":"PACKAGE","url":"https://github.com/tastyigniter/TastyIgniter"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-11-25T20:45:51.835153117Z"}}