Skip to content
Account takeover Disclosed report Intermediate CVE-2026-1163

parisneo/lollms has an insufficient session expiration vulnerability

The application does not invalidate active sessions after a password reset, and sessions last 31 days by default. An attacker with an old session token can keep persistent access even after the victim changes their password.

lollms

Originally disclosed on huntr

An insufficient session expiration vulnerability exists in the latest version of parisneo/lollms. The application fails to invalidate active sessions after a password reset, allowing an attacker to continue using an old session token. This issue arises due to the absence of logic to reject requests after a period of inactivity and the excessively long default session duration of 31 days. The vulnerability enables an attacker to maintain persistent access to a compromised account, even after the victim resets their password.

From the GitHub Advisory Database (GHSA-8jg2-726g-xh43, CC BY 4.0).

The original report as published on the GitHub Advisory Database. Images and videos are our own copies; raw HTML is shown as text. View it on GitHub Advisory Database.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the application does not tie sessions to the current password or revoke them on password reset, and it sets a very long default session lifetime.

Impact

An attacker who already has a valid session token could keep persistent access to the account even after the victim resets their password.

What the attacker needed

Attacker has a valid session token

The fix

The application should invalidate all active sessions when a password is reset and enforce a shorter inactivity timeout.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

When you log in, the server gives your browser a session token to remember you. If someone steals that token, they can act as you. This report says that even if you change your password, the old token still works, so the thief stays logged in.

What is Account takeover?

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.

More from lollms

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Account takeover

The lesson behind this report.

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.