CVE-2026-79313: Pypi/web.py vulnerability

Published Sep 22, 2026
·
Updated

webpy web.py 0.76 is vulnerable to Insufficient Session Expiration. The application's session management relies on periodic cleanup to expire sessions instead of checking the last-access time when a session is loaded. As a result, an expired session whose record has not yet been cleaned up can still be replayed and used, allowing an attacker holding a previously valid session cookie to continue accessing protected resources after the configured idle timeout.

Affected Software

1 affected component
pypi/web.py=0.76

Event History

Sep 22, 2026
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·03:17 PM
Description

Frequently Asked Questions

1

What does an attacker need to exploit this issue?

An attacker needs a previously valid session cookie. They can replay it after the configured idle timeout if the corresponding session record has not yet been removed by periodic cleanup.

2

Are applications using the affected package exposed by default?

Exposure depends on the application using web.py session management and relying on its configured idle timeout to invalidate inactive sessions. The issue arises because expiration is enforced during periodic cleanup rather than when a session is loaded.

3

What can be done if patching is not immediately possible?

Reduce the window in which expired session records remain available by ensuring session cleanup runs frequently. Treat session cookies as potentially valid beyond the configured idle timeout until their server-side records have been removed.

4

How can I determine whether a session may still be usable after timing out?

Test whether a previously valid session cookie can still access protected resources after the configured idle timeout but before periodic session cleanup removes its server-side record. If it can, the application is affected by this behavior.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203