Skip to main content

Question2Answer CVE-2026-64829

| EUVDEUVD-2026-47782 CRITICAL
Insufficient Session Expiration (CWE-613)
2026-07-22 disclosure@vulncheck.com
9.1
CVSS 4.0 · Vendor: vulncheck
Share

Severity by source

Vendor (vulncheck) PRIMARY
9.1 CRITICAL
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vuln.today AI
6.8 MEDIUM

AC:H and UI:R because the attacker needs a pre-stolen persistent cookie and the victim must perform the password reset; PR:N since no normal credentials are used; C:H/I:H for full account access, A:N.

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
X

Lifecycle Timeline

3
Source Code Evidence Fetched
Jul 22, 2026 - 20:39 vuln.today
Analysis Generated
Jul 22, 2026 - 20:39 vuln.today
CVE Published
Jul 22, 2026 - 20:17 cve.org
CRITICAL 9.1

DescriptionCVE.org

Question2Answer through 1.8.8 contains a session invalidation vulnerability that allows attackers with a previously obtained remember-me cookie to retain authenticated access by exploiting the forgot-password reset flow's failure to clear the sessioncode field in qa-include/app/users-edit.php. While the normal password-change flow in qa-include/pages/account.php explicitly clears the sessioncode to invalidate persistent qa_session cookies, the forgot-password handler qa_finish_reset_user() omits this step, allowing any valid persistent cookie issued before the reset to continue authenticating the account after the password reset completes.

AnalysisAI

Persistent authentication bypass in Question2Answer through 1.8.8 lets an attacker holding a stolen 'Remember me' (qa_session) cookie keep authenticated access to an account even after its password is reset via the forgot-password flow. The reset handler qa_finish_reset_user() fails to clear the user's sessioncode field, so previously issued persistent cookies remain valid - defeating the primary account-recovery defense used after a compromise. No public exploit identified at time of analysis, and it is not listed in CISA KEV; the fix is an upstream GitHub pull request rather than a tagged release.

Technical ContextAI

Question2Answer is an open-source PHP Q&A platform. Its persistent-login ('Remember me') feature issues a qa_session cookie whose validity is anchored to a per-user sessioncode value stored in the database. When that sessioncode is cleared or rotated, all outstanding persistent cookies are invalidated. The normal in-app password change (qa-include/pages/account.php) explicitly resets sessioncode, but the forgot-password reset path (qa_finish_reset_user() in qa-include/app/users-edit.php) omits this step. This maps to CWE-613 (Insufficient Session Expiration): a security-sensitive event (password reset) that should terminate all sessions fails to do so, leaving pre-existing session tokens valid. The upstream fix (PR #1017) simply adds qa_db_user_set($userId, 'sessioncode', '') to the reset function so old persistent logins stop working.

RemediationAI

Upstream fix available (PR/commit); a released patched version was not independently confirmed from the provided data. Apply the change from https://github.com/q2a/question2answer/pull/1017, which adds qa_db_user_set($userId, 'sessioncode', '') inside qa_finish_reset_user() so that a password reset clears the sessioncode and invalidates all outstanding persistent 'Remember me' cookies. Until a tagged release is available, operators can cherry-pick that one-line patch, or as an interim compensating control disable the persistent-login/'Remember me' feature so no long-lived qa_session cookies are issued (trade-off: users must log in each session). For accounts suspected of prior compromise, administratively rotate the affected users' sessioncode values in the database to force-expire existing cookies immediately. Consult the vendor advisory at https://www.vulncheck.com/advisories/question2answer-session-fixation-via-forgot-password-flow for details.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

Share

CVE-2026-64829 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy