{"id":"CVE-2026-134023","aliases":["CVE-2026-134023","GHSA-46f8-hgf3-9p6m"],"related":[],"kind":"vulnerability","state":"published","title":"TastyIgniter: Password reset code comparison is not constant-time (timing side-channel)","summary":"TastyIgniter is an open-source online ordering, table reservation, and restaurant management system. Prior to 4.2.0, checkResetPasswordCode() in src/Auth/Models/User.php compares a submitted reset code with the stored 42-character token using a normal string comparison, which can return after the first differing byte instead of taking constant time. The password-reset flow exposes this comparison to remote requests, but the endpoint is rate-limited to six requests per minute per IP, and the advisory reports no live exploit or practical token-recovery demonstration. Recovering a high-entropy reset code through the constrained timing signal could permit an unauthorized password reset. This issue is fixed in version 4.2.0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"TastyIgniter is an open-source online ordering, table reservation, and restaurant management system. Prior to 4.2.0, checkResetPasswordCode() in src/Auth/Models/User.php compares a submitted reset code with the stored 42-character token using a normal string comparison, which can return after the first differing byte instead of taking constant time. The password-reset flow exposes this comparison to remote requests, but the endpoint is rate-limited to six requests per minute per IP, and the advisory reports no live exploit or practical token-recovery demonstration. Recovering a high-entropy reset code through the constrained timing signal could permit an unauthorized password reset. This issue is fixed in version 4.2.0.","source":"cvelist"},{"lang":"en","text":"### 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.","format":"markdown","source":"ghsa"}],"published":"2026-11-23T23:06:53.757Z","modified":"2026-11-30T21:00:04.448Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","score":7.4,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","score":7.4,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","score":7.4,"rating":"HIGH"}],"cwes":["CWE-208"],"affected":[{"ranges":[{"version":"< 4.2.0","status":"affected"}],"vendor":"tastyigniter","product":"ti-ext-user","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.2.0"}],"ecosystem":"Packagist","package":"tastyigniter/ti-ext-user","purl":"pkg:composer/tastyigniter/ti-ext-user","source":"ghsa"}],"references":[{"url":"https://github.com/tastyigniter/TastyIgniter/security/advisories/GHSA-46f8-hgf3-9p6m","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/tastyigniter/ti-ext-user/pull/47","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/tastyigniter/ti-ext-user/commit/a4b10ba2ccff2e00889496ffa98ad61732922ca6","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/tastyigniter/ti-ext-user/releases/tag/v4.2.0","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-134023","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/tastyigniter/TastyIgniter","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-11-24T15:21:51.541Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-134023","url":"https://www.cve.org/CVERecord?id=CVE-2026-134023","licence":"CVE Terms of Use","modified":"2026-11-24T15:21:59.296Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-46f8-hgf3-9p6m","url":"https://github.com/advisories/GHSA-46f8-hgf3-9p6m","licence":"CC-BY-4.0","modified":"2026-11-30T21:00:04.448Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-134023","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-134023","licence":"Public domain","modified":"2026-11-24T16:17:56.610Z"}],"updatedAt":"2026-11-30T21:27:24.754Z","epss":{"score":0.00767,"percentile":0.56726,"date":"2026-12-01T12:00:22.000Z"}}