Advisory

PYSEC-2026-570

Also known as: CVE-2016-3953, GHSA-q2rq-qgcf-m22w

Summary

web2py remote code execution via hardcoded encryption key in session.connect function

Details

The sample web application in web2py before 2.14.2 might allow remote attackers to execute arbitrary code via vectors involving use of a hardcoded encryption key when calling the session.connect function.

Severity

Critical Basis: CVSS v3 score 9.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2026-06-29 11:50 UTC
Modified
2026-07-01 20:23 UTC

Affected packages and fixes

web2py

PyPI · All systems

Affected

  • introduced 0, fixed 2.14.2 (ecosystem)

Fixed versions

2.14.2

Fix

  • Fixed version 2.14.2
    pip install --upgrade web2py==2.14.2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences