GHSA-h5j9-cvrw-v5qh is a high-severity (CVSS 7.1) CWE-613 vulnerability in github.com/knadh/listmonk. A fix is available for github.com/knadh/listmonk — see the affected versions and patch details below.
listmonk's active sessions remain valid after password reset and password change
Exploitation Status
Proof-of-concept exploit code exists
- CISA’s SSVC triage found public proof-of-concept exploit code for this CVE, though no confirmed active exploitation.
Exploitation and automatability from CISA’s SSVC triage for GHSA-h5j9-cvrw-v5qh.
EPSS Exploitation Probability
EPSS (Exploit Prediction Scoring System) is a daily probability model maintained by FIRST.org. It estimates the likelihood a CVE will be exploited in production environments within the next 30 days, derived from real-world threat intelligence signals.
How urgent is this, really
GHSA-h5j9-cvrw-v5qh plotted by exploitation likelihood (EPSS) against impact (CVSS). The shaded corner — EPSS 50%+ and CVSS 7.0+ — is where this CVE doesn't sit, though severity or exploitability alone can still warrant action.
Where this sits among everything scored
Of 377,166 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Real counts from FIRST.org, not a sample — log-scaled since the landscape is heavily right-skewed.
Real-World Exposure
github.com/knadh/listmonkReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.
Description
Summary
A session management vulnerability allows previously issued authenticated sessions to remain valid after sensitive account security changes, specifically password reset and password change. As a result, an attacker who has already obtained a valid session cookie can retain access to the account even after the victim changes or resets their password.
This weakens account recovery and session security guarantees. I reproduced the issue on listmonk v6.0.0.
Details
The application updates account credentials successfully, but existing active sessions are not revoked afterward.
This behavior was confirmed in two flows:
-
Password reset flow
- A user resets their password through the forgot/reset flow.
- The old password becomes invalid.
- The new password works.
- However, a session cookie issued before the reset remains valid and continues to authenticate successfully.
-
Authenticated password change flow
- The same user logs in from two separate sessions.
- Using session A, the password is changed through the authenticated profile endpoint.
- The old password becomes invalid.
- The new password works.
- However, session B, issued before the password change, remains valid and continues to authenticate successfully.
From the source review, the reset flow consumes the reset token, updates the password, and creates a fresh session, but there does not appear to be any revocation of older sessions. The same applies to the profile password change flow.
Relevant code areas observed during review:
cmd/auth.go— forgot/reset flowcmd/users.go— authenticated profile update flowinternal/core/users.go— password update path
Additionally:
- It was verified that reset links are single-use.
- It was verified that password reset on a TOTP-enabled account still enforces TOTP on fresh login.
- However, already-issued sessions still remain valid after reset.
PoC
Case 1: Password reset does not revoke existing session
- Create or use a normal user account.
- Log in as that user and save the authenticated session cookie.
- Trigger forgot-password for the account.
- Use the emailed reset link and set a new password.
- Verify:
- the old password no longer works
- the new password works
- Replay the old pre-reset session cookie against an authenticated endpoint such as
/api/profile.
Example validation request:
GET /api/profile HTTP/1.1
Host: 127.0.0.1:9000
Cookie: session=<old_pre_reset_session>
Observed result:
Server returns HTTP/1.1 200 OK
Response contains the authenticated user profile
Case 2: Password change does not revoke other active sessions
-
Log in twice as the same user and save two authenticated session cookies:
- session A
- session B
-
Using session A, change the password through the authenticated profile update endpoint.
-
Verify:
- the old password no longer works
- the new password works
-
Replay session B against an authenticated endpoint such as
/api/profile.
Example password change request:
PUT /api/profile HTTP/1.1
Host: 127.0.0.1:9000
Cookie: session=<session_A>
Content-Type: application/json
{
"name":"victim1",
"email":"[email protected]",
"password":"VictimChanged123"
}
Then validate session B:
GET /api/profile HTTP/1.1
Host: 127.0.0.1:9000
Cookie: session=<session_B>
Observed result:
- Server returns
HTTP/1.1 200 OK - Response contains the authenticated user profile
Impact
This issue allows persistence of unauthorized access after credential recovery actions.
If an attacker has already stolen a valid session cookie through any means (for example malware, browser compromise, XSS, shared machine access, proxy leakage, or other session theft), the victim cannot fully recover the account by changing or resetting the password alone. The attacker’s existing session remains valid.
This impacts account recovery expectations and session security for all authenticated users, including users with TOTP enabled.
Attachment
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐹Go | github.com/knadh/listmonk | ≥ 1.1.1-0.20241028090858-319053dd7a90&&< 1.1.1-0.20260329113754-1b5e8d38c778 | 1.1.1-0.20260329113754-1b5e8d38c778go get github.com/knadh/listmonk@v1.1.1-0.20260329113754-1b5e8d38c778 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/knadh/listmonk, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update github.com/knadh/listmonk to 1.1.1-0.20260329113754-1b5e8d38c778 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-h5j9-cvrw-v5qh is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
How O3 protects you
O3 Security's impact-aware SCA analyses which vulnerable code paths your application actually calls, so a match like GHSA-h5j9-cvrw-v5qh can be triaged on real exposure rather than presence alone.
Tailored to GHSA-h5j9-cvrw-v5qh. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.
Frequently Asked Questions
Is GHSA-h5j9-cvrw-v5qh in your dependencies?
O3 Security finds GHSA-h5j9-cvrw-v5qh across Go dependencies, including transitive ones, and its impact-aware SCA ranks findings by whether your code actually calls the vulnerable path.