{"id":"GHSA-46f8-hgf3-9p6m","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-\u003ereset_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.","aliases":["CVE-2026-134023"],"modified":"2026-11-30T21:00:04.448881471Z","published":"2026-11-30T20:55:51Z","database_specific":{"nvd_published_at":"2026-11-23T23:17:05Z","cwe_ids":["CWE-208"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2026-11-30T20:55:51Z"},"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"}],"affected":[{"package":{"name":"tastyigniter/ti-ext-user","ecosystem":"Packagist","purl":"pkg:composer/tastyigniter/ti-ext-user"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.2.0"}]}],"versions":["1.13.1","1.13.2","1.13.3","v1.10.0","v1.10.1","v1.11.0","v1.12.0","v1.12.1","v1.13.0","v1.9.2","v4.0.0","v4.0.0-beta.1","v4.0.1","v4.0.10","v4.0.11","v4.0.12","v4.0.13","v4.0.14","v4.0.15","v4.0.16","v4.0.17","v4.0.18","v4.0.2","v4.0.3","v4.0.4","v4.0.5","v4.0.7","v4.0.8","v4.0.9","v4.1.0","v4.1.1","v4.1.2","v4.1.3","v4.1.4"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/11/GHSA-46f8-hgf3-9p6m/GHSA-46f8-hgf3-9p6m.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"}]}