{"id":"CVE-2026-129706","kind":"vulnerability","aliases":["CVE-2026-129706"],"related":[],"title":"vulnerability-lookup: sessions survive password changes, stay valid indefinitely","description":"In the vulnerability-lookup web application, the Flask-Login session identifier was set to the bare numeric user ID (User.get_id() returned self.id). Because the session ID contained no component derived from the user's credential, it remained valid indefinitely regardless of any subsequent password change, account recovery, or administrator-initiated password reset. An attacker who had obtained a valid session for a user account (for example through cross-site scripting, session hijacking, or a previously exposed feed or API key) could continue to access that user's account after the user changed their password, because the session cookie still carried the same static user ID and the user_loader accepted it without any credential-bound validation.\n\nThe affected component is the session management layer of the vulnerability-lookup Flask application, specifically the User.get_id() method in website/models/user.py and the load_user callback in website/web/views/session_mgmt.py. The vulnerability required that an attacker already possessed a valid session for the target user; no additional authentication or special deployment configuration was needed beyond a standard deployment of the application.\n\nThe security impact is that a user cannot effectively revoke an attacker's access by changing their password, performing an account recovery, or having an administrator reset the credential. The attacker retains full authenticated access to the user's profile, subscriptions, and any role-gated functionality for the lifetime of the session cookie. Additionally, sessions that were opened via a feed key or API key before a prior fix (commit 3605d5b6) also persisted indefinitely.","summary":"The vulnerability-lookup web app used a bare numeric user ID as its Flask-Login session identifier, so the session was not tied to the user's credential. A stolen session cookie keeps working after the user changes their password, resets it, or recovers the account.","severity":"medium","cvss":5.3,"epss":0.0027,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["flask","other","self-hosted","vulnerability-lookup"],"not_affected_if":["no-stolen-sessions","no-web-app"],"how_to_check":"- Check whether your deployment runs the vulnerability-lookup web application and which version it is on.\n- Review the session handling in `website/models/user.py` (`User.get_id()`) and `website/web/views/session_mgmt.py` (`load_user`) to see whether the session ID is still the bare user ID.","fix":null,"status":"open","published_at":"2026-11-16T09:17:13+00:00","first_seen_at":"2026-11-16T10:12:13+00:00","triaged_at":"2026-11-16T10:12:37+00:00","updated_at":"2026-11-16T18:53:18+00:00","category":"other","confidence":0.6,"triage":{"at":"2026-11-16T10:12:37Z","model":"claude-haiku-5-5","output":{"fix":"unknown","reach":"internet","title":"vulnerability-lookup: sessions survive password changes, stay valid indefinitely","impact":"medium","summary":"The vulnerability-lookup web app used a bare numeric user ID as its Flask-Login session identifier, so the session was not tied to the user's credential. A stolen session cookie keeps working after the user changes their password, resets it, or recovers the account.","audience":"businesses","category":"other","nicknames":[],"who_cares":["vulnerability-lookup","flask","self-hosted"],"confidence":0.6,"fix_status":"unknown","needs_auth":"yes","worst_case":"attacker keeps logged-in access to a user's account after password reset","analyst_note":"Confirm the fixed version and the commit that closes the issue; the only linked resource is a generic patch page on github.com, and the sources do not name a fixed version.","how_to_check":"- Check whether your deployment runs the vulnerability-lookup web application and which version it is on.\n- Review the session handling in `website/models/user.py` (`User.get_id()`) and `website/web/views/session_mgmt.py` (`load_user`) to see whether the session ID is still the bare user ID.","plain_action":"","product_name":"","needs_analyst":true,"not_affected_if":["no-web-app","no-stolen-sessions"],"who_is_affected":"Deployments of the vulnerability-lookup Flask web application where an attacker has obtained a valid session cookie for a user account, for example through XSS, session hijacking, or a leaked feed or API key. The source describes sessions opened via a feed or API key before commit 3605d5b6 as also persisting. Teams not running the web application are not affected.","user_interaction":"no","product_ecosystem":"","needs_special_setup":"no","severity_if_unknown":"unknown"},"cost_usd":0.0008,"input_tokens":4940,"output_tokens":611,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-129706':13A,16A '-2026':12A,15A '3605d5b6':326C 'accept':187C 'access':161C,268C,289C 'account':72B,121C,140C,165C,275C 'addit':240C,309C 'administr':125C,280C 'administrator-initi':124C 'affect':196C 'alreadi':230C 'also':327C 'api':156C,319C 'app':30B 'applic':79C,209C,254C 'attack':130C,229C,266C,285C 'authent':241C,288C 'bare':33B,90C 'beyond':248C 'bound':193C 'callback':221C 'cannot':262C 'carri':177C 'chang':7A,64B,120C,169C,270C 'commit':325C 'compon':104C,197C 'configur':245C 'contain':102C 'continu':159C 'cooki':58B,175C,308C 'could':158C 'credenti':54B,110C,192C,283C 'credential-bound':191C 'cross':145C 'cross-sit':144C 'cve':11A,14A 'deploy':244C,251C 'deriv':105C 'effect':263C 'exampl':142C 'expos':153C 'feed':154C,316C 'fix':324C 'flask':17B,40B,82C,208C 'flask-login':39B,81C 'full':287C 'function':301C 'gate':300C 'hijack':149C 'host':21B 'id':36B,93C,95C,101C,182C,213C 'identifi':43B,85C 'impact':257C 'indefinit':10A,114C,329C 'initi':126C 'keep':59B 'key':157C,317C,320C 'layer':202C 'lifetim':304C 'load':219C 'loader':186C 'login':41B,83C 'lookup':3A,24B,28B,77C,207C 'manag':201C 'method':214C 'need':247C 'numer':34B,91C 'obtain':133C 'open':313C 'password':6A,66B,119C,127C,171C,272C 'perform':273C 'persist':328C 'possess':231C 'previous':152C 'prior':323C 'profil':294C 'recov':70B 'recoveri':122C,276C 'regardless':115C 'remain':112C 'requir':226C 'reset':67B,128C,281C 'retain':286C 'return':96C 'revok':264C 'role':299C 'role-g':298C 'script':147C 'secur':256C 'self':20B 'self-host':19B 'self.id':97C 'session':4A,42B,46B,57B,84C,100C,136C,148C,174C,200C,234C,307C,310C 'set':87C 'site':146C 'special':243C 'specif':210C 'standard':250C 'static':180C 'stay':8A 'still':176C 'stolen':56B 'subscript':295C 'subsequ':118C 'surviv':5A 'target':237C 'tie':49B 'use':31B 'user':35B,52B,63B,92C,108C,139C,163C,168C,181C,185C,220C,238C,261C,292C 'user.get':94C,212C 'valid':9A,113C,135C,194C,233C 'via':314C 'vulner':2A,23B,27B,76C,206C,225C 'vulnerability-lookup':1A,22B,26B,75C,205C 'web':29B,78C 'website/models/user.py':216C 'website/web/views/session_mgmt.py':223C 'without':189C 'work':60B","nicknames":[],"mitigations":[],"who_affected":"Deployments of the vulnerability-lookup Flask web application where an attacker has obtained a valid session cookie for a user account, for example through XSS, session hijacking, or a leaked feed or API key. The source describes sessions opened via a feed or API key before commit 3605d5b6 as also persisting. Teams not running the web application are not affected.","tier":"C","verified":{},"analyst_revisit_at":null,"fix_status":"unknown","audience":"businesses","plain_action":null,"pkeys":[],"ptokens":[],"labels":["flask","medium","other","selfhosted","vulnerabilitylookup"],"campaign_type":null,"search_a":"'-129706':13A,16A '-2026':12A,15A 'chang':7A 'cve':11A,14A 'indefinit':10A 'lookup':3A 'password':6A 'session':4A 'stay':8A 'surviv':5A 'valid':9A 'vulner':2A 'vulnerability-lookup':1A","search_b":"'account':72B 'app':30B 'bare':33B 'chang':64B 'cooki':58B 'credenti':54B 'flask':17B,40B 'flask-login':39B 'host':21B 'id':36B 'identifi':43B 'keep':59B 'login':41B 'lookup':24B,28B 'numer':34B 'password':66B 'recov':70B 'reset':67B 'self':20B 'self-host':19B 'session':42B,46B,57B 'stolen':56B 'tie':49B 'use':31B 'user':35B,52B,63B 'vulner':23B,27B 'vulnerability-lookup':22B,26B 'web':29B 'work':60B","search_c":"'3605d5b6':326C 'accept':187C 'access':161C,268C,289C 'account':121C,140C,165C,275C 'addit':240C,309C 'administr':125C,280C 'administrator-initi':124C 'affect':196C 'alreadi':230C 'also':327C 'api':156C,319C 'applic':79C,209C,254C 'attack':130C,229C,266C,285C 'authent':241C,288C 'bare':90C 'beyond':248C 'bound':193C 'callback':221C 'cannot':262C 'carri':177C 'chang':120C,169C,270C 'commit':325C 'compon':104C,197C 'configur':245C 'contain':102C 'continu':159C 'cooki':175C,308C 'could':158C 'credenti':110C,192C,283C 'credential-bound':191C 'cross':145C 'cross-sit':144C 'deploy':244C,251C 'deriv':105C 'effect':263C 'exampl':142C 'expos':153C 'feed':154C,316C 'fix':324C 'flask':82C,208C 'flask-login':81C 'full':287C 'function':301C 'gate':300C 'hijack':149C 'id':93C,95C,101C,182C,213C 'identifi':85C 'impact':257C 'indefinit':114C,329C 'initi':126C 'key':157C,317C,320C 'layer':202C 'lifetim':304C 'load':219C 'loader':186C 'login':83C 'lookup':77C,207C 'manag':201C 'method':214C 'need':247C 'numer':91C 'obtain':133C 'open':313C 'password':119C,127C,171C,272C 'perform':273C 'persist':328C 'possess':231C 'previous':152C 'prior':323C 'profil':294C 'recoveri':122C,276C 'regardless':115C 'remain':112C 'requir':226C 'reset':128C,281C 'retain':286C 'return':96C 'revok':264C 'role':299C 'role-g':298C 'script':147C 'secur':256C 'self.id':97C 'session':84C,100C,136C,148C,174C,200C,234C,307C,310C 'set':87C 'site':146C 'special':243C 'specif':210C 'standard':250C 'static':180C 'still':176C 'subscript':295C 'subsequ':118C 'target':237C 'user':92C,108C,139C,163C,168C,181C,185C,220C,238C,261C,292C 'user.get':94C,212C 'valid':113C,135C,194C,233C 'via':314C 'vulner':76C,206C,225C 'vulnerability-lookup':75C,205C 'web':78C 'website/models/user.py':216C 'website/web/views/session_mgmt.py':223C 'without':189C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-11-16T09:17:13+00:00","kev":null,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/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","cvss_by":"5a6e4751-2f3f-4070-9419-94fb35b644e8","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-129706","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129706","severity":null,"published_at":"2026-11-16T09:17:13+00:00","modified_at":"2026-11-16T09:17:13+00:00","first_seen_at":"2026-11-16T10:12:13+00:00","fetched_at":"2026-11-16T10:12:13+00:00","note":null},{"source":"epss","external_id":"CVE-2026-129706","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-129706","severity":null,"published_at":null,"modified_at":null,"first_seen_at":"2026-11-16T18:53:18+00:00","fetched_at":"2026-11-16T18:53:18+00:00","note":null}],"documents":[{"id":168876,"url":"https://github.com/vulnerability-lookup/vulnerability-lookup/commit/d762810fb3b9d1ee34938a71cd8cbee544c1527d","title":"Patch: github.com","kind":"other","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Patch: github.com"}],"disclosures":[],"exploit_sources":[{"type":"epss","score":0.0027,"url":"https://api.first.org/data/v1/epss?cve=CVE-2026-129706"}],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}