Description
webpy web.py 0.76 is vulnerable to Session Fixation. The component Session._load() reads session_id directly from the request cookie and loads that session from the store, and _save() writes back under the same session_id; no rotation after authentication, so a fixed session_id keeps the authenticated state.
Published: 2026-09-22
Score: 6.8 Medium
EPSS: n/a
KEV: No
Impact: Session hijacking via session fixation
Action: Apply Patch
AI Analysis

Impact

webpy web.py 0.76 contains a session fixation flaw: its Session._load() method reads a session identifier directly from a cookie and uses it to retrieve session data, while Session._save() writes data back under the same identifier. Because the library never rotates the session ID after a user authenticates, an attacker who can set a predetermined cookie value before login can force that ID into use. Once the victim logs in, the attacker can reuse the same session ID to impersonate the authenticated user, gaining unauthorized access to account resources and data.

Affected Systems

The flaw is known to affect webpy web.py version 0.76; other community‑maintained forks that utilize the same session handling code may also be vulnerable, but no specific older or newer releases are listed as impacted.

Risk and Exploitability

The CVSS score of 6.8 indicates moderate severity, but the lack of a session‑rotation mechanism creates a high‑risk scenario for any webpy‑based application. EPSS data are not available and the vulnerability is not listed in the CISA KEV catalog, suggesting no documented large‑scale exploitation yet. Nevertheless, the flaw can be exploited remotely by setting a malicious cookie or by having a victim visit a site that issues a fixed session ID, enabling session hijacking without requiring privileged access.

Generated by OpenCVE AI on September 22, 2026 at 18:45 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade webpy to a version that regenerates the session ID after authentication.
  • Implement application‑level logic to force a new session ID and invalidate the old one whenever a user logs in.
  • If an immediate upgrade is not possible, add a server‑side check to revoke any session ID that was set before authentication and prompt the user to start a fresh session.

Generated by OpenCVE AI on September 22, 2026 at 18:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 22 Sep 2026 19:45:00 +0000

Type Values Removed Values Added
First Time appeared Webpy
Webpy webpy
Vendors & Products Webpy
Webpy webpy

Tue, 22 Sep 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Tue, 22 Sep 2026 16:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-384
Metrics cvssV3_1

{'score': 6.8, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N'}


Tue, 22 Sep 2026 15:15:00 +0000

Type Values Removed Values Added
Description webpy web.py 0.76 is vulnerable to Session Fixation. The component Session._load() reads session_id directly from the request cookie and loads that session from the store, and _save() writes back under the same session_id; no rotation after authentication, so a fixed session_id keeps the authenticated state.
References

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-09-22T16:02:18.438Z

Reserved: 2026-08-25T00:00:00.000Z

Link: CVE-2026-79312

cve-icon Vulnrichment

Updated: 2026-09-22T16:01:08.409Z

cve-icon NVD

Status : Deferred

Published: 2026-09-22T16:17:56.630

Modified: 2026-09-22T20:00:03.713

Link: CVE-2026-79312

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-22T19:16:12Z

Weaknesses